We have created AWS EC2 instance on Asia it Pacific(Mumbai) Zone on Shared Hardware rental type.We are trying to start an instance after shut it down we are getting popup ec2 error starting instances insufficient capacity message on screen.On white papers it is mention like this,Try to launch new ec2 instance but as we have in basic plan it is now allowing to create new instance on another zone.
How to resolve this issue.
According to the documentation, getting an InsufficientInstanceCapacity error when launching or restarting an instance means that Amazon does not have enough capacity to serve your request. There are a few options: Waiting for a while and trying again. Launching an instance without specifying an availability zone.
If AWS doesn't currently have enough available On-Demand capacity to complete your request, you'll receive the following InsufficientInstanceCapacity error: "An error occurred (InsufficientInstanceCapacity) when calling the RunInstances operation (reached max retries: 4).
There are multiple reasons why you might not be able to launch or start your EC2 instance. If you don't receive an error code when attempting to start the instance, run the describe-instances command in the AWS Command Line Interface (AWS CLI). Then, specify the instance ID to view the reason for the problem.
To view your Amazon EC2 service quotas, open the Amazon EC2 console and then choose Limits from the navigation pane.
Why ‘Insufficient instance capacity’ error occurs in AWS Generally, this error occurs while launching a new instance or while starting an already stopped instance. This happens if AWS doesn’t have enough available On-Demand capacity to serve the request. For instance, the error appears as below.
If you get an InsufficientInstanceCapacity error when you try to launch an instance or restart a stopped instance, AWS does not currently have enough available On-Demand capacity to service your request.
There are multiple reasons why you might not be able to launch or start your EC2 instance. If you don't receive an error code when attempting to start the instance, run the describe-instances command in the AWS Command Line Interface (AWS CLI). Then, specify the instance ID to view the reason for the problem.
The reason you receive this error is because the availability zone (into which you are attempting to launch an instance) is out of capacity.
According to the documentation, getting an InsufficientInstanceCapacity
error when launching or restarting an instance means that Amazon does not have enough capacity to serve your request. There are a few options:
You can read more here.
This is usually caused by AWS not having enough available On-Demand capacity to complete your request.
Tip : To avoid insufficient capacity errors on critical machines, consider using On-Demand Capacity Reservations[3].
To use an On-Demand Capacity Reservation, do the following :
1. Create the Capacity Reservation[4] in an Availability Zone.
2. Launch critical instances into your Capacity Reservation[5].
Reference : [1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshooting-launch.html#troubleshooting-launch-capacity
[2] https://aws.amazon.com/premiumsupport/knowledge-center/move-ec2-instance/
[3] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html
[4] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-using.html#capacity-reservations-create
[5] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-using.html#capacity-reservations-launch
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With