A PostgreSQL cluster on AWS refers to a group of PostgreSQL database instances that work together to provide high availability, scalability, and fault tolerance. On AWS, you can create and manage a PostgreSQL cluster using Amazon RDS (Relational Database Service) for PostgreSQL or Amazon Aurora with PostgreSQL compatibility.
After a PostgreSQL cluster on AWS is set up, you can use dbForge Studio for PostgreSQL to connect to the cluster and perform any database-related operations.
Prerequisites
Before connecting to a PostgreSQL cluster on AWS, ensure the following:
1. Open the Database Connection Properties dialog by using one of the following ways:
2. On the General tab, specify the connection details:
<database-instance-name>.<unique-identifier>.<region>.rds.amazonaws.com
.3. Switch to the Security tab and select Use SSL protocol.
Note
Specifying the location of the certificates in the corresponding fields is optional.
4. Optional: To check whether the connection can be established, select Test Connection.
5. Select Connect to create the connection.
The Database Connection Properties dialog is closed, and the connection appears and becomes active in Database Explorer.
Verify the connection by executing a SELECT query in dbForge Studio for PostgreSQL.
1. In Database Explorer, right-click the connection and select New SQL to open a new SQL document.
2. In the document that appears, start typing the SELECT query. As you can see, the tool prompts a list of context-based suggestions.
3. Double-click the required table to insert it in the statement.
4. On the toolbar, select Execute to run the query.
The result would be as follows: