April 2016
Intermediate to advanced
170 pages
3h 48m
English
Amazon Elastic Beanstalk (EB) is a simple way of deploying our applications to AWS without having to worry about the various moving parts, such as EC2 and S3, individually. Amazon EB is a sophisticated tool and has great support for Python.
EB is best used from the command line (using the awsebcli package) within a Python virtual environment. The gist of it is that you create a virtual environment for the Python application that you want to deploy to AWS. The application itself is contained in a single directory that serves as a way to package the code to be deployed.
Using the eb command-line tool (part of awsebcli), one creates an initial deployment configuration (eb init), and potentially (that is, usually) customizes ...