SlideShare une entreprise Scribd logo
1  sur  27
Prasad Rao
prrao@AviNetworks.com
Migration from Legacy to Microservices on Containers
- Load Balancer / Application Delivery Controller
Agenda
Application Evolution – Legacy to Microservices
Application Delivery Controller - Evolution
Example – photo.com
Microservices
Service Discovery
Load Balancing
Elastic Load Balancing
Application Evolution – from Monolith to Microservices
Rapid Move to Distributed Application Architectures
Users
Discover
Scale Monitor
Secure
Web Application
Order Mgmt
Customer
Service
Product Order Customer
UI Storefront
Catalog
Service
Catalog UI Checkout UI
Order Mgmt
UI
Account
Mgmt UI
Catalog
Service
Review
Service
Login Service
Order
Service
Customer
Service
Web App UI
Users
Firewall DNS/IPAM
Load
Balancer
NPM/
APM
App
Architecture
Evolution
Microservices
Containers
Discover
Scale Monitor
Secure
Discover
Scale Monitor
Secure
East-West
Services
North-South
Traffic
“Loosely coupled service oriented
architecture with bounded contexts”
– Adrian Cockcroft
Internet
Load Balancer / Application Delivery Controller (ADC) – Legacy
Clients Load Balancers
http://photos.com
DNS A-record
12.168.59.48
12.168.59.48:80
Application Servers
10.10.37.21:80
10.10.37.24:80
10.10.45.101:111
10.10.45.102:111
10.10.45.103:111
10.10.37.22:80
10.10.37.23:80
PUBLIC CLOUD
PRIVATE CLOUD
(VMware, OpenStack…)
SDN
(Cisco ACI/...)
RESTAPI
Appliance
SoftwareController
Management
• Scalable Network Services
Separated control and data plane
• Centralized Management
Manage a single fabric, not many devices
• Visibility & Analytics
Actionable insights key to automation
• Hybrid Cloud
Single solution, any environment
Application Delivery (ADC) Evolution – Appliance to Distributed
Distributed Architecture with Central Control
ContainerBare Metal Virtualized Public Cloud
Service Engine
Data Plane
VM
VM
VM
VM VM
SoftwareService Engine
Data Plane
Software
• Controller Integration with Mesos/Docker
• Add Service Engine (Service Proxies) to ALL nodes
• Controller Integration with Marathon/UCP
• When a new application is added, automatically create
a proxy service on all Mesos nodes
• Automated, non-disruptive configuration updates
• Apply load balancing, auto-scaling, monitoring and
security policies from central controller
• Ongoing/Run-Time
• Add/remove SEs to/from Mesos/Docker nodes
• Auto-scale application instances using Marathon/UCP
LB – Container Clustering Integration
Fully Automated, Policy –Driven Deployment of Apps / Services
Marathon
Mesosphere
Mesos Nodes
Universal Control Plane
Photo.com
Checkout
Black List
Catalog
Marketing
Shopping Cart
Example Application – photo.com - Microservices
Photo.com
Checkout
Black List
Catalog
Marketing
Shopping Cart
Example Application – Microservice instances
24 Core
256 GB Ram
4TB HD
24 Core
256 GB Ram
4TB HD
24 Core
256 GB Ram
4TB HD
24 Core
256 GB Ram
4TB HD
24 Core
256 GB Ram
4TB HD
24 Core
256 GB Ram
4TB HD
UCP Nodes
Universal Control Plane
UCP Controller and Nodes
Photo.com ..
{ .YML }
Universal Control Plane
Photo.com ..
{ .YML }
Black List …..
Universal Control Plane
Photo.com ..
{ .YML}
Black List …..
Catalog ….....
Universal Control Plane
Photo.com ..
{ .YML}
Black List …..
Catalog ….....
Checkout …..
Universal Control Plane
Photo.com ..
{ .YML}
Black List …..
Catalog ….....
Checkout …..
Marketing ….......
Universal Control Plane
Photo.com ..
{ .YML}
Black List …..
Catalog ….....
Checkout …..
Marketing ….......
Shopping Cart …..
Universal Control Plane
Photo.com
Checkout
Black List
Catalog
Marketing
Shopping Cart
10.10.10.1:34519
10.10.10.2:38911
10.10.10.2:30132
10.10.10.2:43498
10.10.10.3:56721
10.10.10.5:35097
10.10.10.5:37002
10.10.10.6:57250
10.10.10.6:42703
10.10.10.1:37520
10.10.10.2:32941
10.10.10.2:39942
10.10.10.2:41498
10.10.10.3:59921
10.10.10.5:34097
10.10.10.5:30002
10.10.10.6:50250
10.10.10.6:41703
10.10.10.1:38110
10.10.10.2:31521
10.10.10.2:30942
10.10.10.2:42498
10.10.10.3:58921
10.10.10.4:39097
10.10.10.4:32002
10.10.10.6:51250
10.10.10.6:48703
10.10.10.1:58921
10.10.10.1:39097
10.10.10.2:32002
10.10.10.5:51250
10.10.10.6:48703
10.10.10.2:41498
10.10.10.3:59921
10.10.10.4:34097
10.10.10.4:30002
10.10.10.6:50250
10.10.10.6:41703
10.10.10.1:41110
10.10.10.1:56521
10.10.10.1:40942
10.10.10.2:42498
10.10.10.2:58921
10.10.10.2:39097
10.10.10.4:32002
10.10.10.4:51250
10.10.10.6:48703
Photo.com ..
Black List …..
Catalog ….....
Marketing ….......
Shopping Cart …..
Checkout …..Universal Control Plane
Service Engine
Application Delivery Controller Deployment
App-Evolution -> UCP -> ADC-Evolution -> UCP+ADC -> Example -> u-Svcs -> Svc-Discovery -> LB -> ELB
Photo.com
Checkout
Black List
Catalog
Marketing
Shopping Cart
10.10.10.1:34519
10.10.10.2:38911
10.10.10.2:30132
10.10.10.2:43498
10.10.10.3:56721
10.10.10.5:35097
10.10.10.5:37002
10.10.10.6:57250
10.10.10.6:42703
10.10.10.1:37520
10.10.10.2:32941
10.10.10.2:39942
10.10.10.2:41498
10.10.10.3:59921
10.10.10.5:34097
10.10.10.5:30002
10.10.10.6:50250
10.10.10.6:41703
10.10.10.1:38110
10.10.10.2:31521
10.10.10.2:30942
10.10.10.2:42498
10.10.10.3:58921
10.10.10.4:39097
10.10.10.4:32002
10.10.10.6:51250
10.10.10.6:48703
10.10.10.1:58921
10.10.10.1:39097
10.10.10.2:32002
10.10.10.5:51250
10.10.10.6:48703
10.10.10.2:41498
10.10.10.3:59921
10.10.10.4:34097
10.10.10.4:30002
10.10.10.6:50250
10.10.10.6:41703
10.10.10.1:41110
10.10.10.1:56521
10.10.10.1:40942
10.10.10.2:42498
10.10.10.2:58921
10.10.10.2:39097
10.10.10.4:32002
10.10.10.4:51250
10.10.10.6:48703
VIP 172.16.0.1:10001 (Internal)
VIP 172.16.0.1:10005 (Internal)
VIP 172.16.0.1:10004 (Internal)
VIP 172.16.0.1:10002 (Internal)
VIP 172.16.0.1:10003 (Internal)
VIP 12.168.59.48:80 (Public)
Photo.com ..
Black List …..
Catalog ….....
Marketing ….......
Shopping Cart …..
Corp DNS
Checkout …..
What port is
checkout.avi.xyz.com?
Universal Control Plane
Service Engine
Service Discovery
Photo.com ..
Black List …..
Catalog ….....
Marketing ….......
Shopping Cart …..
Corp DNS
Checkout …..
ADC Controller is
authoritative for
avi.xyz.com
Universal Control Plane
Service Engine
Photo.com ..
Black List …..
Catalog ….....
Marketing ….......
Shopping Cart …..
172.16.0.1:10001
Corp DNS
Checkout …..
What port is
checkout.avi.xyz.com?
Universal Control Plane
Service Engine
Photo.com ..
Black List …..
Catalog ….....
Marketing ….......
Shopping Cart …..
172.16.0.1:10001
Corp DNS
Checkout …..
checkout.avi.xyz.com
is
172.16.0.1:10001
Universal Control Plane
Service Engine
Photo.com ..
Black List …..
Catalog ….....
Checkout …..
Marketing ….......
Shopping Cart …..
Service EngineUniversal Control Plane
Load Balancing
Photo.com ..
Black List …..
Catalog ….....
Checkout …..
Marketing ….......
Shopping Cart …..
10.10.10.2:41498
10.10.10.3:59921
10.10.10.3:34097
10.10.10.4:30002
10.10.10.5:50250
10.10.10.6:41703
Virtual Service
172.16.0.1:10001
Universal Control Plane
Service Engine
Load Balancing
Checkout
Photo.com ..
Black List …..
Catalog ….....
Checkout …..
Marketing ….......
Shopping Cart …..
10.10.10.2:41498
10.10.10.3:59921
10.10.10.3:34097
10.10.10.4:30002
10.10.10.5:50250
10.10.10.6:41703
Virtual Service
172.16.0.1:10001
10.10.10.1:57878
10.10.10.3:41173
10.10.10.4:34097
10.10.10.4:41882
10.10.10.4:31126
10.10.10.5:41703
Virtual Service
172.16.0.1:10001
Universal Control Plane
Service Engine
Elastic Load Balancing – Configuration Update
Checkout
Cloud
Key takeaways – To Scalability
Web Application
Order Mgmt
Customer
Service
Product Order Customer
UI Storefront
Catalog
Service
Catalog UI Checkout UI
Order Mgmt
UI
Account
Mgmt UI
Catalog
Service
Review
Service
Login Service
Order
Service
Customer
Service
Web App UI
Move Application to Cloud
Rearchitect Application to
use Micro-Services
Scale each Micro-Service on
demand
Use a scalable load-balancerPhoto.com
Checkout
Catalog
Marketing
ShoppingCart
Prasad Rao
prrao@AviNetworks.com
Thank You!
Avi Networks (India) Pvt Ltd.
JB House, 110, 4th Cross,
5th Block, Koramangala Industrial Layout,
Bangalore 560 095, Karnataka.

