Attach IAM Role

Attach IAM Role to Instance


  1. Go to the AWS Management Console and open the EC2 Instance Console home page.
  2. In the navigation pane, choose Instances, choose Instance that you want to Attach IAM Role, then click to Action -> Instance Setting -> Attach/Replace IAM Role. Install CloudWatch Agent
  3. Choose IAM Role which you have created, then click Apply.
    Install CloudWatch Agent
  4. Go to the AWS Management Console and open the CloudWatch Console
  5. In the navigation pane, choose Metrics.
  6. After few second, you will see a custom metric that monitor meomory. Click to this custome metric, you can see memory metric which is sent to CloudWatch.
    Install CloudWatch Agent