Aurora Global Database
DuploCloud supports Aurora Global Database, a multi-region Aurora database that lets applications read from local copies if a region goes down. This setup improves application performance for global audiences and helps maintain availability during regional outages.
Creating the Primary Aurora Cluster
In the DuploCloud Portal, navigate to Cloud Services → Database.
Select the RDS tab, and click Add. The Create a RDS pane displays.

Create a RDS pane Complete the required fields:
RDS Name
Enter a unique name for the primary cluster.
RDS Engine
Select Aurora MySQL or Aurora PostgreSQL.
RDS Engine Version
Select a compatible version that supports Global Aurora:
Aurora MySQL: 5.7+ or 8.0+
Aurora PostgreSQL: 11+
RDS Instance Size
Select a supported instance size for Global Aurora (db.r5 or higher).
User Name
Enter the username for the cluster administrator.
User Password
Enter a password for the cluster administrator.
Complete any other optional fields to configure your database according to your needs (see the RDS database page for optional field descriptions).
Click Create to provision the primary cluster. Allow 5–10 minutes for it to become available
Adding a Secondary Region to Create a Global Aurora Cluster
Navigate to Cloud Services → Database.
Select the RDS tab.
Select the primary Aurora cluster you previously created in the NAME column.
Click Actions → RDS Settings → Add Region. The Add Region pane displays.

Add Region pane Complete the following fields:
Global Cluster Name
Enter a custom name for the global cluster name by adding a suffix or unique identifier. Do not remove or change the prefix. Each Aurora cluster can belong to only one Global Aurora cluster. Global cluster names must be unique within your account/region. Attempting to add a cluster to multiple global clusters will fail.
Tenant
Select the tenant in the secondary region where the read-only cluster will be created.
Secondary Cluster Name
Enter a unique name for the secondary (read-only) cluster by adding a suffix or unique identifier. Do not remove or change the prefix.
Click Update to provision the secondary cluster.
Once the secondary cluster is created, allow up to 40 minutes for it to become available, then follow the steps under Viewing a Global Cluster to verify the global setup.
Viewing a Global Cluster
Navigate to Cloud Services → Database.
Select the RDS tab.
Select the the cluster you wish to view from the NAME column.
Select the Global Cluster tab. For each cluster in the global setup, the following information is shown:
Cluster Name
The name of the cluster.
Region
The AWS region where the cluster resides
Role
Indicates whether the cluster is the Primary (write) or Secondary (read-only replica)
Status
The current status of the cluster (e.g., Available, Created)
Accessing Aurora Cluster Endpoints
Each cluster in a global Aurora setup has a specific role: the primary cluster handles all writes, and secondary clusters handle reads in their respective regions. Follow the steps below to connect to each type of cluster.
Connecting to the Primary Cluster
Select the appropriate tenant, go to Cloud Services → Database → RDS, and click on the primary cluster name.
Copy the Writer endpoint.
Use this endpoint for all write operations (
INSERT,UPDATE,DELETE).

Connecting to Secondary Clusters
Each secondary cluster in a different region has its own reader endpoint.
Select the appropriate tenant, go to Cloud Services → Database → RDS, and click on the secondary cluster name.
Copy the Reader endpoint for that cluster.
Use this endpoint for all read operations (
SELECTqueries) in that region.
Using Headless Aurora Clusters
Enabling headless mode allows a secondary cluster to exist without any running DB instances while continuing to replicate data from the primary cluster.
This is useful for cost optimization when read capacity in the secondary region is not required.
For additional details, refer to the Amazon Aurora Global Database documentation.
Making a Secondary Cluster Headless
Go to Cloud Services → Databases → RDS.
Select the primary Aurora cluster in the NAME column.
Click the Global Cluster tab to see all clusters in the global setup.
Click on the secondary cluster name to display the secondary cluster details page.
Click Actions → RDS Settings → Make Cluster Headless.
Note: You can add a reader instance back to a headless cluster later if read capacity is needed.

Adding a Reader Instance Back to a Headless Cluster
Navigate to Cloud Services → Databases → RDS.
Select the primary Aurora cluster in the NAME column.
Click the Global Cluster tab to view clusters in the global setup.
Click on the secondary cluster name (the headless one) to display its details page.
Click Actions → RDS Settings → Add RDS Instance.
Configure the instance type, size, and any other required settings, then click Add.
Wait a few minutes for the instance to become available. After that, it will act as a reader endpoint for read operations in that region.
Last updated
Was this helpful?

