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.
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:
-
Create an Amazon EC2 instance profile for Systems Manager: Create an IAM instance profile for Systems Manager
-
Attach the instance profile to an Amazon EC2 instance when you create the instance: Attach an IAM instance profile to an EC2 instance
-
Attach the instance profile to an existing Amazon EC2 instance: Attach an IAM role to an instance in the Amazon EC2 User Guide
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.