This section assumes that you have an AWS account with administrative privileges. You'll also need to be logged into the AWS Management Console in order to work through these steps. The process is relatively simple:
- Create a policy to grant access to CloudWatch.
- Create a user and attach the policy to the user.
- Capture the user credentials.
- Configure an AWS data source with the user credentials.
Now, let's look at each of these steps in more detail.
Creating the policy
The first step toward creating a policy to grant our data source access to CloudWatch is using AWS and its Identity and Access Management (IAM) service. To get to the service, simply type IAM into the Find Services box on the Management Console page:
We will be creating a policy that allows Grafana to use the AWS CloudWatch API to get metrics data...