Post on 07-Jul-2015
description
Deploy, Manage & Scale Your Apps
ianmas@amazon.com
@IanMmmm
Ian Massingham — Technical Evangelist
WEB S
UM
MIT
DUBLIN
201
4
#AW
S #W
EBSUM
MIT
Elastic Beanstalk: Deploy Applications with 7 Popular Containers
Alert
Log
Mon
App
E
LB
AZ
http://your-app.elasticbeanstalk.com
Elastic Beanstalk Deploy your app to a load balanced, auto scaled Environment
Alert
Log
Mon
App
AZ
ELB
http://your-app.elasticbeanstalk.com
Elastic Beanstalk Deploy your app to a load balanced, auto scaled Environment
Alert
DB
Log
Mon
App
AZ
AZ
ELB
http://your-app.elasticbeanstalk.com
Elastic Beanstalk Deploy your app to a load balanced, auto scaled Environment
Docker & Elastic Beanstalk
Deployment without Docker
Elastic Beanstalk
App.zip
Deployment without Docker
Elastic Beanstalk
Pythonlibs
Python2.7.5
WSGI entrypoint:application.py
Pythonlibs
App.zip
Python3
WSGI entrypoint:app.py
Fix: Documentation Fix: Definitions
Deployment with Docker
Elastic Beanstalk
DockerPython
libsApp.zip
Python3
WSGI entrypoint:app.py
3 Deployment Options
•Dockerfile - upload your Dockerfile and Elastic Beanstalk will build it on each machine
•Dockerrun.aws.json - a manifest file describing the container you want and how Elastic Beanstalk should run it
•zip file with context - includes Dockerfile & Dockerrun.aws.json file plus additional application context
Zip with app context
App.zip ------------------------------- |-- Dockerfile |-- Dockerrun.aws.json
Dockerfile
Dockerrun.aws.json
A more complete example app
https://github.com/awslabs/eb-py-flask-signup
Dockerfile Dockerrun.aws.json
A more complete example app
https://github.com/awslabs/eb-py-flask-signup
.ebextensions/setup.config
WANT TO LEARN MORE?
COME TO OUR ARCHITECTURE ASK US ANYTHING
TODAY AT 16:00
@IanMmmm
Ian Massingham — Technical Evangelist
@AWScloudAWS Global News and Service Launches
@AWS_UKIAWS UK & Ireland News, Events & Webinars
WEB S
UM
MIT
DUBLIN
201
4
#AW
S #W
EBSUM
MIT