Slide 1

Slide 1 text

© 2017 Mesosphere, Inc. All Rights Reserved. DEVELOPING WITH DC/OS 1 Michael Hausenblas, Distributed Systems Jester | 2017-01-24 | London

Slide 2

Slide 2 text

© 2016 Mesosphere, Inc. All Rights Reserved. sys admin/SRE appops developer architect QA/test engineer manager/PM

Slide 3

Slide 3 text

© 2017 Mesosphere, Inc. All Rights Reserved. DEVELOPING IN A DISTRIBUTED SETUP— THEORY 3

Slide 4

Slide 4 text

© 2017 Mesosphere, Inc. All Rights Reserved. RELEASE CYCLE 4

Slide 5

Slide 5 text

© 2017 Mesosphere, Inc. All Rights Reserved. RELEASE CYCLE 5 dev CI/CD CI/CD time QA prod dev QA prod release

Slide 6

Slide 6 text

© 2017 Mesosphere, Inc. All Rights Reserved. ARTIFACTS 6 examples layer source artifacts .scala, .py, .rb, .go, .sh, …
 config files packaging Dockerfile, ACI, OCI runtime DC/OS service specification, Kubernetes replication controller, Docker compose

Slide 7

Slide 7 text

© 2017 Mesosphere, Inc. All Rights Reserved. ALTERNATIVE WAYS TO DEVELOP IN A DISTRIBUTED SETUP 7 hackernoon.com/how-we-develop-in-and-with-distributed-systems-66c71e918735 remote local cluster dev cluster dev cluster dev dev cluster

Slide 8

Slide 8 text

© 2017 Mesosphere, Inc. All Rights Reserved. ALTERNATIVE WAYS TO DEVELOP IN A DISTRIBUTED SETUP 8 hackernoon.com/how-we-develop-in-and-with-distributed-systems-66c71e918735 DC/OS Vagrant Docker Mac/Windows Minikube no need to maintain cluster no costs off-line and fast dev cycles limited scale not really a distributed system not all functionality might be available pure off-line

Slide 9

Slide 9 text

© 2017 Mesosphere, Inc. All Rights Reserved. ALTERNATIVE WAYS TO DEVELOP IN A DISTRIBUTED SETUP 9 hackernoon.com/how-we-develop-in-and-with-distributed-systems-66c71e918735 DC/OS Tunnel Kubernetes Proxy almost the real thing (distributed system) fast dev cycles have to maintain cluster/cost limited off-line development proxied

Slide 10

Slide 10 text

© 2017 Mesosphere, Inc. All Rights Reserved. ALTERNATIVE WAYS TO DEVELOP IN A DISTRIBUTED SETUP 10 hackernoon.com/how-we-develop-in-and-with-distributed-systems-66c71e918735 DC/OS cluster/Artifactory/Jenkins Docker Swarm/Docker Hub/Travis Tectonic/Quay.io/TeamCity the real thing (distributed system) have to maintain cluster/cost very limited off-line development slow dev cycles live

Slide 11

Slide 11 text

© 2017 Mesosphere, Inc. All Rights Reserved. ALTERNATIVE WAYS TO DEVELOP IN A DISTRIBUTED SETUP 11 hackernoon.com/how-we-develop-in-and-with-distributed-systems-66c71e918735 Google Cloud Shell/GCR/GCE Katacoda Koding the real thing (distributed system) low/no costs scales well no off-line development limited customization/control pure on-line

Slide 12

Slide 12 text

© 2017 Mesosphere, Inc. All Rights Reserved. WHAT ABOUT … 12 • Logging • Telemetry • Debugging • Load testing • Tracing

Slide 13

Slide 13 text

© 2017 Mesosphere, Inc. All Rights Reserved. DEVELOPING IN A DISTRIBUTED SETUP— PRACTICE 13

Slide 14

Slide 14 text

© 2017 Mesosphere, Inc. All Rights Reserved. HANDS-ON 14

Slide 15

Slide 15 text

© 2017 Mesosphere, Inc. All Rights Reserved. LEARNING RESOURCES 15

Slide 16

Slide 16 text

© 2017 Mesosphere, Inc. All Rights Reserved. 16 WHERE CAN
 I LEARN MORE? shop.oreilly.com/product/0636920039952.do manning.com/books/mesos-in-action 16

Slide 17

Slide 17 text

© 2017 Mesosphere, Inc. All Rights Reserved. 17 WHERE CAN
 I LEARN MORE? 17 artofmonitoring.com containerz.info

Slide 18

Slide 18 text

© 2017 Mesosphere, Inc. All Rights Reserved. 18 WHERE CAN
 I LEARN MORE? 18 some.ops4devs.info

Slide 19

Slide 19 text

© 2017 Mesosphere, Inc. All Rights Reserved. Q & A 19 • @mhausenblas • mhausenblas.info • [email protected] https://dcos.io