Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failure to launch Amazon EC2 non free instances

I need to launch a Amazon EC2 instance, in particular a GPU accelerated one. I already tried with free tiers using t2.micro instances and everything is fine. When I try to select a non free one such as g2.2xlarge I get this error

Launch Failed

You have requested more instances (1) than your current instance limit of 0 allows for the specified instance type. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit.
(Service: AmazonEC2; Status Code: 400; Error Code: InstanceLimitExceeded; Request ID: 4ebf71ee-e927-42c2-8377-697a3a6cfd4b)

I'm trying to use a machine with Deep Learning AMI Ubuntu Version (but I also tried with other ones). I get this error even if I'm not running any other instance and according to the documentation the limit for these one is 5 at a time. I have also tried to select different regions (my country is not among the choices) but it doesn't seem to change the result.

My only guess about this issue is that somehow I'm registered as a free user and I'm not allowed to use the priced services, but I'm not so sure about that.

Edit: I have a credit card on file on Amazon (they require it to register) and they should charge me from that.

Am I missing something?

like image 612
Sandro Avatar asked Mar 30 '17 15:03

Sandro


People also ask

What could cause the EC2 instances to fail to launch?

There are several reasons you might receive this error: An Amazon Elastic Block Store (Amazon EBS) volume isn't correctly attached to the instance. An EBS volume that's attached to the instance is in an ERROR state. An encrypted EBS volume is attached to the instance.

Do you pay for EC2 instances that are stopped?

Stopped instances don't incur charges, but Elastic IP addresses or EBS volumes attached to those instances do. To disassociate an Elastic IP address from an instance, see Disassociating an Elastic IP address.

Does not exist launching EC2 instance failed?

Launching EC2 instance failed. Cause: You might have just created your AMI (by taking a snapshot of a running instance or any other way), and it might not be available yet. Solution: You must wait for your AMI to be available and then create your launch template or launch configuration.

Why is my EC2 instance not working?

Verify that your instance is ready Check your instance to make sure it is running and has passed its status checks. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/ . In the navigation pane, choose Instances, and then select your instance.


1 Answers

Every amazon account has limits - even big corporate accounts. These limitations are set by Amazon, but you can request a limit increase. You can find your limits by clicking the Limits link in the top left hand side inside the EC2 Dashboard.

For example, if you have a t2.micro already running and you try to launch a g2.xlarge that had a limit of 1, you would not be able to since your limit of 1 has already been hit with your t2.micro that is running.

More Info:

  • How do I manage my AWS service limits?

  • AWS FAQ Overview

    • Q: How many instances can I run in Amazon EC2?

To request a limit increase, submit a support request through the AWS Support Center

To view your limits: enter image description here

like image 118
Sathed Avatar answered Oct 20 '22 08:10

Sathed