aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.21k stars 319 forks source link

[ECS] [Proposal]: ECS Service ordering #1290

Open RuslanHryn opened 3 years ago

RuslanHryn commented 3 years ago

Community Note

Tell us about your request What do you want us to build?

Recently, the new feature to start containers in a specific order was implemented in the scope of this issue https://github.com/aws/containers-roadmap/issues/123

But, this feature is only useful when a single ECS task has multiple containers with different apps. For example, Nginx and backend microservice. In most cases, each ECS task has only a container for a single app. Therefore, it is not possible to use container orders between ECS services.

I think the ability to define order between ECS services would be very useful in the microservice world. For example, applications for centralized configuration management should start before microservices such as Spring Cloud Config Server. Also, it would be useful when performing the matenance of the ECS cluster which may cause restarting of services. (Changing ec2 instance type, changing AMI, etc)

Which service(s) is this request for? ECS, ALB

Giaco9 commented 3 years ago

@RuslanHryn how do you deploy your services? I think would be pretty easy to define deploy ordering with any IaaC tool

RuslanHryn commented 3 years ago

@Giaco9 This is not only about deployment. In some cases, services may be restarted. For example, when changing ec2 instance type, when changing AMI of instance etc.