Assign IAM Role
- Go to AWS Management Console

- In the EC2 interface
- Select Instances
- Select Windows-Lab-SSM-1 instance
- Select Actions
- Select Security
- Select Modify IAM role

- In the Modify IAM role interface
- IAM role, select Windows-Lab-SSM-Role
- Select Update IAM role

- IAM role assigned successfully

- Similarly, assign role to Windows-Lab-SSM-2 instance
- Select Windows-Lab-SSM-2 instance
- Select Actions
- Select Security
- Select Modify IAM role

- In the Modify IAM role interface
- IAM role, select Windows-Lab-SSM-Role
- Select Update IAM role

- Successfully assigned roles to both Windows EC2 instances
