running docker on aws

33
#AWSBEL @ndemoor

Upload: nils-de-moor

Post on 22-Mar-2017

164 views

Category:

Software


0 download

TRANSCRIPT

#AWSBEL@ndemoor

ORCHESTRATE!version: "2"

services: vote: build: ./vote command: python app.py volumes: - ./vote:/app ports: - "5000:80"

redis: image: redis:alpine ports: ["6379"]

worker: build: ./worker

db: image: postgres:9.4

result: build: ./result command: nodemon --debug server.js volumes: - ./result:/app ports: - "5001:80" - "5858:5858"

ORCHESTRATE!version: "2"

services: vote: build: ./vote command: python app.py volumes: - ./vote:/app ports: - "5000:80"

redis: image: redis:alpine ports: ["6379"]

worker: build: ./worker

db: image: postgres:9.4

result: build: ./result command: nodemon --debug server.js volumes: - ./result:/app ports: - "5001:80" - "5858:5858"

https://github.com/docker/example-voting-app

1. DOCKER FOR AWS + DEMO 2. Docker Cloud + Demo 3. DOCKER DATACENTER

Docker for AWS (AND AZURE)

beta

Docker for AWS AND AZURE beta

beta.docker.com

DEMO

https://blog.docker.com/2016/10/introducing-infrakit-an-open-source-toolkit-for-declarative-

infrastructure/

DOCKER CLOUD

ORCHESTRATE!db: image: 'postgres:9.4' restart: always redis: image: 'redis:latest' restart: always result: autoredeploy: true image:'docker/example-voting-app-result:latest' ports: - '80:80' restart: always lb: autoredeploy: true image: 'dockercloud/haproxy:latest'

links: - vote ports: - "80:80" roles: - global restart: always

vote: autoredeploy: true image: 'docker/example-voting-app-vote:latest' restart: always target_num_containers: 5

worker: autoredeploy: true image: 'docker/example-voting-app-worker:latest' restart: always target_num_containers: 3

DEMO

Docker DATACENTER (FOR AWS AND AZURE)

THANK YOU!

DOCKER FOR AWS

SIMPLE 1-click SETUP deploy via docker primitives

o/s/l* by default LOGGING through Cloudwatch

Full control over infra SECURITY is your own problem

FREE

*O/S/L = Orchestration/Service Discovery/Load balancing

DOCKER CLOUD

SIMPLE SETUP OR BYO deploy via ui/BUILD WORKFLOW

o/s/l*: O by default, S/L BYO Logging via ui

Managed INFRA, but backdoors SECURITY is Mostly your own problem

$15/node

*O/S/L = Orchestration/Service Discovery/Load balancing

DOCKER DATACENTER

BYO Everything Complex Deployment workflows

o/s/l* BY DEFAULT Logging VIA ui

FULLY Managed INFRA, FINE-GRAINED COntrol Full SECURITY & Compliance

FROM $150/node (incl. Support)

*O/S/L = Orchestration/Service Discovery/Load balancing

THANK YOU!

ORCHESTRATE!Oct. 20th [Zaventem]: Workshop: Hands-on with containers in Windows Server 2016

Nov. 9th [Antwerp]: Devoxx after-drink with Docker Captains Phil Estes & Patrick Chanezon

Nov. 16th [Antwerp]: Docker Global Mentor Day (for beginners to experts)

Image credit https://www.docker.com