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
질문됨 일 년 전2996회 조회
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
답변함 일 년 전
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인