Posted On: Aug 19, 2012
We are excited to announce that AWS Elastic Beanstalk now supports Python applications. Elastic Beanstalk is an easy and fast way to deploy and manage scalable PHP, Java, .NET, and now Python applications on AWS.
Elastic Beanstalk supports Python applications and frameworks that run on the familiar Apache HTTP Server and the WSGI interface. To get started running your Python applications on Elastic Beanstalk, visit the Elastic Beanstalk Developer Guide. The Developer Guide includes walkthroughs for Django applications and Flask applications.
We are also introducing new features that make it easier to build Python web applications on Elastic Beanstalk.
First, you can now easily leverage Amazon Relational Database Service (Amazon RDS) database instances with your Elastic Beanstalk applications. Amazon RDS makes it easy to set up, operate, and scale a relational database in the cloud, making it a great fit for scalable web applications running on Elastic Beanstalk. To learn more about how to setup and use an Amazon RDS database instance with your application, visit "Using Amazon RDS with Python" in the Developer Guide.
Second, you can customize the Python runtime for Elastic Beanstalk using a set of declarative text files within your application. If your application contains a requirements.txt in its top level directory, Elastic Beanstalk automatically installs the dependencies using pip. Elastic Beanstalk is also introducing a new configuration mechanism that allows you to install packages from yum, run setup scripts, and set environment variables. To learn more about customizing your Python environment, visit "Customizing and Configuring a Python Container" in the Developer Guide.