Best Practices for Running Oracle Database on Amazon Web Services
AWS Whitepaper

Oracle Licensing Considerations

Oracle Database licensing on AWS is based on the size of the instance on which the database is installed. For information about Oracle Database licensing, see Licensing Oracle Software in the Cloud Computing Environment on the Oracle website. A few key points to consider are:

  • As stated in Amazon EC2 Instance Types page, each vCPU is a hyperthread of an Intel Xeon core except for T2 and m3.medium. For Oracle Enterprise Edition every two vCPUs of hyperthreaded instance equate to a licensing requirement of one Oracle processor license. For non-hyperthreaded instances, each vCPU equate to one Oracle processor license.

  • Oracle Database Standard Edition may only be licensed on instances that have up to 16 Amazon vCPUs.

  • Oracle Standard Edition One and Standard Edition Two may only be licensed on instances up to 8 Amazon vCPUs.

  • For Oracle Database Standard Edition, Standard Edition One, or Standard Edition Two, every four Amazon vCPUs used (rounded up to the nearest multiple of four) equate to a licensing requirement of one socket, which is considered equivalent to an Oracle processor license.

Any discussion of Oracle licensing policies and costs in this whitepaper is for informational purposes only and is based on the information available at the time of publication. For more specific information, users should consult their own Oracle license agreements.

Amazon RDS License Included

You have the option to include the cost of the Oracle Database license in the hourly price of the Amazon RDS service if you use the License Included service model. In this case, you do not need to purchase Oracle licenses separately; the Oracle Database software has been licensed by AWS. License Included per-hour pricing includes software, underlying hardware resources, and Amazon RDS management capabilities. This service model optimizes license costs, and gives you flexibility when scaling your Amazon RDS instances up or down. You can take advantage of hourly pricing with no upfront fees or long-term commitments. In addition, you can purchase Amazon RDS Reserved Instances under one-year or three-year reservation terms. With Reserved Instances, you can make a low, one-time payment up front for each database instance, and then pay a significantly discounted hourly usage rate.

Note

The hourly license for the License Included model in Amazon RDS is available only for Oracle Standard Edition One and Standard Edition Two. For other editions of Oracle Database on Amazon RDS and any edition of Oracle Database on Amazon EC2, you need to use your own license (that is, acquire a license from Oracle), as discussed in the following section.

Since you are paying for the Oracle license only for the hours in which you use Amazon RDS, the License Included option may help you reduce overall licensing costs for development and testing environments that are active only during business hours. For most businesses, the total business hours per week (10 x 5 = 50 hours) is only about 30% of the total hours in a week (24 x 7 = 168 hours), so this service model could result in considerable savings.

This service model also gives you the flexibility to resize the instance based on your needs, because the license is included in the instance cost. In cases where your regular capacity requirements are much smaller than periodic, predictable spikes, this service model allows you to scale up to absorb the additional capacity needed, and scale down to save on cost. For example, you might have databases that require the performance of a db.m3.large instance for most days of the month except for the last three days. During the last three days of the month, your database might be heavily used due to payroll processing and month-end closing. In this scenario, you can use Oracle Database on Amazon RDS based on the db.m3.large instance type throughout the month, scale up to db.m3.2xlarge for the last three days, and then scale down again. This could translate to 65% or more cost savings compared to using the db.m3.2xlarge instance for the whole month.

Bring Your Own License (BYOL)

If you already own Oracle Database licenses, you can use the BYOL service model to run your Oracle databases on Amazon RDS. This will result in a lower cost for the Amazon RDS instance because the cost of the Oracle license isn’t included. The BYOL model is designed for customers who prefer to use their existing Oracle Database licenses or purchase new licenses directly from Oracle.

If you want to use Oracle Database Enterprise Edition or Standard Edition with Amazon RDS, or run your own self-managed Oracle Database on Amazon EC2, BYOL is the only supported option.

Oracle License Portability to AWS

Subject to the terms and conditions of the specific license agreement, Oracle licenses may be portable to AWS. In other words, your existing licenses can be transferred for use on AWS. These include:

  • Server-based licenses (based on CPUs used)

  • Enterprise License Agreements (ELA)

  • Unlimited License Agreements (ULA)

  • Business Process Outsourcing (BPO) licenses

  • Oracle PartnerNetwork (OPN) licenses

  • Named User Plus licenses

Additional conditions or limitations (including possible costs) may be applicable for licenses that are ported to AWS. Please check your specific license agreement for additional details and limitations.

Oracle licensing applies similarly to Oracle Database on Amazon RDS and on Amazon EC2 with the exception that hourly licensing is available only on Amazon RDS.