Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DevOpsDays Cuba 2016: Ignite - Effective service management with Mesos

DevOpsDays Cuba 2016: Ignite - Effective service management with Mesos

Author: Juan Carlos
Summary:

DevOpsDays Cuba

October 21, 2016
Tweet

More Decks by DevOpsDays Cuba

Other Decks in Technology

Transcript

  1. Effective
    service management
    with Mesos
    Juan Carlos Gómez Correa
    @jcgomezcorrea1
    juan-carlos-gomez-correa
    Ops team at

    View full-size slide

  2. branch: master
    Continuous delivery pipeline
    tag: v1.0

    Demos
    staging UAT



    tag: v2.0
    tag: v2.2 …
    project 1
    branch: master
    branch: master
    tag: v3.2
    tag: v3.3
    tag: v4.0 …
    project 2
    branch: master

    View full-size slide

  3. Problems
    Inefficient resource management
    • Low utilization

    View full-size slide

  4. Problems
    Inefficient resource management
    • Low utilization
    Heterogeneous systems
    • Different provisioning for each VM
    • Different deployment for each service

    View full-size slide

  5. Mesos
    Centralized fault-tolerant cluster manager designed for distributed
    computing environments to provide efficient resource isolation and
    management across a cluster

    View full-size slide

  6. Docker
    • Package an application with its dependencies into a standardized unit
    • Delivering applications with Docker on Mesos promises a truly elastic,
    efficient and consistent platform for delivering applications on
    premises or in the cloud

    View full-size slide

  7. VM vs Containers
    Containers have similar resource isolation and
    allocation benefits as virtual machines but a
    different architectural approach allows them to
    be much more portable and efficient.

    View full-size slide

  8. 2. Scale up 3. Machine failure
    2
    3
    10
    2
    3
    10
    1
    3
    5
    Scaling and fault recovery
    1. Start services
    , , ,
    , ,
    , ,
    , ,
    ,
    ,
    , ,
    ,
    ,
    , ,
    ,
    ,
    ,
    ,
    ,
    , ,
    ,

    View full-size slide

  9. branch: master
    Continuous delivery pipeline
    tag: v1.0

    Demos
    staging UAT



    tag: v2.0
    tag: v2.2 …
    project 1
    branch: master
    branch: master
    tag: v3.2
    tag: v3.3
    tag: v4.0 …
    project 2
    branch: master
    Self service
    branch: issue-1
    branch: issue-2
    branch: issue-3

    branch: issue-1
    branch: issue-2
    branch: issue-3

    View full-size slide

  10. Benefits
    Improved performance
    • More services provided on the same resources
    • More reviews at the same time
    Simplified provisioning
    • All nodes are provisioned exactly the same

    View full-size slide

  11. Benefits
    Simplified service deployment
    curl -H 'Content-Type: application/json' -X POST -d@
    {
    "id": "my-service",
    "instances": 2,
    "cpus": 1,
    "mem": 1024,
    "container": { "docker": { "image": "my-app:1.0" … }, … },

    }

    View full-size slide

  12. Bring Ops tools closer to Developers

    View full-size slide

  13. To production!
    • Fault tolerance
    • Scale apps automatically
    • Horizontal scalability

    View full-size slide

  14. Thank you
    Juan Carlos Gómez Correa
    @jcgomezcorrea1
    juan-carlos-gomez-correa
    Ops team at

    View full-size slide