It sounds like you’ve simply hit your VPC quota limit. In most cases you can simply request a limit increase. First, I’d recommend taking a look at this page in our VPC docs which goes over limits:
Here’s how to check your limits in the EC2 console:
Any advice on which limit I have hit?
I have read the limits documentation and the limits page in the AWS Console for this account. My problem is that it's not immediately obvious which of the 30+ limits I have hit.
I am fairly certain it's not the stated "Security Group per instance" but I don't have any evidence for the others... My gut feel is that I hit the "vCPU for running instance" but the math didn't work out...
Want to close the loop on this: the problem has been identified in our application that uses SDK.
We failed to clear the Security Group list in between loops, so while I thought I was launching 6 instance with 1 group each; I am in reality launching 1 instance with 1 group, 1 instance with 2 groups... And the 6th instance with 6 groups fails.
The only complaint is that the error message was a little misleading:
This is the error:
"errorMessage": "You have exceeded the number of VPC security groups allowed per instance.",
But in reality, we didn't hit the "Security groups per instance" limit (which is 8); we hit the "VPC security groups per elastic network interface" limit (which is 5).
how to delete Security Groups referenced by other security groups, or are associated with instances or network interfaces?asked 3 months ago
New account has subnets, security groups, and VPCs in 17 regions.asked 7 months ago
New EC2 instances don't existasked 2 years ago
I am not able to ssh to EC2 instancesasked 7 months ago
i have 1 instances and i am using application load balancerasked 2 months ago
Unable to create/select existing Security groups while launching DB instancasked 2 years ago
Failed to start the instance i-25e3b943. Insufficient capacity.asked 3 months ago
AWS DNS Problem or am I too stupid?asked a year ago
"Exceeded" VPC security groups limit when launching instances with one sgasked a year ago
Problem joining EC2 instances to MS AD when launching, and 30 days laterasked 2 years ago