Cloudformation - Update CIDR Range in Stack WITHOUT Terminating All RDS, ELB's Instances

0

My client is try to increase the number of IP's available on a particular subnet for changing their CIDR range. The environment provisioning involved is driven by CloudFormation almost entirely. Is there a way to gracefully change the CIDR range without having to rebuild the entire CloudFormation stack? Otherwise, the client will need to migrate data off of the RDS databases at least into the new stack with the expanded CIDR range.

Thanks

1 réponse
0
Réponse acceptée

I think the best way to handle that is to add more subnets to the VPC. Exactly how they do that will depend on what their CF template looks like.

If the customer can't create any more subnets (i.e. because they've filled up the entire VPC's CIDR range) then the customer can add an additional CIDR block to the VPC, and then create the new subnets in that new range:

https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html#vpc-resize

répondu il y a 6 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions