widdix / aws-s3-virusscan

Antivirus for Amazon S3
https://bucketav.com/
Apache License 2.0
525 stars 127 forks source link

Migrate LaunchConfiguration to LaunchTemplate #95

Closed sgallen closed 1 year ago

sgallen commented 1 year ago

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.

andreaswittig commented 1 year ago

@sgallen Thanks a lot for contributing to this project.

andreaswittig commented 1 year ago

Thanks a lot, @sgallen!