I'm curious how I can ask to launch EC2 instance in any AZ, using AWS CLI? Currently, I'm using "aws ec2 run-instances .... --subnet-id subnet-xxxx", where subnet-xxxx is one of subnets for my custom VPC, located in specific AZ.
Thanks, Vitaly
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
Why would I get this error on a dedicated host? Thats what I'm getting for a dedicated mac host - m2.metal. "Failed to start the instance i-092ca07b85cd0a87c Dedicated host h-0c86b2bf6ea52b192 has insufficient capacity to launch the instances in this request."...
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
Is this related to a lack of capacity for AWS EC2 instances overall, or a lack of capacity for AWS EC2 instances at the user's specific organization?
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
It is worth noting that this option: "If you're launching an instance, then submit a new request, but don't specify an Availability Zone." is only applicable for the default VPC. This option is not available for non-default VPCs
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago