Oracle EBS on AWS - A Clear Path Forward Session ID: 10951

How to optimize Oracle EBS Prepared by: Technology licenses on AWS Mihir Patel CTO, SmartDog Services Sudhakar Marampally Cloud Architect, SmartDog Services Remember to complete your evaluation for this session within the app! Apr 11, 2019 Topics

• Introduction to AWS Cloud • EBS Migration to AWS Cloud - Strategies & Methods • Gather EBS technology License consumption • Analyze the EBS License consumption & Baseline • Understand Oracle Licensing on AWS Cloud • How to Map EBS technology licenses to AWS EC2 • EBS Reference Architecture deployment on AWS cloud • Use Cases for EBS Application on AWS Cloud About Mihir Patel

Chief Technical Officer (CTO) at SmartDog services, Mihir has 21 years of experience leading and delivering over 30 transformation and implementation projects as engagement manager, Cloud Architect, program, solution architect, and license consultant. Mihir has focused on business and technology solutions in architecture strategy and infrastructure management, Cloud migration and consolidations. Mihir has extensive experience in project leadership, architecture strategy, Oracle License management, global implementations, Oracle EBS implementations and technology projects. Prior to joining SmartDog Mihir architected and lead Dell’s Single Global Instance initiative to run Dell’s E- business Suite on Dell servers leveraging Oracle’s Maximum Availability Architecture concepts. About Sudhakar Marampally

• Over 18 years of IT consulting experience • Oracle Administrator since 2001 • Oracle Applications DBA since 2005 • Oracle Cloud Architect since 2015 • AWS Certified Solution Architect Associate, AWS Certified Cloud Practitioner • Oracle certifications on Oracle Cloud implementation, 12c, Oracle 12c RAC, Oracle performance tuning and Oracle Exadata • Successfully completed EBS migration projects to Oracle Cloud • Successfully executed RDBMS upgrades, EBS upgrades, implementations, Platform migrations, EBS cloud migrations and Production support projects • Expertise on Oracle RDBMS, EBS, Discoverer, Fusion Middleware, OBIEE, Agile PLM, RAC Clusters, Oracle Single Sign-On Products AWS Cloud

• Services for Every Enterprise – offers a broad set of global cloud-based products including compute, storage, , analytics, networking, mobile, developer tools, management tools, IoT, security and enterprise applications. These services help organizations move faster, lower IT costs, and scale. AWS is trusted by the largest enterprises and the hottest start-ups to power a wide variety of workloads including: web and mobile applications, game development, data processing and warehousing, storage, archive, and many others

-Over 140 AWS Services AWS Cloud

• Cost Optimization – Use the right capacity for varying compute needs (On Demand, Reserved and Spot Instances) to suit your workload and stop guessing the capacity rather use AWS On demand elasticity feature i.e.Auto Scaling

• Global Infrastructure – Go Global in minutes using the AWS massive Global Infrastructure comprising Regions, Availability Zones and Edge Locations AWS Cloud

• Secure – AWS utilizes an end-to-end approach to secure and harden our infrastructure, including physical, operational, and software measures. Data is secured whether it is in motion or at rest using the encryption.

• Reliable & Flexible – With AWS, you take advantage of a scalable, reliable, and secure global computing infrastructure, the virtual backbone of Amazon.com’s multi- billion dollar online business that has been honed for over a decade. AWS enables you to select the operating system, programming language, web application platform, database, and other services you need EBS Migration Strategies and Methods

Below are the migration strategies we see customers implement to migrate applications to AWS

 Rehosting  Replatforming  Refactoring/ReArchitecting

• Reference: https://aws.amazon.com/blogs/enterprise-strategy/6-strategies-for-migrating- applications-to-the-cloud/ Rehosting (Lift-and-Shift)

On Premise

EBS Running on Linux EBS running on EC2 - Platform Linux

Snowball, DirectConnect, StorageGateway

EBS RapidClone, Database RMAN, Export/Import Replatforming (Lift-tinker-and-Shift)

On Premise

EBS Running on Non - EBS running on EC2 - Linux Platforms like AIX, Linux Solaris, HP-UX etc Snowball, DirectConnect, StorageGateway

EBS Rapid Install, Database Transportable Tablespaces, Export/Import, Refactoring/Rearchitecting

On Premise

EBS running in Single EBS Running on Node Architecture – No Multinode with HA and HA and No DR Disaster Recovery … Snowball, DirectConnect, StorageGateway

EBS RapidClone, Rapid Install, Database RMAN, Transportable Tablespaces, Export/Import Typical EBS Migration Methods

• Database Migration

