ec2 instance type not supported specific az
![Taegu Kang](https://cdn.hashnode.com/res/hashnode/image/upload/v1699263568388/564189da-be34-463e-a8b2-0abeca48863a.jpeg)
1 min read
![](https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/SIU1Glk6v5k/upload/24955db2cea52f01d7dde1abaeb698cc.jpeg)
- outline
Sometimes, we can NOT create EC2 instance specific availability zone for some reasons. You can check it using below script, previously.
- example
region : ap-northeast-2
instance type : c5-large
- script
aws ec2 describe-instance-type-offerings --location-type availability-zone --filters Name=instance-type,Values=c5.xlarge --region ap-northeast-2 --output table
- result
$ aws ec2 describe-instance-type-offerings --location-type availability-zone --filters Name=instance-type,Values=c5.xlarge --region ap-northeast-2 --output table
------------------------------------------------------------
| DescribeInstanceTypeOfferings |
+----------------------------------------------------------+
|| InstanceTypeOfferings ||
|+--------------+-------------------+---------------------+|
|| InstanceType | Location | LocationType ||
|+--------------+-------------------+---------------------+|
|| c5.xlarge | ap-northeast-2d | availability-zone ||
|| c5.xlarge | ap-northeast-2a | availability-zone ||
|| c5.xlarge | ap-northeast-2c | availability-zone ||
|| c5.xlarge | ap-northeast-2b | availability-zone ||
|+--------------+-------------------+---------------------+|
- reference
https://aws.amazon.com/ko/premiumsupport/knowledge-center/ec2-instance-type-not-supported-az-error/
0
Subscribe to my newsletter
Read articles from Taegu Kang directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
![Taegu Kang](https://cdn.hashnode.com/res/hashnode/image/upload/v1699263568388/564189da-be34-463e-a8b2-0abeca48863a.jpeg)