Increasing VPC Limits
VPC and, in fact, all AWS resources come with certain soft/hard limits so that people don't misuse or continue to spin up instances without any requirement. It also helps if your AWS server/account gets hacked and the hacker starts spinning up multiple high configuration servers to give you a billing heart attack.
Getting ready
Limits of various services:
Sr.no | Resources | Default limit | Limit type | Comments |
1 | VPC per region | 5 | Soft Limit | Internet Gateway per region will also increase by the same number |
2 | Subnets per VPC | 200 | Soft Limit | |
3 | EIP per region | 5 | Soft Limit | This limit is for VPC specific resources apart from EC2 |
4 | Flow logs per ENI per region | 2 | Hard Limit | |
5 | Customer Gateway per region | 50 | Soft Limit | |
6 | Internet Gateway per region | 5 | Soft Limit | This is directly related to VPCs and cannot be increased without increasing the VPC |
7 | NAT Gateway per AZ | 5 | Soft Limit | |
8 | Virtual private gateway per region | 5 | Soft Limit | |
9 | NACL per VPC | 200 | Hard Limit | Single NACL can be attached to multiple subnets |
10 | Rules per NACL | 20 | Soft Limit... |