Amazon elastic beanstalk

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 ...

Get Distributed Computing with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.