Amazon RDS for Oracle Quick Provisioning. Easy Management. Reduced Cost Dhanraj Pondicherry, Sr. Manager Solutions Architecture Amazon Web Services Oct 7 th, 2016 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What to expect from this Webinar Overview of AWS and Amazon RDS for Oracle Benefits of Managed Relational Database Services Minimizing Costs and Using Your Oracle Licenses
Introducing Amazon Web Services AWS is now a mature provider, yet it remains an agile, innovative thought leader with a broad impact across a range of IT markets. It has the richest array of IaaS and PaaS capabilities. Magic Quadrant for Cloud Infrastructure as a Service Gartner Magic Quadrant for Cloud Infrastructure as a Service, Lydia Leong, Gregor Petri, Bob Gill, Mike Dorosh, 3 August 2016. This Magic Quadrant graphic was published by Gartner, Inc. as part of a larger research note and should be evaluated in the context of the entire report.. The Gartner report is available upon request from Steven Armstrong (asteven@amazon.com). Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings. Gartner research publications consist of the opinions of Gartner's research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose.
AWS Pace of Innovation New Service Announcements & Updates 722 515 280 61 82 159 2010 2011 2012 2013 2014 2015
13 Regions Worldwide 35 Availability Zones (AZs) 59 Points of Presence (POPs)
Regions and availability zones Availability Zone A Availability Zone A Internet Availability Zone B Availability Zone C Availability Zone B Availability Zone C Region 1 Region 2
AWS Services to use when deploying Oracle
If you host your databases on-premises App optimization Scaling High availability Database backups DB s/w patches DB s/w installs OS patches OS installation you Server maintenance Rack & stack Power, HVAC, net
If you host your databases in Amazon EC2 App optimization Scaling High availability Database backups DB s/w patches OS installation Server maintenance Rack & stack Power, HVAC, net you DB s/w installs OS patches
If you host databases on Amazon RDS Scaling High availability Database backups DB s/w patches DB s/w installs OS patches OS installation Server maintenance Rack & stack App optimization Power, HVAC, net you
Amazon RDS Benefits Schema design Query construction Query optimization User management Information lifecycle Provisioning High availability Push-button scaling Backup & recovery Isolation & security Industry compliance Automated patching Advanced monitoring
Choosing the right solution for your needs Amazon RDS for Oracle We recommend you consider RDS first Focus on tasks that bring value to your business Focus on high level tuning tasks and schema optimization Lack of in-house expertise managing databases Oracle on Amazon EC2 You need full control over the DB instances Control over backups, replication and clustering Use features and options not available in Amazon RDS Size and performance needs exceed Amazon RDS offering
Fast provisioning Multiple ways to start and manage your Amazon RDS for Oracle resources Amazon RDS Management Console AWS Command Line Tools (CLI) AWS SDKs AWS CloudFormation templates
Fast provisioning: AWS Management Console Select Oracle Edition Tell us your use case Specify DB Details Configure Advanced Settings You re Done!
Fast provisioning: AWS Command Line Interface aws rds create-db-instance \ --db-instance-identifier ORA-DB-01 \ --allocated-storage 200 \ --db-instance-class db.m4.4xlarge \ --engine-version 12.1.0.2.v3 \ --engine oracle-se2 \ --license-model license-included \ --master-username awsuser \ --master-user-password mypassword
Fast provisioning: AWS CloudFormation Templates { "AWSTemplateFormatVersion" : "2016-09-06", "Resources" : { "DBInstance" : { "Type": "AWS::RDS::DBInstance", "Properties": { "DBInstanceIdentifier" : ORA-DB-01", "Engine" : oracle-se2", "LicenseModel" : "license-included", "EngineVersion : "12.1.0.2.v3", "DBInstanceClass" : "db.m4.4xlarge", "AllocatedStorage" : "200", "MasterUsername" : "awsuser", "MasterUserPassword" : "mypassword" } } } }
Scaling compute and storage on Amazon RDS RDS DB Instance Class RDS Storage Type Compute Capabilities vcpus Memory Capabilities GB of RAM Network Performance MB/s (Throughput) Storage Performance I/O Throughput Instance class families: General Purpose (M1,2,3,4) Memory Optimized (R3) Burstable Capacity (T2) Range of DB instance classes: From: 1 vcpu and 1 GB of RAM To: 40 vcpu and 244 GB RAM Storage types: Magnetic Provisioned General Purpose
Simple and fast compute scaling on Amazon RDS
Storage system I/O performance in AWS Amazon RDS Amazon EC2 Type Size Performance Size Performance Burst Capacity Pricing Model Magnetic Storage 10 GiB 3 TiB ~100 IOPS 1 GiB 1 TiB ~ 100 IOPS Yes, several hundred IOPS Allocated storage; I/O operations General Purpose (SSD) 10 GiB 6 TiB (min. 100 GiB advised) 3 IOPS/GiB 1 GiB 16 TiB 3 IOPS/GiB for volumes 1 TiB or less, up to 10,000 IOPS for larger volumes Yes, up to 3000 IOPS per volume, subject to credits (< 1 TiB in size) Allocated storage Provisioned IOPS (SSD) 100 GiB 6 TiB (min. 200 GiB for Standard edition) Ratio: 3 to 10 IOPS/GiB, up to max. 30,000 IOPS 4 GiB 16 TiB Up to 20,000 IOPS; ratio: 3 to 30 IOPS per GiB No, fixed allocation Allocated storage; Provisioned IOPS
High Availability via Amazon RDS Multi-AZ Do It Yourself Oracle Amazon RDS Multi-AZ Set up Oracle RAC clusters Alternatively, set up primary and standby instances using Active Data Guard Create and manage DNS entries Detect instance failure conditions Detect network failure conditions Detect storage failure conditions Decide when to fail-over. Re-establish primary secondary connections. Potentially ~100+ Manual steps Few clicks or One API call
Taking care of backups and maintenance Automated or manual backups Automated patch management
Restoring snapshots Point-in-time recovery (restore + redo) Restore to any snapshot Restore creates a new instance Restored instance available quickly, data loads in background
Cross-Region Disaster Recovery in AWS Choose cross-region snapshot copy for even greater durability, ease of migration Copy a database snapshot to a different AWS Region Restore in the case of a regional disaster Or use it to migrate a database to a different region
Cross-Region Disaster Recovery in AWS Replicate Data Across Regions to have a warm standby ready to fail over to. Logical replication supported by RDS includes: AWS Database Migration Service Oracle GoldenGate
Minimizing Costs and Using your Oracle Licenses
Optimize your Amazon RDS for Oracle spend Region Instance Class Storage type Multi-AZ Workload Pattern Bringing your own license?
Amazon RDS pricing models compared Workload Hours Used Per Day Workload Hours Used Per Day On-Demand Pay by the hour No term commitment Reserved Instances No-upfront Partial-upfront All-upfront RIs Reserved Instances (RIs) available for 1 and 3 year terms Save up to 60% over on-demand costs
Pay only for what you use Example: XLarge Oracle dev/test instance used 10 hours each workday = + Monthly Bill = 215 hrs * $0.35/hr + 100 GB * $0.115 = $87 / month 4 vcpus 16 GiB RAM db.m4.xlarge; Oracle EE-BYOL; Oregon; Single-AZ; On-Demand 100 GB General Purpose (SSD) Assumes DB instance accessed only from Amazon EC2 Further details at http://aws.amazon.com/rds/pricing/
Pay only for what you use Example: XLarge Oracle dev/test instance used 24x7 = + Monthly Bill = 720 hrs * $0.35/hr + 100 GB * $0.115 = $263 / month 4 vcpus 16 GiB RAM db.m4.xlarge; Oracle EE-BYOL; Oregon; Single-AZ; On-Demand 100 GB General Purpose (SSD) Assumes DB instance accessed only from Amazon EC2 Further details at http://aws.amazon.com/rds/pricing/
Pay only for what you use Example: XLarge Oracle Production instance used 24x7 = + Monthly Bill 4 vcpus 16 GiB RAM db.m4.xlarge; Oracle EE-BYOL; Oregon; Multi-AZ; On-Demand 100 GB General Purpose (SSD) = 720 hrs * $0.35/hr * 2 + 100 GB * $0.115 * 2 = $527 / month Price includes a High Availability Multi-AZ configuration Assumes DB instance accessed only from Amazon EC2 Further details at http://aws.amazon.com/rds/pricing/
Optimize costs by reserving capacity Example: XLarge Oracle Production instance used 24x7 = + Monthly Bill 4 vcpus 16 GiB RAM db.m4.xlarge; Oracle EE-BYOL; Oregon; Multi-AZ; 1y No Upfront RI 100 GB General Purpose (SSD) = 720 hrs * $0.22/hr * 2 + 100 GB * $0.115 * 2 = $340 / month Price includes a High Availability Multi-AZ configuration + 1Y No Upfront Cost Reservation
Oracle License Portability to AWS All Oracle Software licenses are fully portable to Amazon Web Services EC2 and RDS Enterprise License Agreement (ELA) Unlimited License Agreement (ULA)* Business Process Outsourcing (BPO) Oracle Partner Network (OPN) Processor & Socket Licensing: Standard Edition Standard Edition One & Standard Edition Two Licenses 0.25 core multiplier = 1 license for 4 virtual cores (8 vcpus) Enterprise Edition Licenses 0.5 core multiplier = 1 license for 2 virtual cores (4 vcpus) Standard named user plus licensing applies, including counting the minimums where applicable Learn more: Oracle Cloud Licensing Policy http://www.oracle.com/us/corporate/pricing/cloud-licensing-070579.pdf AWS Virtual Core Table http://aws.amazon.com/ec2/virtualcores/
References https://aws.amazon.com/rds/getting-started/
References https://aws.amazon.com/rds/getting-started/ https://aws.amazon.com/free https://aws.amazon.com/compliance https://aws.amazon.com/iam
Questions? Contact: Kwesi Edwards kwesied@amazon.com