Preparation steps


In this section, you will practice setting up CloudWatch Agent to monitor EC2 Instance’s RAM and send data back to CloudWatch. In order for EC2 Instance to have access to CloudWatch, you need to assign it an appropriate IAM Role.


  1. Create VPC and Security Group
  2. Initialize EC2 instance
  3. Create IAM Role
  4. Assign IAM Role to EC2 instance