Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Flask + Docker + AWS Elastic Beanstalk

Flask + Docker + AWS Elastic Beanstalk

Using Flask + Docker + AWS EB as your own personal Heroku to easily scale your app.

Robert Adams

April 16, 2015
Tweet

Other Decks in Programming

Transcript

  1. Flask + Docker + AWS Elastic Beanstalk Robert Adams, ZeroCater

    Head of Engineering @github / twitter / gmail: rfadams
  2. What is Docker? • Micro virtual machines (container) • Wrap

    your app in container • Your app is now easily portable
  3. What is AWS Elastic Beanstalk? • Pre-config’d EC2 servers for

    your app • Easily push your app / container up • Scale your app with the “drag of a slider”
  4. Why Elastic Beanstalk? • Lowered costs • More flexibility /

    control • Improved performance • Better dev / prod parity
  5. Dev Env • Vagrant + Virtual Box • Ubuntu Virtual

    Machine • Docker • “Hello World!”
  6. Additional Advantages • SSH to the “dyno” • Use any

    size EC2 as the “dyno” • Also has worker “dynos” • Security Group compatible • Works inside VPC • Coordinate easily with other AWS services • Simple Queue Service • Elastic Cache • Relational Database Service • S3