30th November 2022

Amazon EC2 Launch Configurations deprecation

How to migrate to Launch Templates Amazon EC2 Launch Configurations will deprecate support for new instances from December 2022
AWS Compute

Amazon EC2 Launch Configurations deprecation

Users of AWS Launch Configurations will have received communication from AWS this week concerning the deprecation of new EC2 instances within EC2 Launch Configurations.

This comes following AWS's announcement last year that Launch Configurations were being phased out, with the newer Launch Templates replacing them.

The change announced this week further cements the need to migrate away from Launch Configurations in order to make use of newer instance types like the range of instances utilising the new arm64 Graviton processors. While existing t4g, r6g, m6g and c6g instance types are available in Launch Configurations currently, any newer instance types will not be available.

Screenshot of AWS console, choosing an instance type within the deprecated AWS EC2 Launch Configurations

Launch Configurations vs Launch Templates

An EC2 Launch Configuration is an instance configuration template that an Auto Scaling group uses to launch EC2 instances. The Launch Configuration specifies information for the instances, including the ID of the Amazon Machine Image (AMI), the instance type, the key pair used for SSH access, and details of the security groups associated with the instance.

Launch Configurations were released all the way back in 2010, and users of EC2 that have previously used Launch Configurations, or users of Elastic Beanstalk on older platform versions will likely have used Launch Configurations and may be affected by this change.

The successor to Launch Configurations is Launch Templates which AWS released in 2017 as a way to simplify the launch process for Auto Scaling and On-Demand Instances. Just like Launch Configurations, Launch Templates define the steps required to create an instance, by recording all required instance parameters in a resource that can be used across multiple services. AWS have maintained Launch Configurations alongside Launch Templates but the newer features added to Launch Templates have not been backported to Launch Configurations.

Launch Templates also have a range of other benefits over Launch Configurations, including the ability to mix instance and CPU architectures and improved governance through the use of IAM controls and versioning of the templates.

Launch Configuration deprecation schedule

The annoucement from AWS provides the following key dates:

  • December 31, 2022 - No new EC2 features or new EC2 instance types will be added to launch configurations after this date.
  • March 31, 2023 - New accounts created after this date will not be able to create new launch configurations via the console. API and CLI access will remain available to support customers with automation use cases.
  • December 31, 2023 - New accounts created after this date will not be able to create new launch configurations.

Removing deprecated Launch Configurations from Elastic Beanstalk

Users of older Elastic Beanstalk platform versions may have Launch Configurations stored in the EC2 console that were created originally by the Elastic Beanstalk engine.

In order to migrate away from Launch Configurations used from Elastic Beanstalk, it will be necessary to re-platform your Elastic Beanstalk application onto a newer, supported platform version. In doing so, and once your old EB application has been terminated, the Launch Configurations used for the old platform version will be removed automatically during the EB termination process.


Read more about Launch Configuration deprecation at the offical AWS blog page: https://aws.amazon.com/blogs/compute/amazon-ec2-auto-scaling-will-no-longer-add-support-for-new-ec2-features-to-launch-configurations/

Do you have any thoughts on this article? Get in touch: hello@sinovi.uk

About the author

James Galley

An AWS-certified developer, James architects and produces cloud-based web applications using Amazon Web Services. Recent projects include high-throughput event driven applications using Kinesis and DynamoDB, fully serverless web applications powered by AWS Lambda and high-performance static sites deployed to S3.

Profile image of James Galley
contact us

We're here to help

Contact us to learn more about our AWS support, management and infrastructure services. We can assist you in making your own EC2 and Elastic Beanstalk updates safely and securely.

We're a software development and cloud consultancy, operating as an outsourced technology partner for businesses - building, hosting and maintaining functional web based applications in the AWS cloud with trusted web technologies.

Discuss your next project