Rely.io
Search
K
Comment on page

AWS Cloudwatch

An integration guide for AWS Cloud Watch.

Overview

AWS CloudWatch is a versatile monitoring and management solution that delivers insights about the performance, health, and resource allocation of your AWS resources. By integrating AWS CloudWatch with Rely.io's platform, you can harness the wealth of metrics and logs captured by CloudWatch and visualize them in Rely's interface. This integration enables you to benefit from AWS’s native monitoring capabilities while leveraging Rely.io's powerful analytics and alerting functionalities. If your applications and services are predominantly hosted on AWS, this integration provides a seamless bridge to monitor and analyze your infrastructure with precision.

Data Collected

  • Metric (Names, Labels and Time-series)

Features Unlocked

To know which features this plugin unlocks, checkout this table of features.

Installation Guide

To successfully set up the integration with AWS CloudWatch on Rely.io's platform, follow the steps detailed below:

1. Start Creating an AWS User

Log into your AWS Management Console and navigate to IAM > Users.
  1. 1.
    Click Add users.
  2. 2.
    Enter a name for your user (e.g. "Rely")
  3. 3.
    Click Next
Note: You can leave the "Provide user access to the AWS Managment Console" option un-checked as Rely only requires programmatic access.
Step 2 of this form is meant for you to specify the new user's policies. Even-though we're gonna end up creating a new one, we're gonna actually search for an existing policy as a template. Follow the steps bellow to learn how to do that.

2. Create an access Policy with the appropriate permissions

  1. 1.
    In the Permission options section click the Attach Policies Directly tab
  2. 2.
    Than search for: CloudWatchReadOnlyAccess
  3. 3.
    Click on the + button besides the policy's name to expand it
  4. 4.
    Click the Copy JSON button to copy the policy's configuration to your clipboard
  5. 5.
    Now click the Create Policy button
This will open up a new tab on your browse in policy creation wizard.
  1. 1.
    Click the JSON button that will open up a configuration input box
  2. 2.
    Select everything inside the configuration box and over-write it by pasting the policy's JSON configuration from your clipboard onto the input box
  3. 3.
    Looking at the configuration you should see a list of Actions. In the list of allowed actions, you'll need to add "ec2:DescribeRegions"
  4. 4.
    Make sure the JSON configuration is valid by adding a comma , to the previous line of the Actions list
  5. 5.
    Click Next
  6. 6.
    Assign a descriptive name to your Policy (e.g. "RelyPermissionsPolicy")
  7. 7.
    You should see a pop-up indicating you that your policy has just been created

3. Finish Creating the User with the previously created access Policy

With the proper permissions policy in play, we can now finish the process of creating a user whose credentials Rely will use. Go back to your the tab you were on before clicking Create Policy .
  1. 1.
    Hit the refresh button besides the Create Policy this will refresh the list of available policies to select from.
  2. 2.
    Where previously you had searched for CloudWatchReadOnlyAccess now search for the policy name you picked earlier.
  3. 3.
    Select the policy that you have just created and click Next
  4. 4.
    Review the user's configuration and click Create User
  5. 5.
    You should see a pop-up indicating you that your user has just been created, in it there's a button labeled View User, click it!

4. Collect the Required AWS information

  1. 1.
    Inside the User's page, hit Create access key
  2. 2.
    Select Third-party provider
  3. 3.
    At this point AWS will tell you about the possibility of creating temporary security credentials instead of long term ones. This would require you to re-make the Rely plugin configuration cyclically. At this point you can just confirm your choice and click Next
  4. 4.
    You can just ignore the long tag value and hit Create access Key
  5. 5.
    Keep this tab open for the following step, as you'll need to copy past the Access Key and Secret Access Key soon enough
  6. 6.
    You will also need to know your organization's Account ID which can be seen by opening up the user menu situated in the top-right corner of your AWS console.

5. Connect to the Rely Platform

You can now return to the Rely.io platform and start the integration process with AWS CloudWatch. Open the Rely platform and start by navigating to the data-sources page. Click the "Add Data Source" button and select "AWS Cloudwatch".
This will prompt a modal to appear asking you for the information necessary to successfully integrate the AWS CloudWatch your account.
AWS CloudWatch integration modal
Start by giving an expressive name to your data source instance by filling in the “Collector Name” field. This is an unique name that will allow you to distinguish between multiple data source instances.
Fill in all of the values according to the information you obtained in step 4 of this guide. Click Create to finish the integration process.
After this, you should be able to see your new AWS CloudWatch data source under the Active section of the Data Sources page.