Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...
Transcript of Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...
![Page 1: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/1.jpg)
Containers, DevOps, Apache Mesos and CloudReshaping how we develop and delivery software
https://twitter.com/marceloancelmo
Marcelo Sousa [email protected]@gmail.com
marceloancelmo
http://www.slideshare.net/marceloancelmo
https://www.linkedin.com/in/marceloancelmo
![Page 2: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/2.jpg)
Are your application ready?
![Page 3: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/3.jpg)
Decompose the applications into self-contained services
Be stateless (As much as possible)
NFR's are king, be aware on latency, throughput, etc...
Expect an impact on your application architecture
Fault tolerant Scalable ElasticMulti-tenant
![Page 4: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/4.jpg)
!!!MICROSERVICES!!!
![Page 5: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/5.jpg)
Microservices...
… or more Spaghetti
![Page 6: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/6.jpg)
“There are 17 million shipping containers in existence, packed with every physical good imaginable. Every single one of them can be loaded onto the same boats, by the same cranes, in the same facilities, and sent anywhere in the World with incredible efficiency. It is embarrassing to think that a 30 ton shipment of coffee can safely travel half-way across the World in less time than it takes a software team to deliver its code from one datacenter to another sitting 10 miles away.”
5th principle of Open Container Initiative - https://github.com/opencontainers/specs/blob/master/principles.md
Why Use Containers?
![Page 7: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/7.jpg)
Collaboration @ Container
![Page 8: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/8.jpg)
Your usual Delivery Pipeline...
![Page 9: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/9.jpg)
… Is now Baking your image
![Page 10: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/10.jpg)
And potentially can use all your computing power
![Page 11: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/11.jpg)
Introducing Apache Mesos
Program against your datacenter like it’s a single pool of resources
“Apache Mesos abstracts CPU, memory, storage, and other compute resources away from machines (physical or virtual), enabling fault-tolerant and elastic distributed systems to easily be built and run effectively.”
http://mesos.apache.org/
Used by Twitter, AirBNB, eBay, Netflix, Apple and many others
http://mesos.apache.org/documentation/latest/powered-by-mesos/
![Page 12: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/12.jpg)
Apache Mesos Overview
Batch Processing Long Running Services
![Page 13: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/13.jpg)
Way of work
![Page 15: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/15.jpg)
Resource Offer example
![Page 16: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/16.jpg)
Auto-Scale
![Page 17: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/17.jpg)
Application
300 users
![Page 18: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/18.jpg)
Autoscaling UP
600 users
![Page 19: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/19.jpg)
Autoscaling DOWN
400 users
![Page 20: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/20.jpg)
High Availability
![Page 21: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/21.jpg)
Application Running
300 users
![Page 22: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/22.jpg)
Node Failure
300 users300 users
![Page 23: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/23.jpg)
Starting a new node for the application
300 users300 users
![Page 24: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/24.jpg)
Application Running
300 users
![Page 25: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/25.jpg)
Continuous DeliveryBlue-Green Deployments
![Page 26: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/26.jpg)
Continuous Delivery – Blue / Green
![Page 27: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/27.jpg)
Deploy the application
Production
![Page 28: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/28.jpg)
Test the application
Production
![Page 29: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/29.jpg)
Flip the application
Production
![Page 30: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/30.jpg)
Empowering everyone
Production
![Page 31: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/31.jpg)
Continuous DeliveryCanary Release
![Page 32: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/32.jpg)
Continuous Delivery – Canary Release
![Page 33: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/33.jpg)
Deploy the new version
Production100%
![Page 34: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/34.jpg)
Test and Evaluate the new version
Production80%
Production20%
![Page 35: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/35.jpg)
Rollout the new Release
![Page 36: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/36.jpg)
Putting into perspective
“If a Docker application is a Lego brick, Kubernetes would be like a kit for building the Millennium Falcon and the Mesos cluster would be like a whole Star Wars universe made of Legos.” ~ Solomon Hykes
![Page 37: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/37.jpg)
Cloud + Microservices + Containers + CDIs this the Perfect Storm?
![Page 38: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/38.jpg)
Questions?
![Page 39: Containers, DevOps, Apache Mesos and Cloud - Reshaping how ...](https://reader034.fdocuments.net/reader034/viewer/2022042800/58a1aabd1a28abf0458ba23a/html5/thumbnails/39.jpg)
Thank You
MerciGrazie
Gracias
Obrigado
Danke
Japanese
English
French
Russian
German
Italian
Spanish
Brazilian Portuguese
Arabic
Traditional Chinese
Simplified Chinese
Hindi
Tamil
Thai
Korean
DziękujęPolish
Marcelo Sousa [email protected]@gmail.com