aws elastic beanstalk and docker

Post on 07-Apr-2017

1.887 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

AWS Elastic Beanstalk and Docker: High Fidelity, High Velocity Deployments in the CloudEvan Brown@evandbrownSenior Developer Advocate, AWS

a quick shout out

AWS Elastic Beanstalk and Docker: High Fidelity, High Velocity Deployments in the Cloud

Evan Brown

Senior Developer Advocate, Amazon Web Services

Elastic Beans Talk

Develop

DeployManage & Scale

Develop

DeployManage & Scale

Develop

DeployManage & Scale

Spring&Struts&Composer&Laravel&MVC&Flask&Django&Express&Rails&Sinatra&…

Develop

DeployManage & Scale

leverage the ecosystem

VPC&RDS&ElastiCache&DynamoDB&CloudFormation&Auto Scaling&Multiple Availability Zones&S3&CloudWatch&…

Develop

DeployManage & Scale

Develop

DeployManage & Scale

leverage the ecosystem

VPC – fine-grained controls; extend on-premisesRDS&ElastiCache&DynamoDB&CloudFormation&Auto Scaling&Multiple Availability Zones&S3&CloudWatch&…

leverage the ecosystem

VPC – fine-grained controls; extend on-premises

Develop

DeployManage & Scale

leverage the ecosystem

VPC&RDS – MySQL, PostgreSQL, Oracle, SQL ServerElastiCache&DynamoDB&CloudFormation&Auto Scaling&Multiple Availability Zones&S3&CloudWatch&…

leverage the ecosystem

VPC&RDS&ElastiCache – Redis and MemcachedDynamoDB&CloudFormation&Auto Scaling&Multiple Availability Zones&S3&CloudWatch&…

Develop

DeployManage & Scale

leverage the ecosystem

VPC&RDS&ElastiCache&DynamoDB&CloudFormation&Auto Scaling&Multiple Availability Zones&S3&CloudWatch&…

Develop

DeployManage & Scale

Develop

DeployManage & Scale

just add a yaml file to your app

quick detour

FreeSo many snacksSo many Solutions ArchitectsTraining & Tech TalksThrough June 27http://bit.ly/awsloft

Develop

DeployManage & ScaleAPI

Develop

DeployManage & Scale

Develop

DeployManage & Scale

load balanced, auto scaled

Develop

DeployManage & ScaleE

last

ic B

eans

talk

App

ELB

AZ

your-app.elasticbeanstalk.com

Alert

Log

Mon

single instance

Develop

DeployManage & ScaleE

last

ic B

eans

talk

App

AZ

your-app.elasticbeanstalk.com

Alert

Log

Mon

queue-driven worker

Develop

DeployManage & ScaleE

last

ic B

eans

talk

App

Que

ue

AZ

producer

Alert

Log

Mon

Develop

DeployManage & Scale

App.zip

Elastic Beanstalk

App.zip

App.zip

Elastic Beanstalk

App.zip

Python 3

WSGI entrypoint: app.py

Python libs

App.zip

Python2.7.5

Python libs

WSGI entrypoint: application.py

Elastic Beanstalk

App.zip

Python 3

WSGI entrypoint: app.py

Python libs

App.zip

Python 3

WSGI entrypoint: app.py

Python libs

App.zip

Python2.7.5

Python libs

WSGI entrypoint: application.py

Elastic Beanstalk

Developer can build app to interface, or customize the Beanstalk interface

Enable high fidelity, high velocity deployments in Elastic Beanstalk

You own the runtime

App.zip

Elastic Beanstalk

Docker

App.zip

Python 3

WSGI entrypoint: app.py

Python libs

App.zip

Elastic Beanstalk

Docker

App.zip

Python 3

WSGI entrypoint: app.py

Python libs

App.zip

Python 3

WSGI entrypoint: app.py

Python libs

Deploy your container 3 ways

App.zip

Python 3

WSGI entrypoint: app.py

Python libs

Dockerfile• Image will be built on

each instance

App.zip

Python 3

WSGI entrypoint: app.py

Python libs

Dockerrun.aws.json• Manifest that describes

how to run container

App.zip

Python 3

WSGI entrypoint: app.py

Python libs

Dockerrun.aws.json

Zip with app context

App.zip-------------------------------|-- Dockerfile|-- Dockerrun.aws.json

Dockerfile

Dockerrun.aws.json

high fidelity, high velocity

App.zip

Elastic Beanstalk

Doc

ker

App.zip

Local Dev (e.g., MacBook Pro)

Docker

App.zip

Python 3

WSGI entrypoint: app.py

Python libs

DEMO

Questions & Answers

• bit.ly/eb-dockercon• @aws_eb• bit.ly/awsloft

top related