- Newest
- Most votes
- Most comments
The error you're encountering is because the m8g.large instance type may not be available in the specific Availability Zone (us-east-1e) you're trying to use, even though you're in the us-east-1 region.
There are a few things to consider:
-
Instance type availability varies by Availability Zone within a region. An instance type might be available in us-east-1a but not in us-east-1e.
-
For Amazon RDS Aurora specifically, m-type instances like m8g.large cannot be used. Aurora only supports certain instance classes, primarily r-type (memory optimized) instances.
-
If you're trying to use this for EC2 or another service that does support m8g instances, you have a few options:
- Try a different Availability Zone within the us-east-1 region
- Choose a similar instance type that is available in your desired Availability Zone
- Use the AWS CLI to check which instance types are available in specific Availability Zones
You can use the AWS CLI to check available instance types in a specific Availability Zone with this command:
aws ec2 describe-instance-type-offerings --location-type "availability-zone" --filters Name=location,Values=us-east-1e --region us-east-1 --query "InstanceTypeOfferings[*].[InstanceType]" --output text | sort
Also, note that there was a typo in your question - you mentioned "m2.medium" which should likely be "t2.medium" as there is no m2.medium instance type in AWS.
Sources
Aurora for RDS - Unable to choose m-type instances like m8g.large | AWS re:Post
Amazon EMR cluster error: Instance type not supported - Amazon EMR
VALIDATION_ERROR_INSTANCE_TYPE_NOT_SUPPORTED - Amazon EMR
answered a year ago
Hello.
Please access the following URL to check which availability zones "m8g.large" is available in.
https://us-east-1.console.aws.amazon.com/ec2/home?region=us-east-1#InstanceTypes:v=3
Search for the instance type you want to use, as shown in the image below.
You can then check the availability zones in which the instance type is available from the "Networking" tab.
https://repost.aws/knowledge-center/ec2-instance-type-not-supported-az-error
Relevant content
asked 2 years ago
asked 3 years ago
asked 3 years ago
