-
Notifications
You must be signed in to change notification settings - Fork 4
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
Cloudformation stack creation fails due to insufficient Elastic IPs #243
Comments
I've learned that this problem has a viable (if frustrating) explanation:
When digging through the Stacks in CloudFormation, I finally noticed the Deleted filter (whose stacks are hidden from the default filter) and was able to find a single, repeated type of error from this morning's repeated failures: |
Well, it appears that we're allocating "too many" Elastic IPs in our account/region: And this will be a problem, since we've already got 4 of the 5 allowable addresses allocated: This is where the limit is documented: |
So for us to continue developing a test-vs-staging-vs-production infrastructure (plus all the one-off deploys from other teams), we're likely to need to request an increase in the Elastic IPs limit on our account - otherwise, only one test stack can be deployed at a time, making it very hard for multiple engineers to work simultaneously. Requesting an increase to these limits has one somewhat-mystifying question we need to resolve:
|
Here's how to request an increase: |
I just mentioned this in #239, but I'll say it here also. I don't think we need separate VPCs in order to have isolated test/staging/production environments. Budget aside, as long as we have separate ECS clusters and ALBs, then we have isolation. Including budgets, it's important to be aware that a single NAT gateway costs ~$30/mo. |
Will merge this with #239 |
When creating a new stack based on our CloudFormation stack templates, I have repeatedly run into situations where the stack creation fails and rolls back, claiming some combination of failures to do with the VPC and its resources, e.g.:
The text was updated successfully, but these errors were encountered: