2 Answers
- Newest
- Most votes
- Most comments
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:
=====
-
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.
-
[+] 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.
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated 5 months ago
