Fleet Manager, a capability of AWS Systems Manager, is a unified user interface (UI) experience that helps you remotely manage your server fleet running on AWS, or on premises. With Fleet Manager, you can view the health and performance status of your entire server fleet from one console. You can also gather data from individual instances to perform common troubleshooting and management tasks from the console. This includes viewing folder and file contents, Windows registry management, operating system user management, and more.
Systems Manager has some basic pre-requisites to follow before you can manage EC2 instances. In this lab environment we’ve setup all of the pre-requisites for you except one related to your instance profile. In the steps below you will modify your IAM instance profile and attach it to an EC2 Instance. Once done, you will be able to use Systems Manager to manage your EC2 instance.
Update EC2 Instance Roles
Attach IAM role to instances
Update Launch Template
We’ve updated the IAM role on the running EC2 instances. But now we must update the launch template which was used to create these instances, this way if another EC2 is launched via the autosclaing group, it will have the proper role attached
Locate instances in Fleet Manager
Due to the SSM agents exponential backoff logic, it may take 10 minutes for instances to appear in Fleet Manager. You can reboot the EC2 instances to speed up the process.
Fleet Manager is a powerful tool which provides rich instance information and enables Operating System level actions without the need to logon to instances. Click on the “node actions” button to see what functionality exists.