Reputation: 2304
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).
Upvotes: 6
Views: 1212
Reputation: 679
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.
Upvotes: 5