> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prod.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up Prod AI Database

> Prerequisites, capacity planning, and provisioning steps for enabling Prod AI Database on Managed BYOC.

> [!NOTE]
>
> Prod AI Database is available for [Managed BYOC](https://docs.prod.ai/deployment/cloud-prem/aws.md) deployments on AWS. Contact your Prod AI team to enable database provisioning for your deployment.

## Setup decisions and prerequisites

Before enabling Prod AI Database, settle these decisions with your AWS and Prod AI teams:

* **AWS account and VPC separation.** Most organizations run separate [data planes](https://docs.prod.ai/deployment/architecture/data-planes.md) for development (`dev`) and production (`production`) data tags, often in separate AWS accounts and VPCs.
* **Data tags.** Each database-enabled data plane serves exact [data tags](https://docs.prod.ai/development-lifecycle/build/data-tags.md). Database names and IAM permissions are derived from the tag name, so settle your data tags before provisioning any databases.
* **Private subnets.** Each Aurora cluster requires at least two private subnets in different Availability Zones inside the VPC where the data plane runs.
* **Capacity and scaling bounds.** Choose Aurora Serverless v2 ACU bounds (minimum and maximum ACUs), instance count (single-instance or Multi-AZ with a reader), and the maximum number of logical app databases per cluster (default: 100).
* **Encryption and retention.** Decide whether to use default AWS-managed encryption or a customer-managed KMS key, and set your backup retention period and deletion protection policy for production pools.

## Enabling Prod AI Database

1. **Coordinate prerequisites with your Prod AI team.** Your Prod AI deployment team provides the exact AWS IAM roles, S3 state bucket configuration, and data plane parameters for your Managed BYOC account.
2. **Verify configuration in the admin panel.** Once your data plane restarts with Prod AI Database enabled, navigate to **Organization Settings -> Databases** to confirm the registered engine, capacity settings, and data tags.
3. **Provision the first Aurora cluster.** Click **Provision** on the **Databases** page to create the initial Aurora PostgreSQL cluster in your VPC (typically 5 to 15 minutes).

## Ongoing operations

* **Automatic pool growth.** When an Aurora cluster reaches its configured database limit, Prod AI automatically provisions an additional cluster in the pool so builders are never blocked.
* **Configuration changes.** Pool capacity, instance counts, and engine settings are managed through your Managed BYOC infrastructure configuration rather than manual edits in the AWS Console.
* **Visibility via MCP.** Admins can inspect pools, clusters, and per-app databases using the [Prod AI MCP](https://docs.prod.ai/admin/mcp-server.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.