How to deploy multiple containers on ECS? #27
-
This message was extracted from a discussion that originally took place in Gruntwork Community Slack. Names and URLs have been removed where appropriate From a customer Hi, For deploying to AWS ECS, we are using Thanks.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
From a grunt So, rather than multiple task definitions, the way to do this is by defining side cars in the container definition. How are you generating the container definition list? Maybe you can make it so that it supports multiple containers. |
Beta Was this translation helpful? Give feedback.
-
From a grunt Hm, can you actually share this docker-compose file that specifies the stack/network concept? It might help me understand what I'm missing. I did a very rudimentary digging on the interwebs for this, and found something native to AWS: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cmd-ecs-cli-compose.html It looks like |
Beta Was this translation helpful? Give feedback.
From a grunt
So, rather than multiple task definitions, the way to do this is by defining side cars in the container definition. How are you generating the container definition list? Maybe you can make it so that it supports multiple containers.