Step 2: Practice installing or updating SSM Agent on an instance - AWS Systems Manager

Step 2: Practice installing or updating SSM Agent on an instance

AWS Systems Manager Agent (SSM Agent) is Amazon software that runs on Amazon Elastic Compute Cloud (Amazon EC2) instances, edge devices, and on-premises servers and virtual machines (VMs). SSM Agent makes it possible for Systems Manager to update, manage, and configure these resources. The agent processes requests from the Systems Manager service in the AWS Cloud, and then runs them as specified in the request. SSM Agent then sends status and execution information back to the Systems Manager service by using the Amazon Message Delivery Service (service prefix: ec2messages).

In this task, you install or update the SSM Agent on an Amazon Elastic Compute Cloud (Amazon EC2) instance.

Note

If you're working with your own on-premises servers or VMs, see the following topics:

macOS isn't supported for AWS Systems Manager hybrid environments.

Prerequisites

An instance profile for Systems Manager must already be attached to the Amazon EC2 instance that you update. Refer to the following topics as needed to meet this requirement:

Windows Server instance

To practice installing or updating SSM Agent on an Amazon EC2 instance for Windows Server, follow the steps in Manually installing SSM Agent on EC2 instances for Windows Server.

Linux instance

To practice installing or updating SSM Agent on an Amazon EC2 instance for Linux, follow the steps for your Linux operating system type in Manually installing SSM Agent on EC2 instances for Linux.

macOS instance

To practice installing or updating SSM Agent on an Amazon EC2 instance for macOS, follow the steps in Working with SSM Agent on EC2 instances for macOS.