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

How we learned to love the Data Center Operating System

How we learned to love the Data Center Operating System

by Saulius Valatka
DevOps Pro Vilnius 2016

DevOps Pro

June 01, 2016
Tweet

More Decks by DevOps Pro

Other Decks in Technology

Transcript

  1. THE TORTURE # yum install python R libboost-3.12 $ scp

    script.R test.aws.com:/script.R # crontab -e
  2. THE TORTURE # yum install python R libboost-3.12 $ scp

    script.R test.aws.com:/script.R # crontab -e “strange, worked on my machine …”
  3. The twelve-factor app stores config in environment variables Env vars

    are easy to change between deploys without changing any code There is little chance of them being checked into the code repo accidentally They are a language- and OS-agnostic standard
  4. MARATHON the init of the DCOS constraints deployment { "id":

    “my-nginx", "container": { "type": "DOCKER", "docker": { "image": "nginx:1.7.7", "network": "BRIDGE", } }, "instances": 1, "cpus": 0.5, "mem": 128 }
  5. MANAGING RESOURCES how much memory do I really need ?

    and CPUs ? what does 0.5 CPUs mean anyway ?
  6. MANAGING RESOURCES how much memory do I really need ?

    and CPUs ? what does 0.5 CPUs mean anyway ? and what happens with the network ?
  7. SERVICE DISCOVERY where is my app ? how do I

    reach it ? won’t containers conflict about ports ?
  8. PERSISTENCE so .. where do I store my data ?

    on the host ? won’t it disappear ?