Assign IAM Role

  1. Go to AWS Management Console
  • Find EC2
  • Select EC2

Attach IAM Role

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

Attach IAM Role

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

Attach IAM Role

  1. IAM role assigned successfully

Attach IAM Role

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

Attach IAM Role

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

Attach IAM Role

  1. Successfully assigned roles to both Windows EC2 instances

Attach IAM Role