Advanced environment customization with configuration files (.ebextensions) - AWS Elastic Beanstalk
Use configuration files (.ebextensions) to set configuration options, customize the EC2 instances in your environment, and create additional resources.