Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Amazon AWS® CloudWatch is a service of Amazon Web Services that monitors the customer's applications and resources running on the AWS® infrastructure in real - time. It is used to track and collect metrics, variables you can measure for your applications and resources. AWS® CloudWatch monitors resources like Amazon Elastic Compute Cloud (EC2®) instances, Elastic Load Balancing (ELB®), Amazon Elastic Block Store (EBS®) volumes, and Amazon Relational Database Service (RDS®) instances.

JS7 can be integrated with the AWS® CloudWatch. This integration allows users to check the logs and current statistics in a graphical UI. Users can also detect and shutdown shut down unused or underused EC2® instances.

...

Set up CloudWatch Agent

Create IAM Role

IAM Role is an IAM identity that users create in their accounts for specific permissions. Basically, to access the AWS resources, the users require permission. This role includes the permission policy that grants the permissions.

Users need to follow the steps below to create an IAM Role.

  • Login to AWS® Management Console and open the IAM console. Select Roles from the menu and then click the Create role button.

    Image Added

  • Select the service that will use this Role for the AWS® services (EC2, Lambda, and others). Select EC2 and click the Next: Permission button.

    Image Added

  • To select the policy for your new Rolerole's policy, search for the CloudWatchAgentServerPolicy, check the checkbox and click the Next button. 

    Image Added

  • Provide the Role Name, Review and create the Role.

    Image Added

Attach the IAM Role

To allow an EC2 instance to connect with AWS® CloudWatch, the user must attach the IAM role to the EC2 Instance. It can be done through the AWS console or via the AWS Command Line Interface (CLI).

...