`VcpuLimitExceeded: You have requested more vCPU capacity than your current vCPU limit of 32 allows for the instance bucket that the specified instance type belongs to.`
BeginnerTroubleshootingEC2, Auto Scaling and Load Balancing
Answer
Likely causes → You have hit the account's vCPU-based On-Demand quota for that instance family group in this Region (for example, "Running On-Demand Standard (A, C, D, H, I, M, R, T, Z) instances").
Diagnose →
aws service-quotas get-service-quota --service-code ec2 --quota-code L-1216C47A
aws ec2 describe-instances --filters Name=instance-state-name,Values=running \
--query 'Reservations[].Instances[].InstanceType' --output text | tr '\t' '\n' | sort | uniq -c
Fix →
- Terminate unused instances
- Request an increase:
aws service-quotas request-service-quota-increase --service-code ec2 --quota-code L-1216C47A --desired-value 128
Prevent → Watch quota usage with CloudWatch AWS/Usage metrics and Trusted Advisor. Raise quotas before launches and DR tests, not during them.