> 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, ensure you have:

* 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
* A P0 [AWS](/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

* Navigate to **Integrations > AWS RDS** in the P0 app
* Select the **IAM management** component
* Click **Add VPC**
* Enter the AWS VPC ID
* Choose the P0-installed AWS account
* Choose the region in which this VPC resides
* Click **Next**
* Run the supplied Terraform commands to configure P0's access to RDS
* Click **Next**
* Click **Finish**

#### Via the P0 Terraform provider

1. Ensure you have configured the P0 Terraform provider (follow the provider docs at <https://registry.terraform.io/providers/p0-security/p0/latest/docs> to configure).
2. Use the example module definition at <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.

See: [Requesting MySQL access](/integrations/resource-integrations/mysql/requesting-access.md) in [MySQL](/integrations/resource-integrations/mysql.md)
