nicq
nicq

Reputation: 2304

Multi Docker Elastic Beanstalk: upload .ebextensions

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).

  1. How can I deploy also .ebxetensions to Multi Docker Elastic Beanstalk?
  2. ... or is it any other way to setup what logs should be streamed to Cloudwatch Logs?

Upvotes: 6

Views: 1212

Answers (1)

Olli
Olli

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

Related Questions