aws / amazon-ssm-agent

An agent to enable remote management of your EC2 instances, on-premises servers, or virtual machines (VMs).
https://aws.amazon.com/systems-manager/
Apache License 2.0
1.06k stars 324 forks source link

Update amazon-ssm-agent systemd unit files to start after important services on boot #582

Open thimslugga opened 3 months ago

thimslugga commented 3 months ago

Issue #, if available:

Description of changes:

The Amazon SSM Agent should be started after networking and dns available and should not start until after cloud-init has finished to prevent yum/dnf lock contention like issues.

There's numerous threads of AL2023 and lock contention issues.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.