Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/cw-accounts.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/cw-accounts/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Manage AWS accounts
When you configure CloudWatch metric or AWS resource metadata scrape jobs, you must connect to an AWS account, which you can use across multiple scrape jobs. An account includes an Amazon Resource Name (ARN), a list of AWS regions, and, optionally, a name. After you have created an AWS account, you can update that account or remove it.
View accounts
To view all AWS accounts associated with your Grafana instance:
- Open your Grafana Cloud portal.
- Expand Observability > Cloud Provider in the main menu of your Grafana Cloud stack.
- Select AWS.
- Click the Configuration tab.
- Click the AWS accounts card.
Create an account
Creating an AWS account and connecting it to your Grafana instance is part of the process for configuring a CloudWatch metric or AWS resource metadata scrape job. For instructions to create an AWS account and connect it to your Grafana instance refer to Configure CloudWatch metric scrape.
Edit an account
You may need to edit an AWS account’s details such as its name, ARN, or AWS Regions.
To edit an account:
- Go to the AWS accounts page.
- At the row of the account, click on the menu icon in the last column of the table and select Edit.
- In the Edit account view, make your changes.
- Click Save.
If an account is associated with scrape jobs, you can click the See associated scrape jobs link in the warning message at the top of the Edit account page to view the scrape jobs.
Delete an account
You can only delete an account if the account has no scrape jobs associated with it. Otherwise, you must first delete its scrape jobs.
Delete an account with no scrape jobs
Use either of these two methods to delete an account with no scrape jobs associated with it from the AWS Accounts page:
- Click the menu icon next to the account, select Delete, then click Delete to confirm.
- Click the name of the account to view the account Details page. Then click on Actions and Delete.
Delete an account with scrape jobs
To delete an account with associated scrape jobs:
- Go to the AWS account page.
- Click the menu icon next to the account, select Delete, then click Go to scrape jobs list.
- On the account Details page, select all scrape jobs, and click Delete.
- On the window, click Delete.
- After the window is closed, click Actions, then click Delete.
Was this page helpful?
Related resources from Grafana Labs