Contenu connexe

Similaire à Migration from Legacy to Microservices on Containers

ALCS_AID v4.0, 2016-03-18
ALCS_AID v4.0, 2016-03-18ALCS_AID v4.0, 2016-03-18
ALCS_AID v4.0, 2016-03-18
lakshmanan m
 
Future of the Global Truck Industry 2010-2020
Future of the Global Truck Industry 2010-2020Future of the Global Truck Industry 2010-2020
Future of the Global Truck Industry 2010-2020
Sandeep Kar
 

Similaire à Migration from Legacy to Microservices on Containers (20)

Citi Tech Talk: Data Governance for streaming and real time data
Citi Tech Talk: Data Governance for streaming and real time dataCiti Tech Talk: Data Governance for streaming and real time data
Citi Tech Talk: Data Governance for streaming and real time data
 
ST-AUT_Guidelines_VI3e.pdf
ST-AUT_Guidelines_VI3e.pdfST-AUT_Guidelines_VI3e.pdf
ST-AUT_Guidelines_VI3e.pdf
 
ALCS_AID v4.0, 2016-03-18
ALCS_AID v4.0, 2016-03-18ALCS_AID v4.0, 2016-03-18
ALCS_AID v4.0, 2016-03-18
 
Autonomous cargo transporter report
Autonomous cargo transporter reportAutonomous cargo transporter report
Autonomous cargo transporter report
 
