> 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/~/changes/198/integrations/resource-integrations/aws/managed-services/aws-rds.md).

# AWS RDS

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

P0 support for AWS RDS is <a class="button primary">BETA</a>

## 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](/~/changes/198/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 a configured 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](/~/changes/198/integrations/resource-integrations/mysql/requesting-access.md) in [MySQL](/~/changes/198/integrations/resource-integrations/mysql.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.p0.dev/~/changes/198/integrations/resource-integrations/aws/managed-services/aws-rds.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
