Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Cloud Native & Docker

909 views

Published on

This presentation covers the Cloud Native standards for building applications and enforces how important Docker & Containers are when builiing Cloud Native Applications/Architecture. Next, we cover how to use Docker to build a Serverless infrastrucutre.

Published in: Software
  • Be the first to comment

Cloud Native & Docker

  1. 1. 1 Cloud Native & Docker Brian Christner / Swisscom @idomyowntricks
  2. 2. 2 Brian Christner Brian.Christner@gmail.com / @idomyowntricks ● Swisscom Cloud Architect ● Background in Engineering, Cloud & Containers ● Docker Captain
  3. 3. 3 Cloud Native Architecture
  4. 4. Credit: @benorama
  5. 5. What is Cloud Native Cloud native computing uses an open source software stack to be: Containerized Dynamically orchestrated Microservices oriented
  6. 6. Development VM QA Server Public Cloud Disaster Recovery Contributor’s Laptop Production Servers Production Cluster Data Center Containers Drive Cloud Native Static Website Web Front End Background Workers User DB Analytics DB Queue API Endpoint
  7. 7. 8 Containers vs. VM’s
  8. 8. Long vs Short Lived Apps/Containers Long Lived Short Lived
  9. 9. VM’s
  10. 10. 1 3 Docker & Swisscom
  11. 11. VM VM VM
  12. 12. 1 5 Docker Architecture
  13. 13. Swarm Architecture
  14. 14. Deployment
  15. 15. Let’s have a look: DEMO
  16. 16. Future == Serverless
  17. 17. Serverless is made of Servers!
  18. 18. Database Entry Point Entry Point Vote Handling HTTP Request Process Vote Handle Result HTTP Request Serverless Voting App
  19. 19. Monolithic Application Microservice Monolithic vs Microservice vs FaaS Function Function Function Function Function Function Function Function Microservice Microservice
  20. 20. https://github.com/alexellis/faas
  21. 21. EASE OF USE PORTABILITY SIMPLICITY OPEN PLATFORM
  22. 22. SERVERLESS DEMO
  23. 23. 3 4 What’s New
  24. 24. Multi-Stage Builds 1 2 3 4 5 6 7 8 9 1 0 FROM golang:1.8 MAINTAINER CodeFresh.io WORKDIR /go/src/myapp COPY app.go . # build RUN go build -o app . CMD ["./app"] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 FROM golang:1.8 MAINTAINER CodeFresh.io WORKDIR /go/src/myapp COPY app.go . # build RUN go build -o app . FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from=0 /go/src/myapp/app . CMD ["./app"] 700 MB 15 MB
  25. 25. Multiple Architectures
  26. 26. Docker Resources •@idomyowntricks / brianchristner.io •PWD - http://play-with-docker.com •The Best Docker Resource – http://veggiemonk.github.io/awesome-docker/ •My Docker Projects – •https://github.com/vegasbrianc
  27. 27. Questions?

×