Skip to content

EC2 P3 instance with 16Gib Volume

0

Why is it not possible to create an EC2 P3 instance with 16Gib Volume? I get the following error The instance launch failed. Insufficient capacity. anyone who can help me?

I need to install torch with other libs and I can't run the service since it is truncated due to insufficient space. Anyone who can help me? Enter image description here

Enter image description here

asked 2 years ago378 views
2 Answers
0

Hello Kerly Cervantes,

  • The size of the EBS volume is not based on the EC2 instance size; it's based on the AMI (Amazon Machine Image) you are using to launch the instance. Please provide the minimum required size for your AMI and specify at least that size.
  • By using this AWS CLI command, you can find the required size for the image in GiBs
aws ec2 describe-images --image-ids ami-xxxxxxxxx --query 'Images[0].BlockDeviceMappings[0].Ebs.VolumeSize'
  • If you specified an EBS size less than required for the AMI, you will see something like this:

Enter image description here

=====

  • You may encounter the InsufficientInstanceCapacity error when the AWS region or availability zone you have chosen lacks the necessary On-Demand capacity to provision the requested P3 instances with your specified requirements. This situation arises due to a shortage of available resources that match your instance configuration in the selected deployment area. Enter image description here

  • [+] https://repost.aws/knowledge-center/ec2-insufficient-capacity-errors

answered 2 years ago
0

I don't believe the message you are seeing refers to storage but rather that there is not capacity of P3 instances at this time.

Try the following:

  • choose a subnet in a different AZ
  • launch in another region
  • wait some time and try again

If none of the resolve your issue, you should open a support case for assistance.

AWS
EXPERT
answered 2 years 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.