compose-x / ecs_composex

Manage, Configure and Deploy your services and AWS services and applications from your docker-compose definitions
https://docs.compose-x.io
Mozilla Public License 2.0
158 stars 16 forks source link

Capacity Provider Creation #742

Open chughrahul opened 3 months ago

chughrahul commented 3 months ago

Hi @JohnPreston

Is there any method that can create a new Capacity Provider from an existing auto scaling group? Or even better, if the auto scaling group can be created from the compose-x along with the capacity provider? If yes, can you please provide a template for how it can be done?

Use case- I'm creating a compose-x from my docker compose so as to deploy every service from start to end on aws. These include cluster creation (platform - EC2 containers), service creation, auto scaling group, capacity providers, load balancers etc.

JohnPreston commented 3 months ago

Thanks for the PR. Just so I am clear, you want to create a new Capacity Provider from an existing ASG? Would you like to also be able to create new ASGs based on an existing Launch Template? Would you like for compose-x to have an opinionated "default" LT/ASG config?

I used to have implemented that with SpotFleet but then Fargate <3

chughrahul commented 3 months ago

Yes I want to create new Capacity Provider from an existing ASG as I deploy my services on EC2. Even better if I would be able to create new ASG based on existing Launch Template, map capacity providers to it and create a cluster with that capacity provider. Any idea how I can achieve this?

chughrahul commented 3 months ago

Hi @JohnPreston , Is there any solution for the issue I mentioned?

JohnPreston commented 3 months ago

That will be a new feature :)

JohnPreston commented 2 months ago

Will add for 1.2.0

JohnPreston commented 2 months ago

Will be done via #754