DAT325 - Managed Oracle Databases With Amazon RDS New Features and Best Practices
DAT325 - Managed Oracle Databases With Amazon RDS New Features and Best Practices
DAT325
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Customer content: Jefferies’ experience with Amazon RDS Custom for Oracle
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
PARTICIPATE IN SESSION POLLS ON YOUR MOBILE DEVICE
prod-livepolling.awseventservices.com 995168
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS
Managed relational database service with a choice of popular databases
Designed to
Performant and Available and enable security
Easy to administer
scalable durable and compliance
• No infrastructure • Scale with an API call or • Automatic Multi-AZ • Encryption at rest and
provisioning a few clicks data replication in transit
• No software installation • Read replicas for • Network isolation and
and patching • Automated backup, resource-level
increased throughput
snapshots, and failover permissions
• Built-in monitoring
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS Custom for Oracle
Customer Virtual Private Cloud (VPC) Amazon Relational
Database Service
RDS Custom for Oracle database instance
Amazon RDS Custom for Oracle
instance/endpoint
-
Access via Oracle Database
Listener on specified port
- Oracle Database Database storage Operating
software system files and Amazon RDS Custom
Access host via Secure Shell
configs for Oracle
(SSH)
-
Database automation
Customer
applications and
with support for
resources customization of the
Amazon RDS Custom for underlying operating
Oracle replica instance Amazon EC2 system and database
- environment
Managed Oracle Data Amazon EBS Amazon S3
Guard physical standby Support perimeter
Customer-managed
replica instances Amazon EFS
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
POLL: Which best describes your current experience
running Oracle Database workloads on AWS?
• New to AWS and just getting started
• Self-managing lift-and-shift workloads on
Amazon EC2
• Running most workloads on Amazon RDS
for Oracle
• Modernizing workloads to Amazon Aurora,
Amazon RDS open source, or other
purpose-built databases
prod-livepolling.awseventservices.com 103867
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS for Oracle
new features
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS for Oracle database versions
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS for Oracle option versions
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS for Oracle database instance types
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS for Oracle database instance types
Burstable T3 Latest burstable family
Cost-effective instances for dev/test, burstable
workloads
General purpose M5, M6i Latest general purpose family
Production workloads with balanced CPU and M5d Adds local storage for TEMP and flash cache
memory (4 GiB : 1 vCPU)
b = block storage optimization; d = instance store volumes; e =extra memory; i = Intel processors; n = network optimization; z = high frequency processors
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS for Oracle network and configuration
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Data migration with RDS for Oracle
Source database Data movement RDS for Oracle database instance
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Data migration with RDS for Oracle
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS for Oracle replicas
Up to 5 total replicas,
in the same Region or
different Regions
Read/write Read-only
workloads workloads
Fully-managed Data
Guard/Active Data
Guard physical
standby in maximum
performance mode
Replication traffic
Oracle Data Guard always encrypted
Amazon RDS (logwriter asynchronous)
for Oracle
primary
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS for Oracle replica promotion
Region 1 Region 2
Read/write Read-only
workloads workloads
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS for Oracle replica promotion
Region 1 Region 2
Can be same or
different region as
Read/write Read-only source instance Read/write
workloads workloads workloads
2. Standby
1. Replication becomes
terminated standalone
Amazon RDS
Amazon RDS instance
for Oracle
for Oracle
Oracle Data Guard primary
replica
(MaxPerformance, asynchronous)
Amazon RDS
for Oracle
primary
3. Full backup
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
New - RDS for Oracle automated backups
Region 1 Region 2
Application
RDS RDS
automated automated
backups backups
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
New - RDS for Oracle replica switchover
Region 1 Region 2
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS for Oracle replica switchover
Region 1 Region 2
Application
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS for Oracle replica switchover (back)
Region 1 Region 2
Application
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS for Oracle role transition use cases
Promotion Switchover
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS Custom for
Oracle new features
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS Custom for Oracle shared
responsibility model
On-premises EC2 RDS Custom RDS
Self-managed AWS-managed
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS Custom for Oracle database versions
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
New - RDS Custom for Oracle Multitenant
--db-name
(default ORCL)
Additional pluggable
ORCL PDB2 PDB… databases created
RDS monitors and and managed by the
provides metrics on customer
pluggable databases,
ensures they remain RDS Custom for Oracle automation
open
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS Custom for Oracle replicas
Up to 5 managed replicas,
in the same Region
Additional customer- Read/write Read-only
managed replicas workloads workloads
supported
Fully-managed Data
Guard/Active Data
Guard physical
standby in maximum
performance mode
(configurable)
Oracle Data Guard
Amazon RDS
Custom for Oracle
primary
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
New - RDS Custom for Oracle promote
managed replicas
Region 1
Read/write Read-only
workloads workloads
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS Custom for Oracle promote managed
replicas
Region 1
1. Replication 2. Standby
terminated becomes
standalone
Amazon
Amazon RDS
RDS instance
Custom
Custom for
for Oracle
Oracle
Oracle Data Guard primary
managed replica
Amazon RDS
Custom for Oracle
primary
3. Backup
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS Custom for Oracle switchover/failover
Region 1
Read/write Read-only
workloads workloads
Customer-managed
switchover/failover using
Data Guard Broker
(manual or fast-start
failover)
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS Custom for Oracle switchover/failover
Region 1
Read-only Read/write
workloads workloads
Customer-managed
switchover/failover using
Data Guard Broker
(manual or fast-start
failover)
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use case: Amazon RDS for Oracle
Oracle Peoplesoft, Siebel CRM, JD Edwards ▪ High availability and disaster recovery
▪ Host monitoring and replacement
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use case: Amazon RDS Custom for Oracle
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use case: Self-managed on Amazon EC2
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
POLL: What are the top challenges that block you from
migrating workloads to Amazon RDS for Oracle?
• Size/performance requirements
• Database features and permissions
• TCO/value proposition
• Don’t know enough about the
service
prod-livepolling.awseventservices.com 844401
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS Custom for Oracle
at Jefferies
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Who is Jefferies
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jefferies
Jefferies is the largest independent full-service global investment banking firm
headquartered in the U.S. and provides investment banking, advisory, sales and
trading, research and wealth management services across the Americas, Europe
and Asia
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why Amazon RDS Custom for Oracle
PACKAGED APPLICATION DEPENDENT ON ORACLE RDBMS
• Automated backups
• Cloud scale
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jefferies RDS Reference Architecture
AWS Cloud
VPC
IBM Guardium AZ-1 AZ-2
AWS Key Management Service
(AWS KMS)
Data Guard Standby
Oracle
Enterprise
Amazon RDS Amazon RDS
Manager
Standby
AWS Secrets Manager
Oracle
Unified EC2
Directory EC2
Amazon CloudWatch
Splunk
Crowdstrike EFS
AWS Service
Atlassian Catalog
Zabbix DevOps Ansible
Toolset
Amazon Route 53
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automation Challenge
SYSTEMS MANAGER – AUTOMATION DOCUMENTS AT THE CENTER OF AUTOMATION
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Workflow – create RDS Custom for Oracle instance
Obtain engine version Create RDS custom Wait State Get Database ID
and approval
Install and configure Prepare and Prepare and execute Get Instance ID
Observer personalize Oracle RDS instance for
Ansible
• Detect and observe • Install and configure • Playbook centrally • API Call -
resources packaging around managed via S3 DescribeDBInstances
Guardium, OUD etc..
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Conclusion
▪ RDS Custom for Oracle provided a significant value proposition with
legacy, custom, and packaged application where Jefferies don’t want
to fully manage Oracle databases.
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Learn more
• AWS documentation – Getting started with Amazon RDS – step-by-step instructions
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.html
• AWS Partner, House of Brick – Understanding your options for deploying and licensing
Oracle on AWS
https://aws.amazon.com/blogs/apn/understanding-your-options-for-deploying-and-licensing-
oracle-on-aws/
• AWS Database Blog – Role of the DBA when moving to Amazon RDS
https://aws.amazon.com/blogs/database/part-1-role-of-the-dba-when-moving-to-amazon-rds-
responsibilities/
• AWS Database Blog – Category: Amazon RDS for Oracle
https://aws.amazon.com/blogs/database/category/database/amazon-rds/rds-for-oracle/
• Amazon RDS for Oracle additional resources
https://aws.amazon.com/rds/oracle/resources/
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
Michael Barras (he/him) Manish Mohite
[email protected]
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.