How to install amazon-ssm-agent
on Red Hat Enterprise Linux

amazon-ssm-agent

Amazon Web Services (aws) Verified account

Agent to enable remote management of your Amazon EC2 instance configuration

The SSM Agent runs on EC2 instances and enables you to quickly and easily execute remote commands or scripts against one or more instances. The agent uses SSM documents. When you execute a command, the agent on the instance processes the document and configures the instance as specified. Currently, the SSM Agent and Run Command enable you to quickly run Shell scripts on an instance using the AWS-RunShellScript SSM document.

Details for amazon-ssm-agent

License
Apache-2.0
Last updated
4 July 2019

Enable snaps on Red Hat Enterprise Linux and install amazon-ssm-agent

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

Enable snapd

Snap is available for Red Hat Enterprise Linux (RHEL) 7, from the 7.6 release onward, from the Extra Packages for Enterprise Linux (EPEL) repository.

It is not yet available in the EPEL 8 repository, and consequently, not yet available for RHEL 8 unless you build the RPM yourself.

The EPEL repository can be added to your system with the following command:

Adding the optional and extras repositories is also recommended:

sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms" sudo yum update

Snap can now be installed as follows:

Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:

To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap:

Either log out and back in again or restart your system to ensure snap’s paths are updated correctly.

Install amazon-ssm-agent

To install amazon-ssm-agent, simply use the following command:

Other popular snaps…

See more...
See more in Featured

More things to do…

Get the snap store

Browse and find snaps from the convenience of your desktop using the snap store snap.

Learn more about snaps

Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.