---
title: "Manage AWS accounts | Grafana Cloud documentation"
description: "Configuration steps for CloudWatch metrics"
---

# 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:

1. Open your [Grafana Cloud portal](/docs/grafana-cloud/account-management/cloud-portal/).
2. Expand **Observability &gt; Cloud Provider** in the main menu of your Grafana Cloud stack.
3. Select **AWS**.
4. Click the **Configuration** tab.
5. 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](/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/config-cw-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:

1. Go to the **AWS accounts** page.
2. At the row of the account, click on the menu icon in the last column of the table and select **Edit**.
3. In the **Edit account** view, make your changes.
4. 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:

1. Go to the **AWS account** page.
2. Click the menu icon next to the account, select **Delete**, then click **Go to scrape jobs list**.
3. On the account **Details** page, select all scrape jobs, and click **Delete**.
4. On the window, click **Delete**.
5. After the window is closed, click **Actions**, then click **Delete**.
