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.22k stars 321 forks source link

Clone ECS Service into another Cluster #197

Open pilgrim2go opened 7 years ago

pilgrim2go commented 7 years ago

Hi,

In my production service, we use 2 cluster permanent cluster autoscale cluster There are some services we need them in both clusters. That leads to my question Can ECS support clone service in multiple clusters in the future? That helps us a lot and better to have an API to clone ECS service.

Thoughts?

nmeyerhans commented 7 years ago

Hi @pilgrim2go. Thanks for the suggestion. I wonder how much of this belongs in the ECS service itself and how much may be more appropriate for the ECS CLI or other developer tooling. What would you envision as a preferred workflow for cloning services between clusters?

pilgrim2go commented 7 years ago

@nmeyerhans : I'm not pretty sure. Task Definition is a standalone object. I can be run into any cluster. Service could be a standalone object and then we can run it into any cluster also. Why not? I'm asking this since creating service in UI is not simple as was before. Now we have to configure ALB/Target Group and Auto Scaling. So a simple clone in service and simply selecting new cluster is much more easier for me and less error prone.

lodotek commented 6 years ago

+1

axemaster commented 6 years ago

+1

sauravy commented 6 years ago

+1

mtruebe commented 6 years ago

+1

hslavchev commented 5 years ago

This would be great!

whereisaaron commented 5 years ago

Please show some manners and support the idea by thumbs-up on the original post, rather than wasting people’s time and inboxes with +1 posts.

@pilgrim2go if your services are compatible with EKS then it supports multiple node groups per cluster, so you can have both a fixed and autoscale node groups in a cluster, then run services on the cluster and utilize both node pools.

geronimo-iia commented 4 years ago

Hello, I have the same use case (two cluster on demand/spot with autoscaling). We simply declare a service on each with specific autoscaling configuration (all this stuff is scripted). AMHO, I think if you just 'clone' ie: change cluster target of your service, it's not enough. You have to deal with specific deployment constraint also.

Genebson commented 5 months ago

Any update on this?