Auto scaling group - ASG, error at creation

0

Hi,

I am getting an error while creating an auto scaling group in AWS.error

Auto Scaling group could not be created The InstanceRequirements in MixedInstancesPolicy.Overrides[0] does not match any instance type in the availability zones us-east-1c, us-east-1b, us-east-1a

  • Could you please elaborate more on this ? Particularly the overrides section which you are using in your launch template. I am just guessing that you are not proving correct instance type in accordance with mixed instance policy which is available in us-east-1

Roh2023
asked a year ago2722 views
3 Answers
1

This is the result of specifying an instance type configuration that does not resolve to instances available in the specified Availability Zones (AZ). To address this, specify instances in your overrides section that show they are available in the specific AZs you plan to use. You can use this CLI command to check specific instance type availability in an Availability Zone - https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instance-type-offerings.html.

If you are using Attribute Based Instance Selection, be sure to use the console capability to "Preview matching instance types" to ensure that your attributes produce a match to instances. If none are listed, then your configuration needs to be modified and the console will give realtime feedback on the count of matching instances.

AWS
ASGDude
answered a year ago
0

You need to check the if Launch Template you are using to create the Auto Scaling Group has the option set for the Instance Type (remember to select the new version when creating the Launch Configuration):

eg. Enter image description here

If you don't want to change the Launch template, you can override the template setting when creating your Auto Scaling Group:

eg. Enter image description here

profile pictureAWS
valdeci
answered 10 months ago
0

This is because while you were creating the Template you did not select any Instance Type after selecting AMI.

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions