SlideShare a Scribd company logo
1 of 24
CONDUCT YOUR
MICROSERVICES
On the path to cloud-native applications
Sylvain Hellegouarch
@lawouach
Before you had one big app
Sylvain Hellegouarch
@lawouach
Now, you have a zillion of smaller
services
Sylvain Hellegouarch
@lawouach
Why so many of them?
The big app had hidden links and
dependencies.
These Functions still exist but their
relationships are now public.
➢Who becomes reponsible for those?
Sylvain Hellegouarch
@lawouach
Be careful about projecting complexity
Sylvain Hellegouarch
@lawouach
Going forward…
Standardize
Automate
Isolate
Orchestrate
Monitor
Adapt
Sylvain Hellegouarch
@lawouach
Helping the ops!
Sysadmins cannot be expected to
support thousands of dynamic services
the old fashion way
We need a tool to orchestrate all of
those pieces together.
Sylvain Hellegouarch
@lawouach
Orchestration
Microservices lifecycle and relationships
conductor
Orchestration brings (some) order to the
microservices chaos
➢ Docker Swarm
➢ Apache Mesos/Marathon
➢ Google Kubernetes
➢ CoreOS Fleet
➢ Cloud Foundry Diego
Sylvain Hellegouarch
@lawouach
Mesos
Cluster resources sharing
Advertizes resources to high-
level schedulers and executors
Isolates executed tasks into
mesos or docker containers
Sylvain Hellegouarch
@lawouach
Mesos (misc)
Master/slave architecture
Infrastructure neutral
Docker Swarm and Kubernetes can benefit from Mesos
MesosDNS for discovery (though you can use Consul,
WeaveDNS too)
Proven: used in production at airbnb, Apple, netflix,
Mesosphere…
Open Source (Apache 2.0 license)
Sylvain Hellegouarch
@lawouach
Marathon: a Mesos framework
Schedules your microservices
based on needed vs available
resources (offered by Mesos)
Executes microservices and
manages their lifecycle
Sylvain Hellegouarch
@lawouach
High level HTTP REST API
Sylvain Hellegouarch
@lawouach
Marathon: Specification
Sylvain Hellegouarch
@lawouach
Marathon: Resources
How much do you need?
➢ Match Marathon’s agent role set at
startup
Sylvain Hellegouarch
@lawouach
How should it be deployed?
➢ Match Mesos slave attributes
➢ UNIQUE, GROUP BY, CLUSTER,
LIKE, UNLIKE…
Marathon: Constraints
Sylvain Hellegouarch
@lawouach
What is the upgrade/rollback
strategy?
➢ Ensures service continuity
Marathon: Upgrade
Sylvain Hellegouarch
@lawouach
Input for redundancy/failure
scenarios
➢Ensures service availability
Marathon: Health-check
Sylvain Hellegouarch
@lawouach
Relationships to other
services
➢ Manages relationships
Marathon: Dependencies
Sylvain Hellegouarch
@lawouach
Marathon: Application definition
Sylvain Hellegouarch
@lawouach
Marathon: More…
Application groups supported
Deployment events feedack
Straight documentation
Sylvain Hellegouarch
@lawouach
Marathon: Challenges
No command line, less natural for scripting
Can Marathon cope with the speed of changes
brought on Docker itself?
Not a simple debugging experience
AFAIK, docker containers are never removed
automatically
Might be too generic for your use case
Sylvain Hellegouarch
@lawouach
Marathon: Getting started?
Design your system so that it copes with interruptions
Define your deployment workflows carefully: install,
upgrade, rollback, failover...
Use a service discovery (weave, consul, etcd,
MesosDNS)
Consider using an overlay network to decouple your
network from the infrastructure (weave, VXLAN)
Sylvain Hellegouarch
@lawouach
What’s next?
Explore but be patient!
Build familiarity to gain trust and
confidence
Sylvain Hellegouarch
@lawouach
Thank you!
Questions?
sylvain.hellegouarch@simplicityitself.com
Sylvain Hellegouarch
@lawouach

More Related Content

What's hot

What's hot (11)

Cloud Native: Designing Change-tolerant Software
Cloud Native: Designing Change-tolerant SoftwareCloud Native: Designing Change-tolerant Software
Cloud Native: Designing Change-tolerant Software
 
You Build It, But How Are You Going to Run It?
You Build It, But How Are You Going to Run It? You Build It, But How Are You Going to Run It?
You Build It, But How Are You Going to Run It?
 
The Four Principles of Atlassian Performance Tuning
The Four Principles of Atlassian Performance TuningThe Four Principles of Atlassian Performance Tuning
The Four Principles of Atlassian Performance Tuning
 
CI/CD As first and last line of defence
CI/CD As first and last line of defenceCI/CD As first and last line of defence
CI/CD As first and last line of defence
 
Succeeding with DevOps Transformation - Rafal Gancarz
Succeeding with DevOps Transformation - Rafal GancarzSucceeding with DevOps Transformation - Rafal Gancarz
Succeeding with DevOps Transformation - Rafal Gancarz
 