Square photo update new
Square photo update newSquare photo update new
Square photo update new
 
Shift left Observability
Shift left ObservabilityShift left Observability
Shift left Observability
 
Automotive Embedded Systems Handbook
Automotive Embedded Systems HandbookAutomotive Embedded Systems Handbook
Automotive Embedded Systems Handbook
 
User-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart DrivingUser-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart Driving
 
6 prediccion velocidad cr2c - 99171
6   prediccion velocidad cr2c - 991716   prediccion velocidad cr2c - 99171
6 prediccion velocidad cr2c - 99171
 
Future of the Global Truck Industry 2010-2020
Future of the Global Truck Industry 2010-2020Future of the Global Truck Industry 2010-2020
Future of the Global Truck Industry 2010-2020
 
Mobile Analytics mit Elasticsearch und Kibana
Mobile Analytics mit Elasticsearch und KibanaMobile Analytics mit Elasticsearch und Kibana
Mobile Analytics mit Elasticsearch und Kibana
 
Capacity Management for system z license charge reporting
Capacity Management for system z  license charge reportingCapacity Management for system z  license charge reporting
Capacity Management for system z license charge reporting
 
AWS Pentesting
AWS PentestingAWS Pentesting
AWS Pentesting
 
What's Missing? Microservices Meetup at Cisco
What's Missing? Microservices Meetup at CiscoWhat's Missing? Microservices Meetup at Cisco
What's Missing? Microservices Meetup at Cisco
 