- RMAN Backup and Recovery (Same Operating System) - Export/Import (Different Operating system) - Transportable tablespaces (Different Operating System)

• Application Migration

- Rapid Cloning (Same Operating System) - Rapid Install/Platform Migration (Different Operating System) Migration Accelerators

 Snowball  AWS DirectConnect  AWS Storage Gateway Migration Accelerators - Snowball

• Snowball is a petabyte-scale data transport solution that uses secure devices to transfer large amounts of data into and out of AWS services. Using Snowball addresses common challenges with large-scale data transfers including high network costs, long transfer times, and security concerns. Transferring data with Snowball is simple, fast, secure, and can be as little as one-fifth the cost of high-speed • Available in 2 flavors – Snowball and Snowball Edge Migration Accelerators - DirectConnect

• AWS Direct Connect is a cloud service solution that makes it easy to establish a dedicated network connection from your premises to AWS. Using AWS Direct Connect, you can establish private connectivity between AWS and your datacenter, office, or colocation environment, which in many cases can reduce your network costs, increase bandwidth throughput, and provide a more consistent network experience than Internet- based connections Migration Accelerators - StorageGateway

• AWS Storage Gateway is a hybrid storage service that enables your on-premises applications to seamlessly use AWS . You can use the service for backup and archiving, disaster recovery, cloud data processing, storage tiering, and migration. The service helps you reduce and simplify your datacenter and branch or remote office storage infrastructure. Your applications connect to the service through a virtual machine or hardware gateway appliance using standard storage protocols, such as NFS, SMB and iSCSI. The gateway connects to AWS storage services, such as , , Amazon EBS, and AWS Backup, providing storage for files, volumes, snapshots, and virtual tapes in AWS. The service includes a highly-optimized data transfer mechanism, with bandwidth management, automated network resilience, and efficient data transfer, along with a local cache for low-latency on-premises access to your most active data. Gather EBS License Consumption (On-Prem)

Execute the below on your On Prem EBS environment

• ORAchk - Oracle ORAchk extends health check coverage to the entire Oracle software stack, and identifies and addresses top issues reported by Oracle users. Oracle ORAchk proactively scans for known problems with Oracle products and deployments

• OSWatcher - Oracle OS watcher (OSWatcher) reports CPU, RAM and Network stress, and is a new alternative for monitoring Oracle servers

• AWR (If you have Diagnostic Pack Licenses): Automatic workload Repository collects, processes, and maintains performance statistics for the database Analyze the Reports & Baseline EBS License Usage

Review and Analyze the AWR Reports, OSWatcher Output and ORAchk Reports and prepare the baseline for License usage

You Look for:

 What software Components & features being used – like Partitioning, Compression etc.  How Many CPUs/Cores being used  How many Users are existing on the system  What is the transaction volume – (No of Order Lines etc) Understand Oracle Licensing on AWS Cloud & Mapping to EC2 Running Servers on AWS EC2

Running EBS services on EC2, you have the below options - Shared Host (Virtualized) - Dedicated Host (Physical Server) AWS EC2

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale easier.

Benefits are - Elastic web-scale computing, Flexible cloud hosting services, Inexpensive, Easy to provision, Reliable and Secure!

Customer Responsibility - Licensing of Oracle Database Enterprise Edition and Options - Managing the Compute Instance and Database VMware cloud on AWS

VMware Cloud on AWS is an integrated cloud offering jointly developed by AWS and VMware delivering a highly scalable, secure and innovative service that allows organizations to seamlessly migrate and extend their on-premises VMware vSphere-based environments to the AWS Cloud running on next-generation Amazon Elastic Compute Cloud (Amazon EC2) bare metal infrastructure.

VMware Cloud on AWS is ideal for enterprise IT infrastructure and operations organizations looking to migrate their on-premises vSphere-based workloads to the public cloud, consolidate and extend their capacities, and optimize, simplify and modernize their disaster recovery solutions

Customer Responsibility - Licensing of Oracle Database - Managing the Guest OS and Database Oracle Software Licensing Models

• Server-based licenses (based on Cores used) – Processor licenses – Named User Plus licenses • Unlimited License Agreements (ULA) • Varying others (PULA, ISV, etc..)

• http://www.orafaq.com/wiki/Oracle_licensing • https://docs.aws.amazon.com/aws-technical-content/latest/oracle-database-aws-best- practices/oracle-licensing-considerations.html Oracle Licensing – Standard Processor based

