AWS users often face the instance limit exceeded error when they try to launch a new instance or restart a stopped instance.
As a part of our AWS Support Services, we help our Customers to fix AWS related errors regularly.
Let us today discuss the possible causes and fixes for this error.
What is the instance limit exceeded error in AWS?
A default limit on the resources per-Region exists for each AWS account. For instance, there is a limit on the number of instances that you can launch in a Region.
At times when we try to launch a new instance or restart a stopped instance, it triggers the InstanceLimitExceeded error. It generally happens when the default limit of instances per region exceeds.
A typical error message looks like the one below:
Let us now discuss the steps to view the resource limit from Amazon EC2 console.
How to view the current resource limit?
Before we get into the steps to fix the error message, it is important to identify the default limit set for each resource in the region.
We can use the EC2 Limits page in the Amazon EC2 console to view the current limits for resources provided by Amazon EC2 and Amazon VPC. This provides us an idea of the resource limits on a per-Region basis.
To view the current limits, follow the steps given below:
- Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
- From the navigation bar, select a Region.
- From the navigation pane, choose Limits.
- Locate the resource in the list. You can use the search fields to filter the list by resource name or resource group.
The Current limit column displays the current maximum for the resource for your account.
How to fix the instance limit exceeded error in AWS?
Increasing the instance limit will help to fix this error. We could perform this either from the Amazon EC2 console or could request an increase using Service Quotas.
Request a limit increase
To request a limit increase using the Amazon EC2 console, follow the steps given below:
- Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
- From the navigation bar, select a Region.
- Now, from the navigation pane, choose Limits.
- Select the resource in the list, and choose Request limit increase.
- Complete the required fields on the limit increase form.
You can request an instance limit increase on a per-region basis.
Request a Service Quota increase
To request a service quota increase, follow the steps given below:
- Open the Service Quotas console at https://console.aws.amazon.com/servicequotas/
- In the navigation pane, choose AWS services.
- Choose a service from the list, or type the name of the service in the search box.
- If the quota is adjustable, you can choose its button or its name, and then choose Request quota increase.
- Change quota value, enter the new value. The new value must be greater than the current value.
- Choose Request. After the request is resolved, the Applied quota value for the quota is set to the new value.
[Need any further assistance in fixing AWS errors? – We’re available 24*7]
Conclusion
In short, when we try to launch a new instance or restart a stopped instance, it at times triggers the InstanceLimitExceeded error. It generally happens when the default limit of instances per region exceeds. Today, we saw how our Support Engineers fix this error.
0 Comments