SlideShare a Scribd company logo
Microservices, Containers, and Beyond
Senior Director Cloud Architecture, WSO2
@lakwarus
Lakmal Warusawithana
Microservice Architecture
Image source : https://martinfowler.com/articles/microservices.html
Microservice Characteristics
Componentization as a Service
● One main reason for using services as components (rather
than libraries) is that services are independently
deployable
Organized Around Business Capabilities
● Segregating capabilities for specific business areas like
user interface and external integrations
Smart Endpoints and Dumb Pipes
● Each microservice is as decoupled as possible with its own
domain logic
Microservice Characteristics
Image source : https://martinfowler.com/articles/microservices.html
Microservice Characteristics
● Not influencing any
programing languages,
data types etc
● Use whatever works for
you
● But in practice, using a
cloud native programing
language is more
productive
Microservice Characteristics
“Micro” in microservice isn’t
about the no. of lines of code
● The problem should be
small enough to be handled
by a team
● Team should be fitting into
two pizzas
● No tool can help find the
right scope
Lessons learnt from SOA
● Don’t do it because
everyone else is doing
● Look for a real use case
Use the correct strategies to
move monolithic to
microservice
Mindful
Mindful
Need to have a proper balance
● Don’t over complicate
● Agility and repeatability is
the key
● Choose the correct tools
and framework whenever
possible
Microservice Challengers
We are building a distributed system
● Complex service discovery
● Network resiliency
● Failover and load balancing
● Global testing
● Global monitoring
○ Global tracing
○ Global logging
● Governance and policy enforcement
● Patching, updates and new versions rolling out
Technologies that help
Microservice
Architecture
Containers (Docker)
Provide isolation, but more
controllability and repeatability
Universal packaging model with
dependencies and configurations
Containers:
● Lightweight
● Fast Boot Up
● Immutable
Single process in single container
Reality
However in many cases, a single
container is not enough to run an
application
Kubernetes
Image Source: https://github.com/mrbobbytables/diagrams/blob/master/Kubernetes/Architecture_Simple_Large.png
Small group of containers and
volume
Tightly coupled
● The atom of replication
and placement
Logical host for containers
● Echo pod get an IP address
● Share data: localhost,
volume, IPC, etc.
K8S POD
Group of pods that work
together
DNS name
Load balanced: name map to
a stable virtual IP
Decoupled from Pods and
Replication controllers
K8S Service
Deployment Strategies
for
Continuous Delivery
Blue / Green
Image source: https://www.gocd.org/2017/07/25/blue-green-deployments.html
Canary
Image source : https://www.gocd.org/2017/08/15/canary-releases/
Traffic Shadowing
Service Mesh
Image source : http://philcalcado.com/2017/08/03/pattern_service_mesh.html
Is mesh a Distributed ESB?
Trying to solve
● Governance and Policy
enforcement
● Network resiliency
● Service discovery
● Version control
● Deployment and update
orchestration
Sidecar Proxy
Run adjacent to the main
service
● Running in the same Pod
● But as separate container
Capable of handling
● Ingress
● Egress
● Service discovery
● Circuit breaker
● Failover, load balancing
Sidecar Proxy
Image source: http://philcalcado.com/2017/08/03/pattern_service_mesh.html
Istio
Image source: https://istio.io/docs/concepts/what-is-istio/
Microservices, Containers, and Beyond
Serverless
What is Serverless?
● No need to have servers to
run our apps
Where are our apps running?
Serverless
There are still servers
(containers)
● But, they are not running
always
● You don’t manage them
anymore
Because of that
● No need to optimize them
● No need to worry about HA
and scaling
Serverless vendors and technologies
● Amazon Lamba
● Azure Function
● Google Function
● IMB Functions
● Serverles.com
● Openwiks
● Kubeless
● Knative
Knative
Image Source: https://github.com/knative/docs
Demo: Knative - zero
to N scaling
THANK YOU
wso2.com

More Related Content

