SlideShare a Scribd company logo
Deploy microservices architecture through
containers.
6th June 2016, Software Craftsmanship SouthTyrol
Bozen
Alessandro Martellone @a_martellone
Hello!I am Alessandro Martellone
Senior Software Engineer@Wurth Phoenix.
Technical Advisor@Elastico.
Trentino Cloud Computing Meetup Organizer.
Italian Red Cross volunteer. Husband and father.
I love soccer and the 4-3-3 module.
Summary
▪ What are microservices?
▪ Benefits and challenges
▪ Deploy microservices through containers
Deploy microservices architecture through containers
Building microservices - Sam
Newman - OReilly
▪ Author: technologist at
ThoughtWorks
▪ http://samnewman.
io/books/building_microservice
s/
Software architecture evolution
Note: MSA = Micro Service Architecture
A monolithic application as an house of cards
“ Microservices are small,
autonomous services which
communicate by APIs. Each one
implements a specific business
goal.
Monolithic vs service-oriented architecture
Single Responsibility Principle
▪ A class should have one, and only one, reason to change.
▪ Gather together those things that change for the same
reason, and separate those things that change for different
reasons.
▪ http://butunclebob.com/ArticleS.UncleBob.
PrinciplesOfOod
▪ How small is small?
Key benefits
▪ Technology heterogeneity;
▪ resilience
▫ if a component fails but it does not cascade, the
problem can be isolated whereas the rest of the
system still runs;
▪ scaling;
▪ ease of deployment and updating
▫ Apply a change with a small impact;
▪ composability.
Main challenges
▪ Distributed systems
▫ harder to program and remote calls are always at
risk of failure;
▪ eventually consistency
▫ maintaining strong consistency is extremely
difficult for a distributed system;
▫ CAP Theorem;
▪ operational complexity
▫ services orchestrator;
▫ health checks;
▫ services monitoring.
From virtualization to containerization
From virtualization to containerization
▪ Containers are tools/components/blocks for
delivering software.
▪ Focused on portability, distribution and
interoperability.
▪ Whereas, VMs are focused on infrastructure
resources virtualisation.
▪ Containers as VMs provide an isolated, discrete
and separate space for applications (memory,
storage, network resources) .
▪ Unlike a VM, in a container you are not running a
complete instance or image of an operating
system, with kernels, drivers, and shared libraries.
▪ “Deploy one service per container”
The complexity must be managed
Services orchestrator
▪ Kubernetes (by Google)
▫ an open-source system for automating
deployment, scaling, and management of
containerized applications.
▫ It groups containers that make up an application
into logical units for easy management and
discovery.
▪ Kubernetes can schedule and run application containers
on clusters of physical or virtual machines.
Kubernetes key functionalities
▪ Application health checking;
▪ replicating application instances
▫ A replication controller ensures that a specified
number of pod “replicas” are running at any one
time. In other words, a replication controller makes
sure that a pod or homogeneous set of pods are
always up and available;
▪ horizontal auto-scaling;
▪ naming and discovery;
▪ load balancing;
▪ rolling updates;
▪ …...
“ … this is a journey, not a
destination. Go incrementally.
Break your system apart piece by
piece...change is inevitable.
Embrace it.
Sam Newman
Thanks!
Any questions?
You can find me at @a_martellone & a.
martellone@gmail.com

More Related Content

PDF
Liferay as a Microservice Platform
PDF
PDF
Implementing Event Sourcing in .NET
PPTX
PLAT FORM VIRTUALIZATION
PPTX
Monolith to microservices?
PDF
Architecting an ASP.NET MVC Solution
PPTX
Mobile app-and-microservices-with-ibm-cloud
PDF
Who needs containers in a serverless world
Liferay as a Microservice Platform
Implementing Event Sourcing in .NET
PLAT FORM VIRTUALIZATION
Monolith to microservices?
Architecting an ASP.NET MVC Solution
Mobile app-and-microservices-with-ibm-cloud
Who needs containers in a serverless world

Similar to Deploy microservices architecture through containers (20)