Miercom Security Effectiveness Test Report
Miercom Security Effectiveness Test Report Miercom Security Effectiveness Test Report
Miercom Security Effectiveness Test Report
 
Solutions Dept. Presentation
Solutions Dept. PresentationSolutions Dept. Presentation
Solutions Dept. Presentation
 
2008-10-09 - Bits and Chips Conference - Embedded Systemen Architecture patterns
2008-10-09 - Bits and Chips Conference - Embedded Systemen Architecture patterns2008-10-09 - Bits and Chips Conference - Embedded Systemen Architecture patterns
2008-10-09 - Bits and Chips Conference - Embedded Systemen Architecture patterns
 
Comparative analysis of it monitoring tools october2015 final
Comparative analysis of it monitoring tools october2015 finalComparative analysis of it monitoring tools october2015 final
Comparative analysis of it monitoring tools october2015 final
 
Oracle apps-system-admin
Oracle apps-system-adminOracle apps-system-admin
Oracle apps-system-admin
 
Full accesspolicyconsolidation for event processing systems
Full accesspolicyconsolidation for event processing systemsFull accesspolicyconsolidation for event processing systems
Full accesspolicyconsolidation for event processing systems
 

Dernier

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 

Dernier (20)

Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 

Migration from Legacy to Microservices on Containers

Notes de l'éditeur

  1. Show of hands – how many of you know what’s a load balancer, firewall, IPAM, NPM/APM?
  2. Show of hands – how many of you know what’s a load balancer, firewall, IPAM, NPM/APM?
  3. You transition your monolithic app and embrace a micro service architecture.
  4. But how do all these containers discover and talk to each other?
  5. An orchestrator and scheduler is needed to help microservices scale, such as Mesos and Marathon.
  6. Your developers deploy microservices directly to Marathon. Mesos decides where resources are available for your containers. Avi specific Labels embedded in the YML file of the applications – COM.AVINETWORKS.AVI_PROXY {“virtualservice”:”ip_address”:{“type”:”v4”, “addr”:”x.x.x.x”}, “analytics_policy”:{“client_insights”: “NO_INSIGHTS”,
  7. Containers spin up with a random port so how do your microservices talk to each other?
  8. Containers spin up with a random port so how do your microservices talk to each other?
  9. Avi Controller listens to Mesos and Marathon’s messaging bus, so when new containers are deployed, Avi Controller learns which containers belong to which microservice and also which port each container is listening on.
  10. When the photo.com app wants to talk to the checkout app, it connects to the VS on the Avi SE on the same node, and it load balances the traffic to the appropriate checkout containers in the cluster. Photo.com learns of the VS address from Avi’s service discovery.
  11. When containers move around and spin up on new ports, backend pool mapping is updated automatically.
  12. Unbox your application from appliance to Cloud Rearchitect to make use of micro-services So each service can scale up/down on need basis Use service-discovery along with a good load-balancer to distribute traffic across micro-services