A developer is packaging a web application for deployment to AWS Elastic Beanstalk. To configure custom environment properties and OS-level packages, the developer creates a configuration file named 01_setup.config. However, after deploying the application source bundle zip file, the developer notices that none of the custom configurations are applied to the EC2 instances. Where must the configuration file be located within the application source bundle for AWS Elastic Beanstalk to detect and process it?
- AInside a folder named ebextensions (without a leading dot) placed at the root of the application source bundle
- BAt the root of the application source bundle, with the line Transform: AWS::Serverless-2016-10-31 declared at the top of the file
- Inside a folder named .ebextensions placed at the root of the application source bundleCevap
- DInside a folder named .ebextensions nested within the application's source code directory, such as src/.ebextensions
Cevap
Inside a folder named .ebextensions placed at the root of the application source bundle
AWS Elastic Beanstalk requires configuration files to be stored in a directory named '.ebextensions' at the root of the application source bundle. Files within this directory must have a '.config' extension to be parsed and executed during deployment.
Adım Adım Çözüm
Anahtar Kavram
AWS Elastic Beanstalk configuration files (.ebextensions) structure
Tahmini Süre:1m 30s