PDF
MesosCon 2016 - minimesos, the experimentation and testing tool for Apache Mesos
PPTX
Distributed Storage in the Cloud
PDF
Building Reactive Applications With Node.Js And Red Hat JBoss Data Grid (Gald...
PPTX
CloudNativeLondon 2017: "What is a Service Mesh, and Do I Need One when Devel...
PDF
The Evolution of Distributed Systems on Kubernetes
PPTX
OpenShift Meetup - Red Hat OpenShift Container Storage explained
PDF
stackconf 2021 | Prometheus in 2021 and beyond
PPTX
Building Cloud Native Applications Using Azure Kubernetes Service
MesosCon 2016 - minimesos, the experimentation and testing tool for Apache Mesos
Distributed Storage in the Cloud
Building Reactive Applications With Node.Js And Red Hat JBoss Data Grid (Gald...
CloudNativeLondon 2017: "What is a Service Mesh, and Do I Need One when Devel...
The Evolution of Distributed Systems on Kubernetes
OpenShift Meetup - Red Hat OpenShift Container Storage explained
stackconf 2021 | Prometheus in 2021 and beyond
Building Cloud Native Applications Using Azure Kubernetes Service

What's hot (19)

PDF
K8s vs Cloud Foundry
PDF
Resume internship3 updated
PDF
All roads lead to the cloud
PDF
App Security with Keycloak and Quarkus
PDF
OpenFest 2016 - Open Microservice Architecture
PDF
What next after microservices
PPTX
Kubernetes + netflix oss
PPTX
Zero-downtime deployment with Kubernetes [Meetup #21 - 01]
PPTX
Bare Metal Cluster with Kubernetes, Istio and Metallb | Nguyen Phuong An, Ngu...
PDF
Modernization patterns to refactor a legacy application into event driven mic...
PDF
Managing add-ons across clusters
ODP
Istio
PDF
Safer Commutes & Streaming Data | George Padavick, Ohio Department of Transpo...
PDF
Cloud Native & Docker
PPTX
Cloud Native & Docker
PDF
Stream Processing with Kafka and KSQL in Jupiter | Namit Mahuvakar, Jupiter
PDF
Operator development made easy with helm
PDF
Offline-First Mobile Web Apps with PouchDB, IBM Cloudant, and IBM Bluemix
 
PPTX
Bring N-Tier Apps to containers 2015 ContainerCon
K8s vs Cloud Foundry
Resume internship3 updated
All roads lead to the cloud
App Security with Keycloak and Quarkus
OpenFest 2016 - Open Microservice Architecture
What next after microservices
Kubernetes + netflix oss
Zero-downtime deployment with Kubernetes [Meetup #21 - 01]
Bare Metal Cluster with Kubernetes, Istio and Metallb | Nguyen Phuong An, Ngu...
Modernization patterns to refactor a legacy application into event driven mic...
Managing add-ons across clusters
Istio
Safer Commutes & Streaming Data | George Padavick, Ohio Department of Transpo...
Cloud Native & Docker
Cloud Native & Docker
Stream Processing with Kafka and KSQL in Jupiter | Namit Mahuvakar, Jupiter
Operator development made easy with helm
Offline-First Mobile Web Apps with PouchDB, IBM Cloudant, and IBM Bluemix
 
Bring N-Tier Apps to containers 2015 ContainerCon
Ad

Similar to Microservices, Containers, and Beyond (20)

PDF
56K.cloud Docker Training
PDF
Service Mesh and Serverless Chatbots with Linkerd, K8s and OpenFaaS
PDF
HPC Cloud Burst Using Docker
PDF
.NET Cloud-Native Bootcamp- Los Angeles
PDF
Cloud-Native: A New Ecosystem for Putting Containers into Production
PPTX
Going MicroServices with Net
PPSX
Microservices Architecture, Monolith Migration Patterns
PDF
[WSO2Con Asia 2018] Architecting for Container-native Environments
PPTX
Kubernetes is all you need
PDF
HBaseCon2017 Splice Machine as a Service: Multi-tenant HBase using DCOS (Meso...
PDF
Introduction to Apache Mesos and DC/OS
PDF
Docker Application to Scientific Computing
PPSX
Microservices Docker Kubernetes Istio Kanban DevOps SRE
PDF
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
PDF
[WSO2 Summit Americas 2020] Creating Smart Endpoints Using Integration Micros...
PDF
Crossing the river by feeling the stones from legacy to cloud native applica...
PDF
API Microservices with Node.js and Docker
PDF
Developing Hybrid Cloud Applications
PDF
Accelerate Digital Transformation with IBM Cloud Private
PDF
DevOps and BigData Analytics
56K.cloud Docker Training
Service Mesh and Serverless Chatbots with Linkerd, K8s and OpenFaaS
HPC Cloud Burst Using Docker
.NET Cloud-Native Bootcamp- Los Angeles
Cloud-Native: A New Ecosystem for Putting Containers into Production
Going MicroServices with Net
Microservices Architecture, Monolith Migration Patterns
[WSO2Con Asia 2018] Architecting for Container-native Environments
Kubernetes is all you need
HBaseCon2017 Splice Machine as a Service: Multi-tenant HBase using DCOS (Meso...
Introduction to Apache Mesos and DC/OS
Docker Application to Scientific Computing
Microservices Docker Kubernetes Istio Kanban DevOps SRE
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
[WSO2 Summit Americas 2020] Creating Smart Endpoints Using Integration Micros...
Crossing the river by feeling the stones from legacy to cloud native applica...
API Microservices with Node.js and Docker
Developing Hybrid Cloud Applications
Accelerate Digital Transformation with IBM Cloud Private
DevOps and BigData Analytics
Ad

More from Lakmal Warusawithana (20)

PDF
[Lakmal] Automate Microservice to API
PDF
Api Management with Service Mesh
PDF
Container Native Architecture
PDF
Future of Cloud Computing with Containers
PDF
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
PDF
DevOps & cloud : Lessons & Stories
PDF
Unleashing k8 s to reduce complexities of an entire middleware platform
PDF
WSO2 Virtual Hackathon Big Data in the Cloud Case Study
PDF
Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
PDF
Deploy in scale with Docker, CoreOS, Kubernetes and Apache Stratos
PDF
Deep dive into Apache Stratos & Private PaaS WSO2Con EU 2015
PDF
Introduction to docker
PDF
PaaS: An Introduction
PDF
How to deploy your own private cloud with openstack
PDF
Building a Paa s with CloudStack and Apache Stratos
PDF
Apache stratos roadmap and strategy
PDF
Wso2 con 2014-us-talk-deep dive into apache stratos & private paas
PDF
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
PDF
Containerizing the cloud with docker
PDF
Building a dev ops paas with puppet, docker, openstack and apache stratos
[Lakmal] Automate Microservice to API
Api Management with Service Mesh
Container Native Architecture
Future of Cloud Computing with Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
DevOps & cloud : Lessons & Stories
Unleashing k8 s to reduce complexities of an entire middleware platform
WSO2 Virtual Hackathon Big Data in the Cloud Case Study
Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Deploy in scale with Docker, CoreOS, Kubernetes and Apache Stratos
Deep dive into Apache Stratos & Private PaaS WSO2Con EU 2015
Introduction to docker
PaaS: An Introduction
How to deploy your own private cloud with openstack
Building a Paa s with CloudStack and Apache Stratos
Apache stratos roadmap and strategy
Wso2 con 2014-us-talk-deep dive into apache stratos & private paas
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Containerizing the cloud with docker
Building a dev ops paas with puppet, docker, openstack and apache stratos

Recently uploaded (20)

PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Digital Strategies for Manufacturing Companies
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
history of c programming in notes for students .pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Transform Your Business with a Software ERP System
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
L1 - Introduction to python Backend.pptx
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Softaken Excel to vCard Converter Software.pdf
Understanding Forklifts - TECH EHS Solution
Operating system designcfffgfgggggggvggggggggg
Digital Strategies for Manufacturing Companies
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Design an Analysis of Algorithms II-SECS-1021-03
How Creative Agencies Leverage Project Management Software.pdf
history of c programming in notes for students .pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
Transform Your Business with a Software ERP System
Odoo POS Development Services by CandidRoot Solutions
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
wealthsignaloriginal-com-DS-text-... (1).pdf
How to Choose the Right IT Partner for Your Business in Malaysia
L1 - Introduction to python Backend.pptx
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...

Microservices, Containers, and Beyond