You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

  • General

    Amazon 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, Amazon Elastic Block Store (EBS) volumes, and Amazon Relational Database Service (RDS) instances.
    JS7 can also be integrated with the AWS Cloudwatch. With this integration, the users can check the logs and current statistics in the graph format. Users can also detect and shut down unused or underused EC2 instances.


    For JobScheduler as a Service, we have set up the following architecture.

    Create IAM Role

    • Login to AWS Management Console and open the IAM console. Select Roles from the menu and then click the Create role button.
    • Select the service that will use this Role for the AWS services (EC2, Lambda, and others). Select EC2 and click the Next: Permission button.
    • To select the policy for your new Role, search for the CloudWatchAgentServerPolicy, check the checkbox and create the Role.

    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 AWS Command Line Interface (CLI).

    • Using the AWS Console
      To attach the IAM Role, go to the EC2 Dashboard, select Instance from the menu and check the checkbox of the EC2 Instance. Click on the Actions dropdown and choose Instance Settings>Attach/Replace IAM Role.
      To attach this role, search for it, select the created IAM role, and then click Apply to attach it.
    • Using the AWS CLI
      For AWS CLI Version 1.11.46, use the below command  to attach the IAM Role:

  • No labels