Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone ECS Service into another Cluster #197

Open
pilgrim2go opened this issue Jun 22, 2017 · 9 comments
Open

Clone ECS Service into another Cluster #197

pilgrim2go opened this issue Jun 22, 2017 · 9 comments
Labels
ECS Amazon Elastic Container Service Proposed Community submitted issue

Comments

@pilgrim2go
Copy link

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
Copy link

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
Copy link
Author

@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
Copy link

lodotek commented Mar 16, 2018

+1

3 similar comments
@axemaster
Copy link

+1

@sauravy
Copy link

sauravy commented Jun 26, 2018

+1

@mtruebe
Copy link

mtruebe commented Aug 16, 2018

+1

@abby-fuller abby-fuller transferred this issue from aws/amazon-ecs-agent Mar 6, 2019
@abby-fuller abby-fuller added ECS Amazon Elastic Container Service Proposed Community submitted issue labels Mar 7, 2019
@hslavchev
Copy link

This would be great!

@whereisaaron
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ECS Amazon Elastic Container Service Proposed Community submitted issue
Projects
None yet
Development

No branches or pull requests

10 participants