ian massingham - elastic beanstalk at #doxlon
DESCRIPTION
Video: http://youtu.be/9quo4zmA_kg Amazon will be presenting a talk about the newest features of Elastic Beanstalk which is their hosted PaaS offering. Including how to use Docker to deploy your applications with their service. A lot of companies that we speak to already use some AWS services and they have a very mature offering in terms of features. If you want to read a bit more prior to the talk have a read through this link: http://aws.amazon.com/elasticbeanstalk/ DevOps Exchange London Meetup: http://www.meetup.com/DevOps-Exchange-LondonTRANSCRIPT
AWS Elastic Beanstalk
Running Docker Containers on AWS Elastic Beanstalk !
!
!
!
22 September 2014 !
!
!
Ian Massingham AWS Technical Evangelist @IanMmmm [email protected]
Who’s heard of Elastic Beanstalk?
Who uses Elastic Beanstalk?
Who uses Docker on Elastic Beanstalk?
AWS Elastic Beanstalk
Elastic Beanstalk: 2 Minute Introduction
App
E
LB
AZ
your-app.elasticbeanstalk.com
Alert
Log
Mon
And from April 23rd
Elastic Beanstalk
App.zip
Deployment without Docker
Elastic Beanstalk
Python!libs
Python!2.7.5
WSGI entrypoint:!application.py
Python!libsApp.zip
Python!3
WSGI entrypoint:!app.py
Fix: Documentation Fix: Definitions
Deployment without Docker
Elastic Beanstalk
DockerPython!
libsApp.zip
Python!3
WSGI entrypoint:!app.py
Deployment with Docker
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
Dockerrun.aws.json Example
Passing Environment Variables
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
aws.amazon.com/elasticbeanstalk
Upcoming AWS DevOps Event Tuesday 30 September 2014
!
!
• Learn how AWS services enable you to create an agile and lean platform to support both the development & operation of your applications
• Discover how AWS services enables you to implement DevOps techniques and tools with the minimal investment in time and capital
http://aws.amazon.com/events/aws-devops-sept/
AWS Elastic Beanstalk
Running Docker Containers on AWS Elastic Beanstalk !
!
!
!
22 September 2014 !
!
!
!
Ian Massingham @IanMmmm [email protected]