Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Migrate LaunchConfiguration to LaunchTemplate #95

Merged

Conversation

sgallen
Copy link
Contributor

@sgallen sgallen commented Nov 21, 2022

Motivation:

The following message from AWS has prompted us to migrate from launch configurations to launch templates.

Amazon EC2 Auto Scaling no longer adds support for new EC2 features to launch configurations and will stop supporting new EC2 instances types after December 31, 2022. We recommend that customers using launch configurations migrate to launch templates.

Launch template documentation.

Solution:

I've adjusted the CloudFormation template to leverage a launch template instead of a launch configuration. Through manual testing, the changes appear to be working as expected. I tested with and without a SpotPrice being specified.

@sgallen sgallen force-pushed the bugfix/migrate-to-launch-template branch from 5fb54ab to 38ab0e8 Compare November 21, 2022 16:42
@sgallen sgallen force-pushed the bugfix/migrate-to-launch-template branch from 38ab0e8 to 0f6731b Compare November 21, 2022 16:46
@andreaswittig
Copy link
Contributor

@sgallen Thanks a lot for contributing to this project.

template.yaml Outdated Show resolved Hide resolved
template.yaml Outdated Show resolved Hide resolved
@andreaswittig
Copy link
Contributor

Thanks a lot, @sgallen!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants