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
已提问 1 年前3000 查看次数
3 回答
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
已回答 1 年前
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
已回答 10 个月前
0

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

已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则