- Newest
- Most votes
- Most comments
The instance types "mi7.large" and "mi7-flex.large" are not valid instance types for use in an AWS::AutoScaling::LaunchConfiguration in CloudFormation.
When specifying an instance type for a launch configuration, you must use a valid EC2 instance type that is supported by AWS. The "mi7" and "mi7-flex" instance families do not exist in the current AWS EC2 instance type offerings.
Valid instance types follow specific naming conventions. For example, general purpose instances might use names like "t3.micro", "m5.large", or "m6i.xlarge". Compute optimized instances might use names like "c5.large" or "c6g.xlarge".
To use a valid instance type in your CloudFormation template for a launch configuration, you should choose from the available EC2 instance types. These typically include families such as t3, m5, c5, r5, and others, followed by a size designation like nano, micro, small, medium, large, xlarge, etc.
If you're unsure about which instance types are available in your specific region or Availability Zone, you can use the AWS CLI or AWS Management Console to check the available options. It's important to select an instance type that is supported in your desired region and AZ to avoid deployment errors.
Remember that instance type availability can vary by region and Availability Zone, so always verify that your chosen instance type is supported in the location where you plan to deploy your resources.
Sources
AWS::AutoScaling::LaunchConfiguration - AWS CloudFormation
AWS::AutoScaling::AutoScalingGroup PerformanceFactorReferenceRequest - AWS CloudFormation
LaunchConfiguration - Amazon EC2 Auto Scaling
It's m7i.large or m7i-flex.large, not mi7.large or mi7-flex.large. Also, not all instance types are available in all regions. You can check from the "Instance types" view available in the EC2 console which instance types are available in the local region.
AWS has a lots of types of instance available, you can visit their Instance-types page and find the appropriate instance according to your use-case.
As per your message I can see you required M7i or M7i-flex(There is a typo in your question there is no such instance available Mi7 or Mi7-flex) type of instances. Please refer below two links. Thank you
- https://aws.amazon.com/ec2/instance-types/#:~:text=Amazon%20EC2%20M7i%20instances%20are%C2%A0powered%20by%204th%20Generation%20Intel%20Xeon%20Scalable%20processors%20and%20deliver%2015%25%20better%20price%20performance%20than%20M6i%20instances.
- https://aws.amazon.com/ec2/instance-types/#:~:text=Amazon%20EC2%20M7i%2Dflex%20instances%C2%A0are%20powered%20by%204th%20Generation%20Intel%20Xeon%20Scalable%20processors%20and%20deliver%2019%25%20better%20price%20performance%20than%20M6i%20instances.
answered 2 years ago
Relevant content
asked 9 years ago
