Oracle Maximum Availability Architecture for Oracle Database@AWS

Amazon Web Services (AWS) is a strategic partner of Oracle Multicloud. Oracle Maximum Availability Architecture (MAA) evaluates MAA reference architectures on Oracle Database@AWS, the results of which are shown here.

To learn more about MAA Silver, MAA Gold, and MAA Platinum Option 1 (Oracle AI Database 26ai or higher with Oracle Active Data Guard) evaluations and their benefits after certification, see MAA Evaluations on Multicloud Solutions.

Oracle MAA evaluated Oracle’s solution in AWS. Oracle MAA continues to be periodically re-evaluated to ensure the solution meets all expected benefits, and to highlight any new MAA benefits and capabilities for Oracle Database@AWS. Certification is only given after the MAA evaluation meets the requirements.

Oracle MAA has evaluated and endorsed Oracle Database@AWS for:

Refer to Multicloud Considerations for Autonomous Data Guard for information about the MAA Silver and MAA Gold certifications for Oracle Autonomous Database Dedicated.

MAA Silver Network Topology and Evaluation

The following image shows the MAA Silver reference architecture, with Oracle RAC on Exadata Database Service, and showing backup options to Oracle Database Autonomous Recovery Service running in OCI or Amazon S3 in AWS.

Figure 5: Oracle Database@AWS in an MAA Silver Reference Architecture

Description of image follows

Description of the illustration aws-maa-silver.png

Oracle MAA evaluated and endorsed Exadata Database Service on Oracle Database@AWS for the MAA Silver reference architecture, and observed the following results.

Additional MAA Best Practices Specific to AWS

Application Network Layer and Application Failover

Factors that impact the latency and throughput between the application and database include: placement groups, VM size (application), OS kernel (application), networking services (for example, gateways), and data security inspection.

For response time-sensitive applications, pay attention to the observed response time results in the following use case.

For steps to improve the overall latency review, see Improve network latency for Linux-based EC2 instances and High Performance Networking for Oracle Database@AWS.

See MAA Evaluations on Multicloud Solutions for the tests that were conducted.

Use Case: Application VMs to Exadata VM Cluster in the Same Region

Observed RTT Latency (US-East-2): Varies based on placement.

Observed Network Throughput (US-East-2): Affected by VM size. “Micro” images specifically will be throttled on throughput.

MAA Recommendations:

Backup and Restore Observations

Oracle Database backup and restore throughput to Oracle’s Autonomous Recovery Service or Oracle’s Object Storage Service was within performance expectations, and all expected built-in backup and restore configuration and life cycle best practices were incorporated into cloud automation.

Using RMAN nettest and actual database backup and restore operations, backup and restore performance were within expectations. For example, an Exadata Database Service 2-node VM Cluster (using 16+ OCPUs) and three storage cells may observe a 1.5 TB/hour backup rate and approximately 2.2 TB/hour restore rate with no other workloads.

Note that the default backup and restore RMAN channels vary based on the number of ECPUs per database node. You can increase the number of RMAN channels for higher backup and restore throughput by using dbaascli and to change the channelsPerNode value (maximum value is 32 per node for Autonomous Recovery Service or higher for other target services). An average throughput of 40 MB/second per Oracle RMAN channel was observed. The RMAN channel throughput contributes to your overall backup or restore throughput until you max out another resource limitation.

By increasing the RMAN channels, you can leverage available network bandwidth or storage bandwidth, and achieve as much as a 5 TB/hour backup rate and 7 TB/hour restore rate with three Exadata storage cells. The restore rates can increase as you add more Exadata storage cells, with approximately 2GB/second per storage cell. The performance varies based on existing workloads and network traffic on the shared infrastructure.

The Autonomous Recovery Service provides the following additional benefits:

With all of the above benefits, Oracle MAA always recommends Autonomous Recovery Service. To enable Autonomous Recovery Service, see the Autonomous Recovery Service documentation, enable the security rules required, and use the Cloud Console and choose the Autonomous Recovery Service option.

See also:

MAA Gold and MAA Platinum Network Topology and Evaluation

The recommended MAA Gold and MAA Platinum Option 1 (Oracle AI Database 26ai or higher with Oracle Active Data Guard) reference architectures in AWS consists of:

The following images show the MAA Gold and MAA Platinum Option 1 (Oracle AI Database 26ai or higher with Oracle Active Data Guard) reference architectures, with Oracle RAC on Exadata Database Service, and shows backups to Oracle Database Autonomous Recovery Service running in OCI and Amazon S3 in AWS. The first image shows the architecture implemented in a single AWS region across two Availability Zones, and the second image shows the architecture deployed across two AWS regions.

The following diagram shows MAA Gold and MAA Platinum Option 1 (Oracle AI Database 26ai or higher with Oracle Active Data Guard) Architectures in one AWS Region with two AZs.

Description of image follows

Description of the illustration aws-maa-gold-oneregion.png

