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 回答
0
已接受的回答

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

已回答 6 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则