We are excited to introduce AWS Elastic Beanstalk configuration files, a simple mechanism to customize the software that your application relies on. Elastic Beanstalk offers an easy way to deploy and manage Java, PHP, Python, and .NET applications on AWS. Using the configuration files, you can now easily install packages, run daemons, and configure web servers, without having to create and manage Amazon Machine Images (AMIs).
The configuration files allow you to declaratively install packages and libraries, configure software components, and run commands on the Amazon EC2 instances that are part of your Elastic Beanstalk environment. You can also set environment variables across your fleet of EC2 instances, create users and groups, and manage agents and daemons.
The configuration files are YAML-based and are stored in the “.ebextensions” directory of your application version. This allows you to place these files under source control along with your application source files.
These capabilities are available to newly created Java and Python environments. Existing Java environments will continue to work as expected. However, to leverage the new capabilities, you can simply launch a new environment or follow the step-by-step guide on how to migrate your environment.
To learn more about configuration files and see some examples, visit the AWS Elastic Beanstalk Developer Guide.
You can now easily integrate Elastic Beanstalk Java and Python environments with Amazon RDS. Visit the AWS Elastic Beanstalk Developer Guide to learn more about how to integrate Amazon RDS with Elastic Beanstalk.