aws / aws/amazon-ssm-agent

How to register amazon-ssm-agent on ubuntu with different AWS SSM Patch baseline?

Open
#527 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am using ubuntu 20.04 machines with AWS SSM and amazon-ssm-agent snap package to manage said machines via SSM.
In AWS Systems manager (SSM) i have default patch baseline, which is used by all new machines, and i have created a new 'test baseline' with different versions of patches.

question is - how to configure ssm-agent on the ubuntu machine to use different patch baseline rather than default one?

I am using following command to register the ubuntu machines:

```
sudo /snap/amazon-ssm-agent/current/amazon-ssm-agent -register \
-tags 'Key=PatchGroup,Value=default-group' \
-code "$CODE" \
-id "$ID" \
-region us-east-1 -y
```

thanx

Contributor guide

Open the contributing guide

Research direction

Review the AWS Systems Manager patch-baseline and PatchGroup registration flow invoked by the amazon-ssm-agent -register command shown in the issue. Start with the Ubuntu 20.04 snap command and determine how association with a non-default baseline should be configured; done means documenting the required configuration and how to verify it on a test instance.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go, ubuntu
Domain
cloud, devops, infrastructure
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.