Amazon Web Services has given Amazon RDS for Oracle a Primary Endpoint: a stable DNS name aimed at whichever database instance currently holds the primary role in a replica setup. AWS announced it on November 20, 2026. Every Oracle Enterprise Edition instance gets one automatically and at no extra cost.
Until now, a switchover to an Oracle replica meant editing connection strings or DNS records so applications could find the new primary. In many companies that step needs change tickets and several teams. With a stable name in place, a planned switchover or a disaster recovery drill no longer forces a configuration change in every application.
What Changed
The new endpoint sits beside the existing instance endpoint, so nothing breaks for applications that keep using the old name. The key facts are:
- Automatic: there is nothing to create; each Enterprise Edition instance already has one
- Free: AWS charges nothing extra for it
- Shared: a primary and all of its replicas use the same Primary Endpoint
- Cross-Region: it follows switchovers to replicas in the same Region or in another Region
- Same port: it uses the instance port, such as 1521
- Wide availability: it is offered in all commercial Regions that run RDS for Oracle
Standard Edition 2 does not get the feature. RDS supports Oracle replicas only on Enterprise Edition, and the endpoint exists to track the primary role across them.
How It Behaves
The endpoint name ends in primary.rds.amazonaws.com and begins with a 32-character hexadecimal label. You can find it in the console under the Endpoints view of the Connectivity and security tab, or in the PrimaryEndpoint field returned by the describe-db-instances call.
During a switchover, RDS repoints the name at the replica that takes over. New connections reach the new primary, but open sessions are closed and in-flight work is lost, so applications must reconnect. A Multi-AZ failover keeps the same name in place as well.
Promotion works differently. A promoted replica becomes a standalone instance with a brand-new Primary Endpoint, while the former primary and the remaining replicas stay on the original name. Because promotion is the usual route in an unplanned outage, applications must still switch to a new name in that case.
RDS also reissues the TLS certificate of each instance in the group so the Primary Endpoint appears as a subject alternative name. That keeps host name checks valid without managing your own certificates. A restore from a snapshot or point-in-time recovery gets a new endpoint, unless it reuses the original instance identifier in the same account and Region.
What It Means for Developers
For Oracle shops on RDS, this is a practical gain for Data Guard style operations. DR drills become easier to run often, because the application side of the test shrinks to a reconnect.
The catch is DNS caching. Clients and connection pools that hold on to resolved addresses keep trying the old primary until the cache expires. AWS suggests a client TTL of around 60 seconds, and Java teams should check the JVM DNS cache setting.
Pools that test each connection before handing it out recover on their own after a switchover. Pools that skip validation may hand out dead sessions, so add a check query and retry logic. Also keep in mind that switching over to another Region sends traffic from local applications across Regions, which adds latency.
Readers running Oracle on RDS may also want our coverage of shorter maintenance downtime for RDS for Oracle minor upgrades and Kerberos sign-in through self-managed Active Directory.
How to Get Started
Look up the Primary Endpoint for your Enterprise Edition instance in the console, CLI or API. Point a test application at it, lower the client DNS TTL, and run a planned switchover to a replica to confirm the application reconnects cleanly. Then move production connection strings over at a time that suits you.
Conclusion
The Primary Endpoint removes a long-standing manual step from switchovers on Amazon RDS for Oracle. Teams that tune DNS caching and reconnect logic can run DR drills more often, while keeping a plan for the new name that a promotion creates.
Sources
- AWS What's New: Amazon RDS for Oracle now supports Primary Endpoint
- Amazon RDS User Guide: Using the Primary Endpoint for Amazon RDS for Oracle
See my articles more often when you search Google.
