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

# Amazon Aurora

> Connect Aurora PostgreSQL to Midplane through its reader endpoint, with verified TLS from RDS's own CAs. Aurora MySQL can't connect yet.

Aurora PostgreSQL connects as [RDS](https://midplane.ai/docs/hosts/rds.md) does, through the
cluster's reader endpoint. Aurora MySQL is refused: Aurora MySQL 3 is MySQL
8.0, and Midplane needs MySQL 8.3 or later.

**1. Use the reader endpoint**

The one with `cluster-ro-` in its name, among the cluster's endpoints.
It spreads Midplane's reads over the Aurora Replicas; a cluster with no
replica answers there from the writer.

```text theme={null}
postgres://<user>:<password>@mycluster.cluster-ro-abc123.eu-central-1.rds.amazonaws.com:5432/app
```

The master user is fine to start. Use a password: IAM authentication
tokens expire after 15 minutes.

**2. Let Midplane in**

Directly, with the instances publicly accessible and the cluster's
security group admitting your region's
[egress addresses](https://midplane.ai/docs/connect/allowlist.md) on 5432. Or through an
[SSH bastion](https://midplane.ai/docs/connect/ssh.md) in the cluster's VPC.

**3. Run the role script on the writer**

Connect through the cluster endpoint (without `-ro-`), to the same
database: the reader endpoint is read-only, and the role reaches the
replicas from the writer ([the role script](https://midplane.ai/docs/connect/role.md)).

RDS's certificate bundle, which Midplane carries, signs Aurora's
certificates too: the source says **TLS verified** with no CA to paste.

More in AWS's guide:
[Aurora endpoints](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.Endpoints.html).


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