Skip to content

More than 10 ASG targets for CodeDeploy deployment group

0

Hi there,

We are using Terraform to setup one ASG per customer and then using CodeDeploy via CodePipeline to deploy revisions to all active instances within the ASGs. Previously, we had one CodeDeploy group per customer, but this did not work correctly as some customers would have a minimum instance size of 0 (because they use the platform infrequently), and therefore the CodeDeploy revision would not correctly deploy and not be picked up when a new instance was added.

For this reason, I switched around the infrastructure so that all customer ASGs are deployed to via the same CodeDeploy deployment group, and because there is at least 1 instance on at any one time, the revision goes through correctly and future launches pick up the new revision.

However, we are now approaching the problem where CodeDeploy has a limit of 10 ASGs per deployment group. Is there a way around this via the API, console or Terraform (nothing on the TF docs regarding the ASG limit), or do we have to set up specific infrastructure to have one Deployment Group per 10 customers?

Thank you in advance for any advice.

asked 2 years ago332 views
1 Answer
2
Accepted Answer

Hello.

It is possible to increase the number of AutoScalings associated with CodeDeploy.
Please try applying from Service Quota.
https://docs.aws.amazon.com/codedeploy/latest/userguide/limits.html
a

Please open the URL below from the management console, change it to the region where you are using CodeDeploy, and then try applying.
https://console.aws.amazon.com/servicequotas/home/services/codedeploy/quotas/L-6DACB4EE

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
  • Excellent thank you! I had somehow missed this completely.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.