Is it possible to deploy .ebextensions to Multi-Docker Elastic Beanstalk?
I use a Dockerrun.aws.json file to upload my App and everything works fine. I want to setup logs to stream to Cloudwatch. I should do that using .ebextensions. However, I don't know how to attach .ebextensions if I upload in web browser (AWS console) just only Dockerrun.aws.json (not .zip or .war).
In order to get the most out of Docker, Elastic Beanstalk lets you create an environment where your Amazon EC2 instances run multiple Docker containers side by side.
ebextensions ) to your web application's source code to configure your environment and customize the AWS resources that it contains. Configuration files are YAML- or JSON-formatted documents with a . config file extension that you place in a folder named . ebextensions and deploy in your application source bundle.
You should create a zip archive that contains both Dockerrun.aws.json and .ebextensions directory with any configuration files that you require.
Elastic Beanstalk will find Dockerrun.aws.json file from the archive.
This is covered in AWS' Multicontainer Docker tutorial.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With