Amazon announced that AWS Elastic Beanstalk will now support Python applications, in addition to PHP, Java and .NET.
Specifically, Elastic Beanstalk will now support Python apps and frameworks that run on Apache HTTP Server and the WSGI interface.
Amazon also introduced new features, which it says will make it easier to build Python web apps on Elastic Beanstalk.
“First, you can now easily leverage Amazon Relational Database Service (Amazon RDS) database instances with your Elastic Beanstalk applications,” the company says on the AWS site. “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,” Amazon adds. “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.”
To start running Python apps on Elastic Beanstalk, check out Amazon’s developer guide, which includes walkthroughs for Django and Flask apps.