bottlerocket-os / bottlerocket-ecs-updater

A service to automatically manage Bottlerocket updates in an Amazon ECS cluster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check if Bottlerocket has Update Available

webern opened this issue · comments

The Updater needs to use SSM Documents (which, per design discussions, should be created via the updater's CloudFormation stack) which allow it to check Bottlerocket's API to check if an update is available.

Create the SSM Documents and run them in the updater's Fargate task. You can stdout the answer to verify it is working. You can use the Integ Test to launch instances (perhaps modifying it to wait a while before terminating the instances).

Edit: later this can be via SSM Documents #28

I think we can start off without SSM documents and create the documents later, after everything else is hooked up.

The general workflow here is:

  • For each instance in the cluster that is a Bottlerocket instance,
  • Run a command via SSM to determine whether an update is available for that instance, using the apiclient

Prepared SSM documents are tracked in #28.

Looks like this has already been addressed and SSM Documents is being tracked in #28. See no reason to keep this open.