reference deployment

Oracle Database on AWS

Oracle Data Guard and Oracle Automatic Storage Management (ASM)

This Quick Start provides a reliable and automated way to install and configure Oracle Database 12c Enterprise Edition on AWS with high availability.

The Quick Start deploys Oracle Database into a Multi-AZ configuration on AWS with asynchronous data replication between Availability Zones. You can choose to deploy Oracle Database into a new or your existing AWS environment, and use Oracle Linux or Red Hat Enterprise Linux.  

The Quick Start installs Oracle ASM for storage management, and Oracle Data Guard for database setup and replication. You can also include the Oracle Secure Backup (OSB) Cloud Module for backups.

This Quick Start was developed by AWS.

  •  What you'll build
  • Use this Quick Start to set up the following Oracle Database environment on AWS:

    • A highly available architecture that spans two Availability Zones.*
    • A virtual private cloud (VPC) configured with public and private subnets according to AWS best practices, to provide you with your own virtual network on AWS.*
    • An internet gateway to allow access to the internet. This gateway is used by the bastion hosts to send and receive traffic.*
    • Managed NAT gateways to allow outbound Internet access for resources in the private subnets. Database instances use this layer to securely download Linux packages required for Oracle installation.*
    • In the public subnets, Linux bastion hosts in an Auto Scaling group with Elastic IP addresses to allow inbound Secure Shell (SSH) access to EC2 instances in public and private subnets.*
    • Three security groups for fine-grained inbound access control from the bastion host, between the database instances, and for application access to the database.
    • AWS Command Line Interface (AWS CLI) and an instance role for installation bucket access.
    • The Amazon Route 53 Domain Name System (DNS) web service to provide independency from using IP addresses or server host names. This is useful in failover or switchover scenarios.
    • In the private subnets, Oracle primary and standby databases. The Quick Start deploys the Oracle primary database (using the preconfigured, general-purpose starter database from Oracle) on an EC2 instance in the first Availability Zone. It then sets up a second EC2 instance in a second Availability Zone, copies the primary database to the second instance, and configures Oracle Data Guard.
    • A set of solid state drive (SSD) disks—six for ASM data (DATA) disk groups, and three for recovery (RECO) disk groups—which can be set to Provisioned IOPS (io1) volumes.

    The Quick Start can also integrate with an existing S3 bucket, which helps you store backups and archive logs in a very cost-effective way. You can also use Oracle Secure Backup library commands to interact directly with Oracle Recovery Manager (RMAN).

    *  The template that deploys the Quick Start into an existing VPC skips the tasks marked by asterisks and prompts you for your existing VPC configuration.

  •  How to deploy
  • To build your Oracle Database environment on AWS, follow the instructions in the deployment guide. The deployment process includes these steps:

    1. If you don't already have an AWS account, sign up at
    2. Download the Oracle Database software into an S3 bucket.
    3. Launch the Quick Start. Each deployment takes about an hour. You can choose from two options:
    4. Access your Oracle Database instance.
    5. Check the standby database and logs.

    To customize your deployment, you can choose different instance types for your resources, configure Oracle Database settings, and optionally set up Oracle Secure Backup Cloud Module.

    Amazon may share user-deployment information with the AWS Partner that collaborated with AWS on this solution.  

  •  Cost and licenses
  • You are responsible for the cost of the AWS services used while running this Quick Start reference deployment. There is no additional cost for using the Quick Start.

    The AWS CloudFormation template for this Quick Start includes configuration parameters that you can customize. Some of these settings, such as instance type, will affect the cost of deployment. For cost estimates, see the pricing pages for each AWS service you will be using. Prices are subject to change.

    You must already own licenses for Oracle Database Enterprise Edition, and you must have access to the Oracle Technology Network to download the software.

    This Quick Start launches the Amazon Machine Image (AMI) for the Red Hat Enterprise Linux (RHEL) or Oracle Linux operating system.