Oracle database assures most of the business requirements, including low RTO (Recovery Time Objective) and RPO (Recovery Point Objective) in case of a failure; hence it is one of the popular choices among businesses. Running Oracle on AWS can reduce administrative burdens and cut operating, licensing, and database maintenance costs. Through AWS RDS (Relational Database Service) and EC2(Elastic Compute Cloud) services, Oracle databases can be managed and maintained efficiently in AWS. Amazon EC2 is a good option if users need complete administrative control, including OS-level access or having a database larger than 80% of the max size in RDS. Amazon RDS can be chosen if users don’t want to purchase a stand-alone license, and there is no need to worry about updates, backup, and recovery. This article covers an overview of Oracle databases, why there is a need to migrate Oracle databases to AWS, running oracle on EC2 and RDS, and Oracle licensing.
Overview of Oracle database
Oracle database, or Oracle, is a Relational Database Management System developed by the Oracle Corporation. The purpose of the database is to store and retrieve related information and to run online transaction processing. Oracle is more scalable than SQL, which can make it more cost-efficient in enterprise instances. It is a market leader with Microsoft SQL Server, SAP HANA, IBM Db2, and other RDBMS. The reason why Oracle Database is a popular choice among business organizations is that Oracle databases can be configured dynamically and accessed quickly without downtime if there is a need for a large number of databases to store data.
Key Features that make Oracle popular
Cross-platform database, which means it can run on multiple types of servers and across different operating systems, including Windows, Linux, UNIX, and macOS.
Oracle has its programming language PL/SQL, closely related to SQL and lets users add Oracle programming extensions to SQL.
Efficient memory caching to ensure the optimal performance of large databases.
Reliable data management with security measures like strict authentication, data-network encryption, and authorization.
Scalable due to features like Real Application Clustering and Portability.
Oracle DB’s RMAN (Recovery Manager) feature can recover and restore the database during downtimes.
Why Oracle databases need to be migrated to AWS
Higher consistency and reliability when it comes to data in the AWS. The SLAs are met almost every time, and customers can quickly access their data, thus ensuring higher availability.
Generally, DBAs spend a large amount of time adding storage and capacity planning. But cloud-native and fully-managed databases like Amazon RDS or Aurora allow DBAs to increase storage with no downtime, running on elastic volumes and computing power on demand.
Able to scale according to the changing demand. Users can use AWS tools, Elastic Load Balancing, and Auto Scaling so that their application can perform optimally.
Reduce operating, licensing, and database costs, reducing the administrative burden. With AWS, users have to pay only for the resources they use.
AWS infrastructure has a top-notch security framework. With AWS, users can encrypt their data and maintain total content ownership. It is possible to keep data in a specific format and transfer or delete it irrespective of time.
Capital expenses for hardware and software can be much reduced with migration. It can reduce the costs of installing, updating, maintaining, and patching databases without the additional administration overhead.
Running Oracle on AWS EC2 and RDS
Source – atatus.com
Users can have two options to run an Oracle database on AWS. They can run it fully managed on the Amazon Relational Database Service (RDS), or they can run it on highly available Amazon Elastic Compute Cloud (Amazon EC2) instances and manage the database themselves.
1. Amazon RDS for Oracle
AWS RDS has many different database platforms that are supported, including Oracle. RDS is the easiest way to set up, operate, and scale a highly available Oracle Database in the cloud. With RDS, users can provision a database instance, running multiple Oracle editions like Standard Edition 2 (SE2), Enterprise Edition (EE), etc., with the resources that the user needs. Users can fully control infrastructure, database environment, and operating system. RDS backs up the database automatically and applies patches within the same patch set release. Another feature is that when deploying databases using RDS for Oracle, Amazon provides other options for licensing. Users can choose which tools have to be used to manage the database, and there are choices to select optional modules. Instances have different physical CPU models; every instance type has preconfigured vCPUs and memory configurations. The instance types can be Memory Optimized, Compute Optimized, or Compute Optimized.
Steps for migrating Oracle to AWS RDS:
There are mainly three steps to transfer oracle to RDS:
Migration
Testing and validation
Management and maintenance
Migration: Here, the data is transferred to the AWS S3 bucket using Oracle Data Pump Utility to move it further to the AWS RDS instance.
Testing and validation: Testing the database performance is necessary to ensure the database meets the Service Level Agreement (SLA). After testing, AWS data pipeline services can move data to different AWS resources.
Management and maintenance: It is associated with capacity planning, monitoring connectivity, backup and recovery, troubleshooting, and security of the databases.
2. Amazon EC2 for Oracle
Running Oracle Database on Amazon EC2 gives users complete control over the infrastructure setup, database environment, choice, and flexibility. Like a standard server on a data center, when using this migration strategy, users are responsible for the licenses related to the Oracle database, middleware, or other software instances. Through EC2, users can fully control the Oracle binaries database, run monitoring and management agents, choose tools for data replication, backup, and restoration, and have operating system-level access. It is very similar to running a database on the user’s server.
Oracle licensing
AWS is on the approved list of cloud vendors for Oracle, so users’ existing Oracle licenses will work fine on Amazon RDS instances. The licensing documentation contains the latest rules and regulations regarding licensing.
There are several ways to handle licensing when moving Oracle databases to AWS. Users can either:
Bring the user’s own licenses for a self-managed Oracle installation on the EC2 instance
Pay-as-you-go go licensing for Oracle RDS (Relational Database Service) instance
Bring the user’s own licenses for the Oracle RDS instance
Source – redresscompliance.com
RDS Oracle Licensing:
RDS for Oracle comes with a License-Included service model, which allows users to pay per use by the hour instead of making a large upfront investment. The license for these RDS instances is “leased” through AWS. When using this RDS LI, the maximum number of available vCPUs is 16, even with SE2 versions of the Oracle database engine.
EC2 Oracle Licensing:
To run the Oracle database on an AWS EC2 instance, users must license the Oracle software based on the number of occupied sockets on the instance. If the user has an existing Oracle license, it can be transferred to AWS instances, avoiding the cost of buying new licenses. It is necessary to use specific licensing for each edition, like Enterprise Edition licensing to use SE2 RDS instances to prevent incompatibility issues. As Oracle continuously changes its licensing policy, it is essential to download the latest version of the policy document.
Conclusion
Oracle database has a significant business impact and ensures customer confidence in managing data. Through running Oracle on RDS, users fully control infrastructure, database environment, and operating system. With EC2, users fully maintain the Oracle binaries database and have operating system-level access. Users can leverage existing Oracle licenses on EC2 or choose to have the license included in the cost of running RDS instances.
Key Takeaways:
Oracle is an RDBMS developed by Oracle Corporation, which stores and retrieves related information.
Running oracle on AWS reduces the costs of installing, updating, maintaining, and patching databases.
There are two main ways to run and maintain Oracle on AWS: Amazon RDS and EC2.
With RDS, users can provision a database instance, running multiple Oracle editions with the resources the user needs.
The steps to transfer oracle to RDS are Migration, Testing and validation, Management, and maintenance.
Running Oracle Database on Amazon EC2 gives users complete control over the infrastructure setup, database environment, choice, etc.
RDS for Oracle comes with a License-Included service model, which allows users to pay per use by the hour.
To run the Oracle database on an AWS EC2 instance, users must license the Oracle software based on the number of occupied sockets on the instance.
The media shown in this article is not owned by Analytics Vidhya and is used at the Author’s discretion.
I'm a cloud enthusiast and have done graduation in computer science. My skills include C, C++, Php, Python, Cloud services(AWS, GCP), shell scripting, MySQL, etc. I have hands-on experience and have done several projects and certifications in areas of Python, Php, MySQL, Cloud (GCP, AWS), and C++
We use cookies essential for this site to function well. Please click to help us improve its usefulness with additional cookies. Learn about our use of cookies in our Privacy Policy & Cookies Policy.
Show details
Powered By
Cookies
This site uses cookies to ensure that you get the best experience possible. To learn more about how we use cookies, please refer to our Privacy Policy & Cookies Policy.
brahmaid
It is needed for personalizing the website.
csrftoken
This cookie is used to prevent Cross-site request forgery (often abbreviated as CSRF) attacks of the website
Identityid
Preserves the login/logout state of users across the whole site.
sessionid
Preserves users' states across page requests.
g_state
Google One-Tap login adds this g_state cookie to set the user status on how they interact with the One-Tap modal.
MUID
Used by Microsoft Clarity, to store and track visits across websites.
_clck
Used by Microsoft Clarity, Persists the Clarity User ID and preferences, unique to that site, on the browser. This ensures that behavior in subsequent visits to the same site will be attributed to the same user ID.
_clsk
Used by Microsoft Clarity, Connects multiple page views by a user into a single Clarity session recording.
SRM_I
Collects user data is specifically adapted to the user or device. The user can also be followed outside of the loaded website, creating a picture of the visitor's behavior.
SM
Use to measure the use of the website for internal analytics
CLID
The cookie is set by embedded Microsoft Clarity scripts. The purpose of this cookie is for heatmap and session recording.
SRM_B
Collected user data is specifically adapted to the user or device. The user can also be followed outside of the loaded website, creating a picture of the visitor's behavior.
_gid
This cookie is installed by Google Analytics. The cookie is used to store information of how visitors use a website and helps in creating an analytics report of how the website is doing. The data collected includes the number of visitors, the source where they have come from, and the pages visited in an anonymous form.
_ga_#
Used by Google Analytics, to store and count pageviews.
_gat_#
Used by Google Analytics to collect data on the number of times a user has visited the website as well as dates for the first and most recent visit.
collect
Used to send data to Google Analytics about the visitor's device and behavior. Tracks the visitor across devices and marketing channels.
AEC
cookies ensure that requests within a browsing session are made by the user, and not by other sites.
G_ENABLED_IDPS
use the cookie when customers want to make a referral from their gmail contacts; it helps auth the gmail account.
test_cookie
This cookie is set by DoubleClick (which is owned by Google) to determine if the website visitor's browser supports cookies.
_we_us
this is used to send push notification using webengage.
WebKlipperAuth
used by webenage to track auth of webenagage.
ln_or
Linkedin sets this cookie to registers statistical data on users' behavior on the website for internal analytics.
JSESSIONID
Use to maintain an anonymous user session by the server.
li_rm
Used as part of the LinkedIn Remember Me feature and is set when a user clicks Remember Me on the device to make it easier for him or her to sign in to that device.
AnalyticsSyncHistory
Used to store information about the time a sync with the lms_analytics cookie took place for users in the Designated Countries.
lms_analytics
Used to store information about the time a sync with the AnalyticsSyncHistory cookie took place for users in the Designated Countries.
liap
Cookie used for Sign-in with Linkedin and/or to allow for the Linkedin follow feature.
visit
allow for the Linkedin follow feature.
li_at
often used to identify you, including your name, interests, and previous activity.
s_plt
Tracks the time that the previous page took to load
lang
Used to remember a user's language setting to ensure LinkedIn.com displays in the language selected by the user in their settings
s_tp
Tracks percent of page viewed
AMCV_14215E3D5995C57C0A495C55%40AdobeOrg
Indicates the start of a session for Adobe Experience Cloud
s_pltp
Provides page name value (URL) for use by Adobe Analytics
s_tslv
Used to retain and fetch time since last visit in Adobe Analytics
li_theme
Remembers a user's display preference/theme setting
li_theme_set
Remembers which users have updated their display / theme preferences
We do not use cookies of this type.
_gcl_au
Used by Google Adsense, to store and track conversions.
SID
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
SAPISID
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
__Secure-#
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
APISID
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
SSID
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
HSID
Save certain preferences, for example the number of search results per page or activation of the SafeSearch Filter. Adjusts the ads that appear in Google Search.
DV
These cookies are used for the purpose of targeted advertising.
NID
These cookies are used for the purpose of targeted advertising.
1P_JAR
These cookies are used to gather website statistics, and track conversion rates.
OTZ
Aggregate analysis of website visitors
_fbp
This cookie is set by Facebook to deliver advertisements when they are on Facebook or a digital platform powered by Facebook advertising after visiting this website.
fr
Contains a unique browser and user ID, used for targeted advertising.
bscookie
Used by LinkedIn to track the use of embedded services.
lidc
Used by LinkedIn for tracking the use of embedded services.
bcookie
Used by LinkedIn to track the use of embedded services.
aam_uuid
Use these cookies to assign a unique ID when users visit a website.
UserMatchHistory
These cookies are set by LinkedIn for advertising purposes, including: tracking visitors so that more relevant ads can be presented, allowing users to use the 'Apply with LinkedIn' or the 'Sign-in with LinkedIn' functions, collecting information about how visitors use the site, etc.
li_sugr
Used to make a probabilistic match of a user's identity outside the Designated Countries
MR
Used to collect information for analytics purposes.
ANONCHK
Used to store session ID for a users session to ensure that clicks from adverts on the Bing search engine are verified for reporting purposes and for personalisation
We do not use cookies of this type.
Cookie declaration last updated on 24/03/2023 by Analytics Vidhya.
Cookies are small text files that can be used by websites to make a user's experience more efficient. The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies, we need your permission. This site uses different types of cookies. Some cookies are placed by third-party services that appear on our pages. Learn more about who we are, how you can contact us, and how we process personal data in our Privacy Policy.