PDF
Digital Transformation with Kubernetes, Containers, and Microservices
PDF
Microservices, Kubernetes, and Application Modernization Done Right
PDF
Azure meetup cloud native concepts - may 28th 2018
PDF
Microservices and Docker at Scale: The PB&J of Modern Systems
PDF
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
PDF
Driving Digital Transformation With Containers And Kubernetes Complete Deck
PDF
Google Cloud Platform and Kubernetes
PDF
Mattia Gandolfi - Improving utilization and portability with Containers and C...
PDF
An Architectural Deep Dive With Kubernetes And Containers Powerpoint Presenta...
PDF
Who's Who in Container Land
PPTX
Docker for the Enterprise with Containers as a Service by Banjot Chanana
PDF
Introduction of Kubernetes - Trang Nguyen
PDF
modern-guide-to-container-monitoring-and-orchestration.pdf
PDF
Docker what - Frank Maounis
PPTX
Containers and VMs and Clouds: Oh My. by Mike Coleman
PPTX
Container Shangri-La Attaining the Promise of Container Paradise
PDF
Innovation with Open Sources and App Modernization for Developers | Ian Y. Choi
PPTX
containerization with example module and
PPTX
containerization1. introduction to contain
PDF
Containers, microservices and serverless for realists
Digital Transformation with Kubernetes, Containers, and Microservices
Microservices, Kubernetes, and Application Modernization Done Right
Azure meetup cloud native concepts - may 28th 2018
Microservices and Docker at Scale: The PB&J of Modern Systems
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Driving Digital Transformation With Containers And Kubernetes Complete Deck
Google Cloud Platform and Kubernetes
Mattia Gandolfi - Improving utilization and portability with Containers and C...
An Architectural Deep Dive With Kubernetes And Containers Powerpoint Presenta...
Who's Who in Container Land
Docker for the Enterprise with Containers as a Service by Banjot Chanana
Introduction of Kubernetes - Trang Nguyen
modern-guide-to-container-monitoring-and-orchestration.pdf
Docker what - Frank Maounis
Containers and VMs and Clouds: Oh My. by Mike Coleman
Container Shangri-La Attaining the Promise of Container Paradise
Innovation with Open Sources and App Modernization for Developers | Ian Y. Choi
containerization with example module and
containerization1. introduction to contain
Containers, microservices and serverless for realists
Ad

More from Alessandro Martellone (14)

PDF
Operate with an openstack deployment by code
PDF
Introduction to containers a practical session using core os and docker
PDF
OpenStack Summit - Tokio
PDF
OpenStackDay - XIFI Federation
PPTX
Openstack: starter level
PDF
OpenStack 5th birthday
PPTX
Mini cloud 2
PDF
OpenStack 5th birthday - Using OPENSTACK to Manage a Multi-Hypervisor Environ...
PDF
La Sfida Della Trovabilità - Architettura dell'informazione
PDF
Precise Content In Precise Moment
PDF
La Privacy In Sistemi Basati Sulla Personalizzazione
PDF
Un Approccio Sistematico Ed Organizzato Allo Sviluppo Del Software
PDF
L.U.N.A. Ads Sustaining Wireless Access For Mobile Users
Operate with an openstack deployment by code
Introduction to containers a practical session using core os and docker
OpenStack Summit - Tokio
OpenStackDay - XIFI Federation
Openstack: starter level
OpenStack 5th birthday
Mini cloud 2
OpenStack 5th birthday - Using OPENSTACK to Manage a Multi-Hypervisor Environ...
La Sfida Della Trovabilità - Architettura dell'informazione
Precise Content In Precise Moment
La Privacy In Sistemi Basati Sulla Personalizzazione
Un Approccio Sistematico Ed Organizzato Allo Sviluppo Del Software
L.U.N.A. Ads Sustaining Wireless Access For Mobile Users
Ad

Recently uploaded (20)

PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Encapsulation theory and applications.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
project resource management chapter-09.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Approach and Philosophy of On baking technology
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Hindi spoken digit analysis for native and non-native speakers
Agricultural_Statistics_at_a_Glance_2022_0.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Encapsulation theory and applications.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
A comparative study of natural language inference in Swahili using monolingua...
Heart disease approach using modified random forest and particle swarm optimi...
SOPHOS-XG Firewall Administrator PPT.pptx
project resource management chapter-09.pdf
Unlocking AI with Model Context Protocol (MCP)
cloud_computing_Infrastucture_as_cloud_p
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
WOOl fibre morphology and structure.pdf for textiles
A comparative analysis of optical character recognition models for extracting...
Encapsulation_ Review paper, used for researhc scholars
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
OMC Textile Division Presentation 2021.pptx
Approach and Philosophy of On baking technology
DP Operators-handbook-extract for the Mautical Institute
Accuracy of neural networks in brain wave diagnosis of schizophrenia

Deploy microservices architecture through containers

  • 1. Deploy microservices architecture through containers. 6th June 2016, Software Craftsmanship SouthTyrol Bozen Alessandro Martellone @a_martellone
  • 2. Hello!I am Alessandro Martellone Senior Software Engineer@Wurth Phoenix. Technical Advisor@Elastico. Trentino Cloud Computing Meetup Organizer. Italian Red Cross volunteer. Husband and father. I love soccer and the 4-3-3 module.
  • 3. Summary ▪ What are microservices? ▪ Benefits and challenges ▪ Deploy microservices through containers
  • 5. Building microservices - Sam Newman - OReilly ▪ Author: technologist at ThoughtWorks ▪ http://samnewman. io/books/building_microservice s/
  • 6. Software architecture evolution Note: MSA = Micro Service Architecture
  • 7. A monolithic application as an house of cards
  • 8. “ Microservices are small, autonomous services which communicate by APIs. Each one implements a specific business goal.
  • 10. Single Responsibility Principle ▪ A class should have one, and only one, reason to change. ▪ Gather together those things that change for the same reason, and separate those things that change for different reasons. ▪ http://butunclebob.com/ArticleS.UncleBob. PrinciplesOfOod ▪ How small is small?
  • 11. Key benefits ▪ Technology heterogeneity; ▪ resilience ▫ if a component fails but it does not cascade, the problem can be isolated whereas the rest of the system still runs; ▪ scaling; ▪ ease of deployment and updating ▫ Apply a change with a small impact; ▪ composability.
  • 12. Main challenges ▪ Distributed systems ▫ harder to program and remote calls are always at risk of failure; ▪ eventually consistency ▫ maintaining strong consistency is extremely difficult for a distributed system; ▫ CAP Theorem; ▪ operational complexity ▫ services orchestrator; ▫ health checks; ▫ services monitoring.
  • 13. From virtualization to containerization
  • 14. From virtualization to containerization ▪ Containers are tools/components/blocks for delivering software. ▪ Focused on portability, distribution and interoperability. ▪ Whereas, VMs are focused on infrastructure resources virtualisation. ▪ Containers as VMs provide an isolated, discrete and separate space for applications (memory, storage, network resources) . ▪ Unlike a VM, in a container you are not running a complete instance or image of an operating system, with kernels, drivers, and shared libraries. ▪ “Deploy one service per container”
  • 15. The complexity must be managed
  • 16. Services orchestrator ▪ Kubernetes (by Google) ▫ an open-source system for automating deployment, scaling, and management of containerized applications. ▫ It groups containers that make up an application into logical units for easy management and discovery. ▪ Kubernetes can schedule and run application containers on clusters of physical or virtual machines.
  • 17. Kubernetes key functionalities ▪ Application health checking; ▪ replicating application instances ▫ A replication controller ensures that a specified number of pod “replicas” are running at any one time. In other words, a replication controller makes sure that a pod or homogeneous set of pods are always up and available; ▪ horizontal auto-scaling; ▪ naming and discovery; ▪ load balancing; ▪ rolling updates; ▪ …...
  • 18. “ … this is a journey, not a destination. Go incrementally. Break your system apart piece by piece...change is inevitable. Embrace it. Sam Newman
  • 19. Thanks! Any questions? You can find me at @a_martellone & a. martellone@gmail.com