Containers, DevOps, Apache Mesos and Cloud - Reshaping how

download Containers, DevOps, Apache Mesos and Cloud - Reshaping how

of 39

  • date post

    13-Feb-2017
  • Category

    Documents

  • view

    216
  • download

    2

Embed Size (px)

Transcript of Containers, DevOps, Apache Mesos and Cloud - Reshaping how

  • Containers, DevOps, Apache Mesos and CloudReshaping how we develop and delivery software

    https://twitter.com/marceloancelmo

    Marcelo Sousa Ancelmomarcelo.souzaancelmo@ig.commarceloancelmo@gmail.com

    marceloancelmo

    http://www.slideshare.net/marceloancelmo

    https://www.linkedin.com/in/marceloancelmo

    mailto:marcelo.souzaancelmo@ig.commailto:marceloancelmo@gmail.com

  • Are your application ready?

  • 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

  • !!!MICROSERVICES!!!

  • Microservices...

    or more Spaghetti

  • 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?

  • Collaboration @ Container

  • Your usual Delivery Pipeline...

  • Is now Baking your image

  • And potentially can use all your computing power

  • Introducing Apache Mesos

    Program against your datacenter like its 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/

  • Apache Mesos Overview

    Batch Processing Long Running Services

  • Way of work

  • Apache Mesos Architecture

    https://github.com/opencontainers/specs/blob/master/principles.md

  • Resource Offer example

  • Auto-Scale

  • Application

    300 users

  • Autoscaling UP

    600 users

  • Autoscaling DOWN

    400 users

  • High Availability

    http://mesos.apache.org/http://mesos.apache.org/documentation/latest/powered-by-mesos/

  • Application Running

    300 users

  • Node Failure

    300 users300 users

  • Starting a new node for the application

    300 users300 users

  • Application Running

    300 users

  • Continuous DeliveryBlue-Green Deployments

  • Continuous Delivery Blue / Green

  • Deploy the application

    Production

  • Test the application

    Production

  • Flip the application

    Production

  • Empowering everyone

    Production

  • Continuous DeliveryCanary Release

  • Continuous Delivery Canary Release

  • Deploy the new version

    Production100%

  • Test and Evaluate the new version

    Production80%

    Production20%

  • Rollout the new Release

  • 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

  • Cloud + Microservices + Containers + CDIs this the Perfect Storm?

  • Questions?

  • Thank You

    MerciGrazie

    Gracias

    Obrigado

    Danke

    Japanese

    English

    French

    Russian

    German

    Italian

    Spanish

    Brazilian Portuguese

    Arabic

    Traditional Chinese

    Simplified Chinese

    Hindi

    Tamil

    Thai

    Korean

    DzikujPolish

    Marcelo Sousa Ancelmomarcelo.souzaancelmo@ig.commarceloancelmo@gmail.com

    Slide 1Slide 4Slide 6Slide 11Slide 12Slide 14Slide 15Slide 16Slide 17Slide 18Slide 20Slide 21Slide 22Slide 24Slide 25Slide 26Slide 27Slide 28Slide 29Slide 30Slide 31Slide 32Slide 33Slide 34Slide 36Slide 37Slide 38Slide 39Slide 40Slide 41Slide 42Slide 43Slide 44Slide 45Slide 46Slide 47Slide 48Slide 49Slide 50