Nightowk
Badges: 10
Rep:
?
#1
Report Thread starter 2 years ago
#1
Looking at application architecture It seems I have set up wrong by having ONE task definition for ONE EC2 instance inside ONE ECS Cluster which has 3 docker containers.

So I have once ECS instance which contains one EC2 instance which has 3 docker containers.

It was nice process to use ecs-cli compose to use my docker-compose file alongside an ecs-params file to create a task definition only to read as above that there should be a separate task definition for each docker container.

So should I have a separate task definition for gunicorn/django, nginx and postgresql? Why do I need to do this when I can specify CPU/memory shares and settings all in the ecs-params.yml? How do i do this using ecs-cli compose?
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

Feeling behind at school/college? What is the best thing your teachers could to help you catch up?

Extra compulsory independent learning activities (eg, homework tasks) (11)
7.33%
Run extra compulsory lessons or workshops (25)
16.67%
Focus on making the normal lesson time with them as high quality as possible (25)
16.67%
Focus on making the normal learning resources as high quality/accessible as possible (21)
14%
Provide extra optional activities, lessons and/or workshops (42)
28%
Assess students, decide who needs extra support and focus on these students (26)
17.33%

Watched Threads

View All
Latest
My Feed