> For the complete documentation index, see [llms.txt](https://docs.p0.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p0.dev/integrations/resource-integrations/aws/managed-services/aws-rds.md).

# AWS RDS

Install AWS RDS to allow P0 to manage access to RDS-hosted databases.

## Installing AWS RDS

### Prerequisites

Before you begin, you need:

* A configured VPC where you want to install the integration
* The ability to create IAM policy, and assign policy to roles, in the VPC's account
* The P0 [AWS](https://docs.p0.dev/integrations/resource-integrations/aws.md) integration installed on the VPC's account
  * The integration must be configured for either federated login or login via Identity Center

### Installation

Follow these steps to install P0 on a VPC for RDS.

#### Via the P0 app

1. Navigate to **Integrations > AWS RDS** in the P0 app.
2. Select the **IAM management** component.
3. Click **Add VPC**.
4. Enter the AWS VPC ID.
5. Choose the P0-installed AWS account.
6. Choose the region in which this VPC resides.
7. Click **Next**.
8. Run the supplied Terraform commands to configure P0's access to RDS.
9. Click **Next**.
10. Click **Finish**.

#### Via the P0 Terraform provider

1. Configure the P0 Terraform provider by following the [provider docs](https://registry.terraform.io/providers/p0-security/p0/latest/docs).
2. Use the example module definition for [`p0_aws_rds`](https://registry.terraform.io/providers/p0-security/p0/latest/docs/resources/aws_rds) to configure P0's access to your environment.
3. Run `terraform init` and `terraform apply`.

## Requesting access

To request access, first install P0 on an individual database instance (or cluster), then follow the steps in that database integration's "Requesting access" section. For example, see [Requesting MySQL access](https://docs.p0.dev/integrations/resource-integrations/mysql/requesting-access.md).