The following diagram shows MAA Gold and MAA Platinum Option 1 (Oracle AI Database 26ai or higher with Oracle Active Data Guard)architectures in two AWS Regions.

Description of image follows

Description of the illustration aws-maa-gold-tworegions.png

MAA Gold and MAA Platinum Option 1 (Oracle AI Database 26ai or higher with Oracle Active Data Guard) evaluations build upon the Silver MAA evaluation, plus:

Data Guard Considerations and Network Peering

Oracle Data Guard maintains an exact physical copy of the primary database by transmitting (and applying) all data changes (redo) to the standby database across the network, making network throughput, and in some cases, latency, critical to the implementation’s success.

Use Data Guard switchover for planned maintenance or disaster recovery tests. If the primary database becomes unavailable, use Data Guard failover to resume service.

Peering Networks Between Primary and Standby

Choosing your network peering option is an important decision to ensure your standby can keep up with the primary database. If the network does not have sufficient bandwidth to support single-process redo throughput, the standby will have a growing transport lag.

The primary and standby Exadata VM Clusters are deployed in separate networks. Oracle Database@AWS Exadata VM Clusters are always deployed using separate Virtual Cloud Networks (VCN) in OCI. These separate VCNs must be connected to allow traffic to pass between them; that is, they must be “peered” before enabling Data Guard with Oracle Cloud Automation. For this reason, the networks must use separate, non-overlapping IP CIDR ranges.

When creating a standby database across Availability Zones (AZs), consider

When creating a standby database across regions, consider

You can leverage the recommendations in the following use cases regarding expected network performance when peering with OCI before setting up your Data Guard and standby database. You can also run your own network experiments after peering and before you configure your standby. Refer to MAA Evaluations on Multicloud Solutions for the tests that were conducted as part of this certification.

Use Case: Cross-AZ Data Guard Between Exadata VM Clusters

This use case was evaluated for:

RTT Latency Observed:

OCI Peering Network Throughput Observed (US-East-2):

AWS Peering Network Throughput Observed (US-East-2):

MAA Recommendations:

Use Case: Cross-Region Data Guard Between Exadata VM Clusters

This use case was evaluated for:

RTT Latency Observed (US-East-1 to US-West-2): Varies between different regions. Regions used Ashburn, VA, to Boardman, OR.

Network Throughput Observed (US-East-1 to US-West-2): Varies based on placement and VM size

MAA Recommendations:

Path to Gold MAA Architecture

To achieve a Gold Maximum Availability Architecture (MAA), Oracle recommends the following principles for your cross-region deployment:

  1. Deploy Infrastructure: In both your primary and standby regions, deploy an Exadata Infrastructure.

  2. Create VM Clusters: On each infrastructure, create an Exadata VM Cluster within the ODB Network.

  3. Instantiate Databases: Deploy your Oracle Real Application Clusters (RAC) database on the Exadata VM Cluster.

  4. Configure Data Replication: Set up Oracle Data Guard to replicate data between the two databases across the regions.

Networking for Data Guard

When Exadata VM Clusters are created in AWS, each resides within its own Oracle Cloud Infrastructure (OCI) Virtual Cloud Network (VCN). To enable Data Guard communication, which is essential for shipping redo logs and performing role transitions, these VCNs must be peered. OCI peering is recommended for the most optimized Data Guard networking as it has been optimized for Data Guard redo throughput with minimal latency.

Enabling Data Guard

Once the network is peered using one of the above options, you can enable Data Guard (see Use Oracle Data Guard with Exadata Cloud Infrastructure). All Data Guard and MAA best Practices are built in. Data Guard adds to the comprehensive data protection and provides minimum data loss and downtime for the database, cluster, or even regional failures.

Data Guard Role Transitions

Data Guard switchover and failover performance was within expectations compared to a similar setup in Oracle OCI. Application downtime when performing a Data Guard switchover and failover can range from 30 seconds to a few minutes.

For guidance on tuning Data Guard role transition timings or examples of role transition timings, see Tune and Troubleshoot Oracle Data Guard. Note that Oracle Cloud console timings do not reflect actual database downtime. To minimize downtime and achieve the low RTO of seconds to minutes, automatic Data Guard failover is required. Setting Data Guard Fast-Start Failover is a manual step. Refer to the Fast-Start Failover and Configure and Deploy Oracle Data Guard documentation.

Enhancing Availability and Reducing RTO for Disasters

To minimize downtime and achieve the low RTO of seconds to minutes, automatic Data Guard failover is required.

The Fast Start Failover (FSFO) feature automatically initiates a failover and requires you to install a Data Guard Observer on a separate VM. For optimal results, place the Observer VM in a different location from the primary and standby databases. If no additional location is available, place the Observer on the primary database site, preferably in the application network.

Note: This is a manual configuration step and is not part of the standard cloud automation.

For detailed setup instructions, see Implement disaster recovery with cross-regional Active Data Guard on Oracle Database@AWS.

For additional details, refer to the Fast-Start Failover and Configure and Deploy Oracle Data Guard documentation.