Okay, here’s the good news for the Python developer community! Being the easiest way to deploy and manage scalable PHP, Java, .NET, AWS Elastic Beanstalk now supports Python applications that run on the familiar Apache HTTP server and WSGI. It means that now you can upload your Python application, and Elastic Beanstalk will automatically handle everything related to the deployment including provisioning of Amazon EC2 instances, load balancing, auto scaling, and application health monitoring.
Several platform improvements have been done in this Python release of AWS Elastic Beanstalk that will help manage your Python application and configuration. Here’s a quick view of those improvements:
Integration with Amazon RDS
For applications having relational database, Elastic Beanstalk can create an Amazon RDS database instance to use with your application. Once the RDS database instance is configured and provisioned, you can retrieve information about the database from your application using environment variables.
Customize Python Environment
Now you can customize your Python environment via a set of declarative text files within your application. The new configuration mechanism of Elastic Beanstalk allows you to install packages from yum, run setup scripts, and set environment variables easily.
Take a snapshot of your logs from the AWS Management console. Elastic Beanstalk combines the top 100 lines from different logs, and rotates the log files to Amazon S3 on an hourly basis so you can analyze traffic patterns and identify issues.
Amazon launched AWS Elastic Beanstalk beta as first platform-as-a-service in earlier 2011. Initially, it came with Java-only support, but with benefits as a fully customizable out-of the-box PaaS. Later in March 2011, it announced support for PHP on its Elastic Beanstalk platform, and for Git based deployments. Since then, developers have been craving for support for Python application, and finally the company fulfilled their desire with the latest Python release.