Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Migrate to Amazon Linux 2 AMI #97

Open
rania-chantz opened this issue Feb 7, 2019 · 12 comments
Open

Migrate to Amazon Linux 2 AMI #97

rania-chantz opened this issue Feb 7, 2019 · 12 comments

Comments

@rania-chantz
Copy link

The use of the recommended ECS-Optimized AMIs is great, let's migrate it though to use the Amazon Linux 2 ones.

@mrichman
Copy link

mrichman commented Feb 7, 2019

What problem would migrating to Amazon Linux 2 solve for you?

@rania-chantz
Copy link
Author

None actually. But according to this https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-linux-ami-basics.html

If you are migrating from another Linux distribution to Amazon Linux, we recommend that you migrate to Amazon Linux 2. If you are currently using the Amazon Linux AMI, we recommend that you migrate to Amazon Linux 2.

@othercorey
Copy link

There isn't support for sysvinit in Linux 2 so some of the LaunchConfiguration in ecs-cluster.yaml isn't supported if you switch to a Linux 2 AMI.

@waynerobinson
Copy link

I would also like to see this updated. I'd be happy to help and thought that by changing to the ECS-optimised Amazon Linux 2 AMIs that I'd at least get some useful error messages from this architecture to start debugging from, but the instances don't start at all and show no logs anywhere.

@tfentonz
Copy link
Contributor

This will need updating at some point. From Amazon ECS Developer Guide

Amazon ECS-optimized Amazon Linux AMI – This AMI is based off of Amazon Linux 1. We recommend that you migrate your workloads to the Amazon ECS-optimized Amazon Linux 2 AMI. Support for the Amazon ECS-optimized Amazon Linux AMI ends no later than June 30, 2020.

But no rush 😁

@briancaffey
Copy link

Are there any plans to update this? I would like to use Amazon Linux 2 in a CloudFormation stack that I have adapted from this reference architecture. Has anyone successfully updated?

@lodotek
Copy link

lodotek commented Sep 9, 2019

bump

@gabegorelick
Copy link

I hate to pile on, but if the Amazon Linux AMI really won't be supported soon, then we really need the reference architecture to document how to use Amazon Linux 2 well before then.

@krugermil
Copy link

bump ;)

@pgiu
Copy link

pgiu commented Sep 1, 2020

How should we change the script to use Amazon Linux 2?

@bs-thomas
Copy link

I'm also wondering about this.

@briancaffey
Copy link

I have started using CDK instead of using CloudFormation directly. This CDK reference project uses Amazon Linux 2: https://github.com/aws-samples/aws-cdk-examples/blob/master/python/ecs/cluster/app.py#L22, hopefully this can be useful for anyone who needs to switch to Amazon Linux 2.

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

No branches or pull requests