Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ec2 error starting instances insufficient capacity

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.

like image 788
Balaraju M Avatar asked Aug 31 '18 10:08

Balaraju M


People also ask

Why do I receive an insufficient capacity error when launching an EC2 instance?

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.

What does insufficient capacity mean AWS?

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).

Why can't I start or launch my EC2 instance?

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.

How do I find my EC2 instance capacity?

To view your Amazon EC2 service quotas, open the Amazon EC2 console and then choose Limits from the navigation pane.

What does insufficient instance capacity mean in AWS?

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.

Why do I get an insufficientinstancecapacity error when launching an instance?

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.

Why can't I launch or start my EC2 instance?

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.

Why am I getting an instance out of capacity error?

The reason you receive this error is because the availability zone (into which you are attempting to launch an instance) is out of capacity.


2 Answers

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
  • Changing the instance type

You can read more here.

like image 121
Mahdi Avatar answered Sep 19 '22 15:09

Mahdi


This is usually caused by AWS not having enough available On-Demand capacity to complete your request.

  1. For troubleshooting steps, see [1].
  2. If the preceding troubleshooting steps don't resolve the problem, then you can move the instance to another VPC or to another subnet and Availability Zone[2].

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

like image 27
Hastings Keith Avatar answered Sep 19 '22 15:09

Hastings Keith