Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to support Amazon Linux 2 #24

Open
jedateach opened this issue Mar 26, 2019 · 3 comments
Open

Update to support Amazon Linux 2 #24

jedateach opened this issue Mar 26, 2019 · 3 comments

Comments

@jedateach
Copy link

There are some user_data.sh incompatibilities with Amazon Linux 2 which prevent container instances from booting with connectivity to your ECS cluster.

@jedateach jedateach changed the title Updates to support Amazon Linux 2 Update to support Amazon Linux 2 Mar 26, 2019
@lethaldose
Copy link

lethaldose commented Apr 25, 2019

i got it working using the docs here: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_cloudwatch_logs.html
and using the new ecs optimized ami:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html

metadata can only accessed be inside the service as ecs agent starts after cloud init

@jedateach
Copy link
Author

Yep, that's what would be good to merged back into this repo. 👍

@lethaldose
Copy link

lethaldose commented May 6, 2019

as a quick reference user_data.sh looks like this: https://gist.github.com/lethaldose/4103a64320b93475d7b308523b4a6c68

assuming the ecs_cluster uses new amis.
i could try to create a merge request but i am not sure whether it will be a new branch for amazon_linux_2, or a will it be a configuration variable in current terraform script which allows user to choose one of the two linux versions

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

No branches or pull requests

2 participants