Skip to content

Connect to Amazon Aurora PostgreSQL from Mac

Choose the Aurora cluster’s writer endpoint when you need to edit data or change structure. The endpoint choice determines which cluster instance receives your connection.

You need an Aurora PostgreSQL cluster, a database account, and access to the cluster network. Use RDS network and certificate setup for the shared AWS requirements.

Endpoint Use
Writer Connect to the current primary instance for reads and writes.
Reader Distribute read-only connections across readers when the cluster has replicas.

Copy the endpoint and port for your intended task, plus the database name and user. See AWS’s cluster endpoint reference and reader endpoint reference.

Connect to Amazon Aurora PostgreSQL from Mac

Section titled “Connect to Amazon Aurora PostgreSQL from Mac”
  1. Create a PostgreSQL connection using connection basics.
  2. Enter the chosen cluster endpoint and port.
  3. Enter the database credentials.
  4. Configure TLS using the AWS certificate instructions.
  5. Click Test.
  6. Click Save & Connect after a successful test.

Use a connection name that identifies the cluster and whether the endpoint is a writer or reader.

Keep the cluster DNS endpoint as the database host for certificate verification. For a private cluster, use your organization’s network route or an SSH tunnel.

timeout expired
cannot execute UPDATE in a read-only transaction

For a timeout, check the cluster state, endpoint, and security group. For rejected writes, confirm that you selected the writer endpoint and a role with write permission. See connection failed or edit rejected, depending on when the failure occurs.

Continue with edit data safely, or return to the PostgreSQL overview.