Processor - Shall be defined as all processors where the Oracle programs are installed and/or running. Programs licensed on a processor basis may be accessed by your internal users (including agents and contractors) and by your third party users. All cores on all multicore chips for each licensed program are to be aggregated before multiplying by the appropriate core processor licensing factor and all fractions of a number are to be rounded up to the next whole number. The number of required licenses shall be determined by multiplying the total number of cores of the processor by the core-factor. For e.g. Core Factor for Intel is 0.5 and Core Factor for Sun is 0.25 Oracle Processor Core Factor Table which can be accessed at http://oracle.com/contracts

• All processors where the program is installed and/or running must be licensed. • With the Processor metric, there is no limit to the number of users, regardless of whether they access the program directly or via a front-end application Oracle Software Licensing - NUPs

• Named User Plus: is defined as an individual authorized by you to use the programs which are installed on a single server or multiple servers, regardless of whether the individual is actively using the programs at any given time. A non human operated device will be counted as a named user plus in addition to all individuals authorized to use the programs, if such devices can access the programs. If multiplexing hardware or software (e.g., a TP monitor or a web server product) is used, this number must be measured at the multiplexing front end. Automated batching of data from computer to computer is permitted. You are responsible for ensuring that the named user plus per processor minimums are maintained for the programs contained in the user minimum table in the licensing rules section; the minimums table provides for the minimum number of named users plus required and all actual users must be licensed

The Named User Plus metric allows you to license your programs by the number of users/non-human operated devices (has to be countable). The standard Named User Plus license minimum for Oracle Database Enterprise Edition is 25 Named User Plus licenses for every licensable processor Oracle Database Editions and Licensing

• Enterprise Edition. Most expensive, complete database. • Standard Edition 2: May only be licensed on servers that have a maximum capacity of 2 sockets. • Personal Edition (single user database) • Enterprise Edition is required with the following configurations: • When the server has got more than 2 sockets OR You are using Tuning or Diagnostic Pack OR You are using Database Options (e.g. Partitioning) • You have to pay for the Database Options, besides the ‘default’ Enterprise Edition database licenses, e.g.: • Real Application Clusters • Partitioning • Advanced Security • Database Vault • Advanced Compression • Active Data Guard • Real Application Testing • Label Security • Total Recall • Spatial • In-Memory Database Cache • Data Mining • OLAP • Media Pack • No licenses necessary: APEX = Oracle Application Express, included in Standard and Enterprise Edition Oracle Licensing Considerations on AWS http://www.oracle.com/us/corporate/pricing/cloud-licensing-070579.pdf

AWS EC2 and RDS: - Count two vCPUs as equivalent to one Oracle Processor license if hyper-threading is enabled, and one vCPU as equivalent to one Oracle Processor license if hyper-threading is not enabled

When counting Oracle Processor license requirements in Authorized Cloud Environments, the Oracle Processor Core Factor Table is not applicable

In all AWS instance types, each vCPU is a hyperthread of an Intel Xeon core except for T2 and m3.medium Typical EBS Architecture on AWS

AWS Components used Sample EBS Deployment • Route 53 DNS Service • ELB – Load Balancer • EBS Volume – Local Storage • EC2 – Compute • S3 – Backup Storage

A Highly Available – Multi Zone Deployed an EBS Environment. EBS Applications and Database are deployed on EC2 instance, and Database is configured with Oracle Data Guard across the AZs Upgrade-Migrate

OR Migrate-Upgrade Upgrade Then Migrate

• Leverage the Legacy environment • Resultant storage volume size to capacity (If Under Used) for upgrade migrate will be higher following the process upgrade, thus increases transfer time • Rule out the migration issues for the • If OS Version is low on the source, OS upgrade process conversion may be required during Upgrade/Migration • You will miss the AWS Elasticity feature to reduce the upgrade time • Need to test the environment 2 times – 1 for upgrade, 2nd for Migration Migrate Then Upgrade

• Leverage AWS Elasticity feature to • Could be some migration issues for the reduce the Upgrade time upgrade process • Reduce the testing cycles • You can avoid intermediate OS upgrade step if legacy OS is on lower version • Reduce transfer time as the storage volume is low in pre-upgrade stage Upgrade & Migrate in Parallel

• Built in Contingency Plan (Stay on • Elongated downtime window (shorter Legacy) than two separate outage windows). • Reduce the testing cycles • Troubleshooting issues may not be clear • Leverage AWS Elasticity feature to (upgrade vs migration related). reduce the Upgrade time • Shorter project duration to end state • Reduce transfer time as the storage volume is low in pre-upgrade stage Use Cases for E-Business Suite Deployment

• Lower Cost • Reduce Risk Disaster Recovery

• Development • Lower Cost Lower Cost Production • Reduce Risk and Test • Reduce Risk • Increase Reliability, Scalability • Increase Agility

[email protected] [email protected]

Session ID: 10951

Remember to complete your evaluation for this session within the app!