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 年前檢視次數 2997 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南