Sign inSign up

pjay/ecs-ami-updater

By pjay

•Updated about 6 years ago

Is the EC2 ECS host booted from the most up-to-date AMI? If not, updates a Cloudformation stack.

Image
0

2.7K

pjay/ecs-ami-updater repository overview

⁠ecs-ami-updater

Checks if the EC2 hosts running ECS have been booted from the most up-to-date AMI, and if not, updates a Cloudformation stack

⁠Expectations

There are a few:

  • The container will have IAM role permissions to call:
    • ecs:ListAttributes
    • ssm:GetParameter
    • cloudformation:UpdateStack
  • The Cloudformation stack to be updated will have the AMI ID as a parameter called ECSAMI
  • The Cloudformation stack itself, and the ECS cluster will be given as arguments to the container invokation
    (e.g. docker run image stack_name cluster_name)

Tag summary

Content type

Image

Digest

Size

50.7 MB

Last updated

about 6 years ago

docker pull pjay/ecs-ami-updater