This document discusses using Amazon Elastic Beanstalk to deploy applications with containers. It provides information on deploying applications both with and without Docker containers using Elastic Beanstalk. It also describes the three options for deploying applications with Docker: using a Dockerfile, Dockerrun.aws.json manifest file, or uploading a zip file with Dockerfile and context. An example GitHub repository is also referenced that demonstrates a more complete Python and Flask application deployment.
10. 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
11. Zip with app context
App.zip
-------------------------------
|-- Dockerfile
|-- Dockerrun.aws.json
Dockerfile
Dockerrun.aws.json
12. A more complete example app
Dockerfile Dockerrun.aws.json
https://github.com/awslabs/eb-py-flask-signup
13. A more complete example app
https://github.com/awslabs/eb-py-flask-signup
.ebextensions/setup.config
14. WANT TO LEARN MORE?
COME TO OUR ARCHITECTURE
ASK US ANYTHING
TODAY AT 16:00
15. WEB SUMMIT
DUBLIN 2014
#AWS #WEBSUMMIT
Ian Massingham — Technical Evangelist
@IanMmmm
AWS Global News and Service Launches @AWScloud
AWS UK & Ireland News, Events & Webinars @AWS_UKI