3 Tips to Deliver Fast Performance Across Mobile Web
3 Tips to Deliver Fast Performance Across Mobile Web3 Tips to Deliver Fast Performance Across Mobile Web
3 Tips to Deliver Fast Performance Across Mobile Web
 
Cloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a CacheCloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a Cache
 
Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014
Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014
Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014
 
SOASTA mPulse update webinar
SOASTA mPulse update webinarSOASTA mPulse update webinar
SOASTA mPulse update webinar
 
The DevOps First Amendment
The DevOps First AmendmentThe DevOps First Amendment
The DevOps First Amendment
 
AWS and Dynatrace: Moving your Cloud Strategy to the Next Level
AWS and Dynatrace: Moving your Cloud Strategy to the Next LevelAWS and Dynatrace: Moving your Cloud Strategy to the Next Level
AWS and Dynatrace: Moving your Cloud Strategy to the Next Level
 

Similar to muCon2015 - Conduct your microservices with Mesos and Marathon

Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)
Rick Hightower
 
Optimizing the Ops in DevOps
Optimizing the Ops in DevOpsOptimizing the Ops in DevOps
Optimizing the Ops in DevOps
Gordon Haff
 

Similar to muCon2015 - Conduct your microservices with Mesos and Marathon (20)

Why Release Automation Matters
Why Release Automation MattersWhy Release Automation Matters
Why Release Automation Matters
 
Jelastic - DevOps for Java with Docker Containers - Madrid 2015
Jelastic - DevOps for Java with Docker Containers - Madrid 2015Jelastic - DevOps for Java with Docker Containers - Madrid 2015
Jelastic - DevOps for Java with Docker Containers - Madrid 2015
 
Agility and Control from AWS [FutureStack16]
Agility and Control from AWS [FutureStack16]Agility and Control from AWS [FutureStack16]
Agility and Control from AWS [FutureStack16]
 
Dev ops concept
Dev ops conceptDev ops concept
Dev ops concept
 
How to Avoid Cloud Confusion, DevOps dilemma, Microservice Madness
How to Avoid Cloud Confusion, DevOps dilemma, Microservice MadnessHow to Avoid Cloud Confusion, DevOps dilemma, Microservice Madness
How to Avoid Cloud Confusion, DevOps dilemma, Microservice Madness
 
Developing reliable applications with .net core and AKS
Developing reliable applications with .net core and AKSDeveloping reliable applications with .net core and AKS
Developing reliable applications with .net core and AKS
 
Winslow, Chapman - What Tech Leaders Must Know About Microservices
Winslow, Chapman - What Tech Leaders Must Know About MicroservicesWinslow, Chapman - What Tech Leaders Must Know About Microservices
Winslow, Chapman - What Tech Leaders Must Know About Microservices
 
DevOps introduction
DevOps introductionDevOps introduction
DevOps introduction
 
DevOps and Cloud Tips and Techniques to Revolutionize Your SDLC
DevOps and Cloud Tips and Techniques to Revolutionize Your SDLCDevOps and Cloud Tips and Techniques to Revolutionize Your SDLC
DevOps and Cloud Tips and Techniques to Revolutionize Your SDLC
 
The End of Security as We Know It - Shannon Lietz
The End of Security as We Know It - Shannon LietzThe End of Security as We Know It - Shannon Lietz
The End of Security as We Know It - Shannon Lietz
 
Developing reliable applications with .net core and AKS
Developing reliable applications with .net core and AKSDeveloping reliable applications with .net core and AKS
Developing reliable applications with .net core and AKS
 
Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)Service Mesh CTO Forum (Draft 3)
Service Mesh CTO Forum (Draft 3)
 
How to Broker Access to vSphere and Cloud
 How to Broker Access to vSphere and Cloud  How to Broker Access to vSphere and Cloud
How to Broker Access to vSphere and Cloud
 
Microservices: Breaking Apart the Monolith
Microservices:  Breaking Apart the Monolith Microservices:  Breaking Apart the Monolith
Microservices: Breaking Apart the Monolith
 
The Future of Cloud Innovation, featuring Adrian Cockcroft
The Future of Cloud Innovation, featuring Adrian CockcroftThe Future of Cloud Innovation, featuring Adrian Cockcroft
The Future of Cloud Innovation, featuring Adrian Cockcroft
 
Leaning into Server to Cloud App Migration
Leaning into Server to Cloud App MigrationLeaning into Server to Cloud App Migration
Leaning into Server to Cloud App Migration
 
Optimizing the Ops in DevOps
Optimizing the Ops in DevOpsOptimizing the Ops in DevOps
Optimizing the Ops in DevOps
 
OpenDevOps 2019 - Disconnected pipelines the missing link
OpenDevOps 2019 - Disconnected pipelines the missing linkOpenDevOps 2019 - Disconnected pipelines the missing link
OpenDevOps 2019 - Disconnected pipelines the missing link
 
Scaling DevOps from Ground Zero to Enterprise
Scaling DevOps from Ground Zero to EnterpriseScaling DevOps from Ground Zero to Enterprise
Scaling DevOps from Ground Zero to Enterprise
 
RisingWave.pptx
RisingWave.pptxRisingWave.pptx
RisingWave.pptx
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

muCon2015 - Conduct your microservices with Mesos and Marathon