5

I'm trying to create an autoscaling group from a launch configuration which was created from an ec2 AMI. However, in the second step, 'Configure Settings', I get an error message when I click 'Next'. I tried reviewing my first step but could not find anything on CpuOptions nor could I find anything about CpuOptions in the launch configuration that I specified as part of the autoscaling group.

Autoscaling group Error message from autoscaling setup

Launch template

enter image description here

minh ly
  • 143
  • 2
  • 12
  • How about including the launch template in your question? This error is almost certainly referring to the "Unlimited CPU" option that is available on T3 instance types. – Mark B Mar 15 '21 at 14:04
  • I've now included a screenshot of the template console. Again I tried to look at the template and couldn't find any configure cpu options for the t2.micro instance or the image the template works off of. – minh ly Mar 15 '21 at 14:33
  • You still aren't providing enough information in your question. What is in your launch template's "Advanced Details" tab? – Mark B Mar 15 '21 at 14:40
  • Advanced Details provided – minh ly Mar 15 '21 at 14:48
  • What if you change `T2/T3 Unlimited` so it just shows a `-` blank value instead of "Standard"? – Mark B Mar 15 '21 at 14:52
  • I get the same error message after changing the launch template to both 'unlimited' and "don't include in launch template" under 'Credit Specification' in 'Advanced details'. – minh ly Mar 15 '21 at 15:14
  • Are you specifying any of these options somehow? https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html#instance-specify-cpu-options I'm not even sure where that would show up in the launch template. – Mark B Mar 15 '21 at 15:35
  • No I didn't specify these because, as the error message states, the t2.micro doesn't support these options. I couldn't find these options in the launch template either. – minh ly Mar 15 '21 at 17:27

1 Answers1

3

Did you create the template from an existing t2.micro instance? I had the same problem when I did that. The problem went away when I created a new template from scratch, i.e. manually selecting the AMI and instance type etc.

woshishui
  • 1,906
  • 2
  • 15
  • 22
  • In the end, that was what I did. This seems to be a bug in AWS as others on the AWS forum have encountered this as well. I'd say at this point to avoid creating launch templates from AMIs and manually create your launch templates. – minh ly Apr 01 '21 at 16:39
  • so, it's must be a new bug due to an update or something. Because I follow a tutorial ( https://www.youtube.com/watch?v=3hLmDS179YE ) Oct 2019. He did it great, but when I do the same thing, this error hit me. And the worst part is, likely there's no solution yet, at least on the official site as far as i know. – Muhamad Rafi Pamungkas Apr 03 '21 at 21:27