A developer is deploying a web application using AWS Elastic Beanstalk. The developer wants to include custom configuration files (with a `.config` extension) to install packages and define environment properties. In which directory at the root of the application source bundle must the developer place these files to ensure they are processed during deployment?
- Aebextensions
- B.elasticbeanstalk
- .ebextensionsAnswer
- D.platform
Answer
The `.ebextensions` directory at the root of the application source bundle.
To customize the EC2 instances in an Elastic Beanstalk environment, configuration files (ending in `.config`) must be placed in a directory named `.ebextensions` at the root of the application source bundle. Elastic Beanstalk automatically detects and applies these configurations during deployment.
Step-by-Step Solution
Key Concept
Elastic Beanstalk custom configuration via .ebextensions
Estimated Time:45s