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
feita há um ano3017 visualizações
3 Respostas
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
respondido há um ano
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
respondido há 10 meses
0

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

respondido há 3 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas