Assign IAM role

Assign IAM role

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

Attach IAM Role

  1. In the EC2 interface
  • Select Instances
  • Select the newly created instance

Attach IAM Role

  1. In the EC2 interface
  • Select Actions
  • Select Security
  • Select Modify IAM role

Attach IAM Role

  1. In the Modify IAM role interface
  • Select CloudWatchAgentRole
  • Select Save

Attach IAM Role

  1. Completed role assignment successfully
  • Check the instance that has been assigned the IAM role

Attach IAM Role