# AWS (RDS)

## Step 1: Find your database

Navigate to the AWS RDS dashboard. In the left panel you should see "Databases":

<figure><img src="https://2481481593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLaMDbvbGOow76E8CnqW%2Fuploads%2FtgPYczEUiOsPz1fMe2ZT%2Fimage.png?alt=media&#x26;token=204180fc-632e-41f7-abfb-25f9f47ee381" alt="Screenshot of the AWS RDS side panel"><figcaption><p>Databases page</p></figcaption></figure>

In this list, select your database:

<figure><img src="https://2481481593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLaMDbvbGOow76E8CnqW%2Fuploads%2FG6cd9FXBSwDUL9RqQBxG%2Fimage.png?alt=media&#x26;token=8d884420-8aa6-4a73-855f-7cfdf258c73d" alt="Screenshot of the AWS RDS database list"><figcaption><p>Database list in RDS</p></figcaption></figure>

## Step 2: Construct the connection URI

On the main database page, you should have the "Connectivity & security" tab selected. Note the endpoint and port number:

<figure><img src="https://2481481593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLaMDbvbGOow76E8CnqW%2Fuploads%2FAQTmt6hwEETC5V2VaxQ6%2Fimage.png?alt=media&#x26;token=4ad31208-5a98-42a3-a0ea-71b819c9370b" alt="Screenshot of the AWS RDS endpoint and port information"><figcaption><p>RDS endpoint and port number</p></figcaption></figure>

Next under the "Configuration" tab, look up the username. You can also create a different user for Whalesync to connect, but for simplicity we'll use the master username:

<figure><img src="https://2481481593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLaMDbvbGOow76E8CnqW%2Fuploads%2FyANaOvn5dXa4d4mbwhGP%2Fimage.png?alt=media&#x26;token=3dd9e140-1e59-4861-9f4e-bf449460f581" alt="Screenshot of AWS RDS database configuration"><figcaption><p>RDS configuration with the username</p></figcaption></figure>

The password was set when the database was originally created. Please ask whoever set up the database for the connection password.

Finally, construct the connection URI like this and replace `YOUR_PASSWORD` with the password:

{% code overflow="wrap" %}

```
postgresql://postgres:YOUR_PASSWORD@postgres-connector-test.000000000000.us-east-1.rds.amazonaws.com:5432/postgres
```

{% endcode %}

This is the string you will paste into the Whalesync Postgres connection dialog:

<figure><img src="https://2481481593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLaMDbvbGOow76E8CnqW%2Fuploads%2FjfGYO4pKKg6CSgkvWfLV%2Fimage.png?alt=media&#x26;token=26de3c9f-4148-4ece-9b56-1e77fe303e5c" alt="Screenshot of the Whalesync Postgres connection dialog"><figcaption><p>Enter your Postgres connection URI into Whalesync</p></figcaption></figure>

## Caveats

Note that Whalesync does not yet support:

* Whitelisted IP addresses
* Custom SSL/TLS certificates

If you need these to connect to your instance, please [reach out and let us know](https://docs.whalesync.com/resources/support).
