Skip to content

Instance failing to start from stopped state with error insufficient capacity

-1

I am starting the ec2 instance which is in stopped state. Then I am encountering following issue on continuous intervals. I refer the below docs, and it says try after some time. It looks like having some many AWS users creating problem over management. Do they is any solution or practice / hack apart from saying - try after sometime, start one by one instance.

** Error: ** Failed to start the instance i-0fc7f1ee50f8b9ee1 due to insufficient capacity. Amazon EC2 doesn't have capacity at this time to launch your instances. While we continuously manage and add capacity, availability of your preferred instance type in your preferred Availability Zone is not guaranteed. Docs: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshooting-launch.html#troubleshooting-launch-capacity

asked a month ago103 views

2 Answers
1

The common workaround for launches—re-sending the request without specifying AZ—cannot be used to restart stopped instances. Effectively, there are limited workarounds available.

1. Temporarily change the instance type (most practical approach)

This is the most commonly reported practical workaround. Simply switching to a type with similar specifications within the same generation and family (e.g., using m5a.large or m6i.large if m5.large is unavailable) is often enough to avoid capacity issues. You can revert to the original instance type later.

2. Create an On-Demand Capacity Reservation

This mechanism allows you to reserve capacity for a specific AZ and instance type in advance. For critical production instances, this is worth considering as a permanent solution.

answered a month ago

EXPERT

reviewed a month ago

0

When you encounter an insufficient capacity error while starting a stopped EC2 instance, it means AWS doesn't currently have enough available On-Demand capacity in that specific Availability Zone to fulfill your request. While waiting and retrying is one option, there are several other approaches you can take:

Immediate alternatives:

  • Create a new instance from a snapshot in a different Availability Zone - This allows you to move your workload to an AZ with available capacity
  • Try a different instance type - Submit a new request using a different instance type that may have better availability
  • Launch without specifying an Availability Zone - Let AWS automatically select an AZ with available capacity

Proactive solutions:

  • Configure alternate instance types - If you're using Instance Scheduler or similar automation, you can configure a prioritized list of alternate instance types. The system will automatically attempt to resize your instance to alternative types (that are compatible with your configuration) if the preferred type encounters capacity issues
  • Reduce the number of instances - If you're starting multiple instances simultaneously, try starting them in smaller batches

Important considerations:

  • Any alternate instance type must be compatible with your instance's current configuration (AMI, storage, networking, etc.)
  • Capacity constraints are typically temporary and vary by region, AZ, and instance type
  • Different instance types and AZs may have different availability at any given time

These approaches can help improve your instance availability in capacity-constrained situations beyond simply waiting and retrying.
Sources
Troubleshoot Amazon EC2 instance launch issues - Amazon Elastic Compute Cloud
Resolve insufficient instance capacity errors in Lightsail - Amazon Lightsail
Handling EC2 Insufficient Capacity Errors - Instance Scheduler on AWS

answered a month ago

EXPERT

reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.