Connect to AWS RDS for PostgreSQL from Mac
Use the RDS instance endpoint with a PostgreSQL database account. Your AWS account login is separate from the database login.
Before you start
Section titled “Before you start”You need an available RDS for PostgreSQL instance and a network route from your Mac. For public access, the instance’s security group must permit your source address on the database port. A private instance needs an approved private route, such as a VPN or bastion host.
Find your connection details
Section titled “Find your connection details”Obtain the instance endpoint, port, database name, and database user from your RDS configuration. Keep the endpoint’s DNS name for certificate hostname checks. Follow AWS’s PostgreSQL connection guide for the current console instructions.
Connect to AWS RDS for PostgreSQL from Mac
Section titled “Connect to AWS RDS for PostgreSQL from Mac”- Create a PostgreSQL connection using connection basics.
- Enter the instance endpoint in Host and its database port in Port.
- Enter the database name and database credentials.
- Configure the certificate settings described below.
- Click Test.
- Click Save & Connect after a successful test.
TLS and private access
Section titled “TLS and private access”Use Verify Full with the instance DNS endpoint and the applicable RDS CA bundle selected in Root CA. See AWS’s TLS guidance for current certificates and SSL/TLS for TableAI’s file selectors. For a bastion connection, configure an SSH tunnel to a host that can reach RDS.
If it does not connect
Section titled “If it does not connect”timeout expiredpassword authentication failed for userFor a timeout, check the instance state, security group, source address, and public or private route. For rejected credentials, follow 28P01. Use TLS certificate errors for certificate failures and connection failed for network checks.
Related
Section titled “Related”Write and run SQL after connecting. For a cluster endpoint, see Aurora PostgreSQL. Return to the PostgreSQL overview.