aws webcast - migrating to rds oracle

25
Greg Khairallah | [email protected] George Loyer Business Development Manager Database Services MarketLive, VP of Managed Services Migrating Applications to Amazon RDS for Oracle Amazon RDS

Upload: amazon-web-services

Post on 29-Nov-2014

472 views

Category:

Technology


0 download

DESCRIPTION

Amazon RDS makes it easy to set up, operate, and scale Oracle Database deployments in the cloud. In this webinar, we'll discuss practical ways of migrating applications to Amazon RDS for Oracle. Customer case studies will illustrate how customers moved to Amazon RDS for Oracle and how they benefited.

TRANSCRIPT

Page 1: AWS Webcast - Migrating to RDS Oracle

Greg Khairallah | [email protected] George LoyerBusiness Development Manager – Database Services MarketLive, VP of Managed Services

Migrating Applications to Amazon RDS for Oracle

Amazon RDS

Page 2: AWS Webcast - Migrating to RDS Oracle

Agenda

• Amazon Relational Database Service Review

• Planning your migration

• Migration tools

• Recommendations

• Case Study - MarketLive

Page 3: AWS Webcast - Migrating to RDS Oracle

Amazon RDS

Amazon

DynamoDBAmazon Redshift

Amazon

ElastiCache

Compute Storage

AWS Global Infrastructure

Database

Application Services

Deployment & Administration

Networking

AWS Database

Services

Scalable High Performance

Application Storage in the Cloud

Page 4: AWS Webcast - Migrating to RDS Oracle

Amazon RDS is a fully managed SQL database service

Simple to deploy and scale

Without any operational burden

Reliable and cost effective

Choice of Database engines

Page 5: AWS Webcast - Migrating to RDS Oracle

If you host your databases on-premises

Power, HVAC, net

Rack & stack

Server maintenance

OS patches

DB s/w patches

Database backups

Scaling

High availability

DB s/w installs

OS installation

you

App optimization

Page 6: AWS Webcast - Migrating to RDS Oracle

If you host your databases on-premises

Power, HVAC, net

Rack & stack

Server maintenance

OS patches

DB s/w patches

Database backups

Scaling

High availability

DB s/w installs

OS installation

you

App optimization

Page 7: AWS Webcast - Migrating to RDS Oracle

If you host your databases in EC2

Power, HVAC, net

Rack & stack

Server maintenance

OS patches

DB s/w patches

Database backups

Scaling

High availability

DB s/w installs

OS installation

you

App optimization

Page 8: AWS Webcast - Migrating to RDS Oracle

If you host your databases in EC2

OS patches

DB s/w patches

Database backups

Scaling

High availability

DB s/w installs

you

App optimization

Power, HVAC, net

Rack & stack

Server maintenance

OS installation

Page 9: AWS Webcast - Migrating to RDS Oracle

If you choose a managed DB service like RDS

Power, HVAC, net

Rack & stack

Server maintenance

OS patches

DB s/w patches

Database backups

App optimization

High availability

DB s/w installs

OS installation

you

Scaling

Page 10: AWS Webcast - Migrating to RDS Oracle

A resilient, durable, simple application architecture

RDS database instances:

Master and Multi-AZ standby

Application, in Amazon EC2

instances (Multi-AZ)

Elastic Load Balancer

instance

DB snapshots in

Amazon S3

Page 11: AWS Webcast - Migrating to RDS Oracle

Migration – RDS Planning

• Which Oracle edition should I choose?

• Enterprise Edition, Standard Edition or SE1 (BYOL)

• Optimize cost with Oracle SE1 with license included

• Review RDS Oracle documentation

• User Guide http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html

• Common tasks DBA tasks for the Oraclehttp://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.CommonDBATasks.html

Page 12: AWS Webcast - Migrating to RDS Oracle

Instance Selection

• RDS offers a wide range of instance classes

• Instance types differ on CPU, RAM, network

performance, EBS Optimized

• Base selection on

• Performance

• Cost (will differ based on type and region)

• Region (not all instance types available in all regions)

• Elastically scale instance size up/down

Page 13: AWS Webcast - Migrating to RDS Oracle

Oracle SQL Developer

On-Premises

Developer

workstation with SQL

Developer

Oracle Database

Server

VPN Connection

Availability Zone

VPC Private Subnet

Virtual Private Cloud

Schema level

export Amazon RDS

Import into RDS

over VPN

Page 14: AWS Webcast - Migrating to RDS Oracle

Oracle SQL*Loader

On-Premises

Oracle Database

Server

VPN Connection

Availability Zone

VPC Private Subnet

Virtual Private Cloud

Amazon RDS

Copy

SQL*Loader text

files to EC2

Oracle instance

Oracle Database

Server

Load into RDS

(over the network)

Export

SQL*Loader text

file to local

database server

Page 15: AWS Webcast - Migrating to RDS Oracle

Oracle Data Pump

On-Premises

Oracle Database

Server

VPN Connection

Availability Zone

VPC Private Subnet

Virtual Private Cloud

Amazon RDS

Copy dmp files to

EC2 Oracle

instance

Oracle Database

Server

Copy expdp file

into

data_pump_dir

Direct Connect

preferable

Page 16: AWS Webcast - Migrating to RDS Oracle

Oracle Golden Gate

On-Premises

Golden Gate Hub

Oracle Database

Server

VPN Connection

Availability Zone

VPC Private Subnet

Virtual Private Cloud

Amazon RDS

Direct Connect

preferable

Page 17: AWS Webcast - Migrating to RDS Oracle

Partner Solutions

http://www.dbvisit.com/solutions/disaster_recovery_in_the_cloud/

http://www.attunity.com/solutions/cloud/amazon-rds

Tungsten Replicator

Page 18: AWS Webcast - Migrating to RDS Oracle

Recommendations

• Take advantage of Data Pump options

• Choose the largest RDS instance. Once the import is

done change the RDS instance to your preferred type

• For the import, only choose single AZ. Once the import is

done you can enable multi-AZ

• P-IOPS will improve import performance

Page 19: AWS Webcast - Migrating to RDS Oracle

Adopting RDS Oracle SE1

Giving up Oracle Enterprise

Page 20: AWS Webcast - Migrating to RDS Oracle

Delivering growth in managed e-commerce hosting

•Party City

• Customer since April 2006

• Multichannel, multi-site integration

• 2009-2012 CAGGR: 107%

•Peruvian Connection

• Customer since December 2005

• International site, integrated video

• 2009-2012 CAGGR: 47%

•Ulla Popken

• Customer since April 2006

• Multichannel, multi-site integration

• 2009-2012 CAGGR: 107%

•Sundance

• Customer since April 2006

• Multichannel, multi-site integration

• 2009-2012 CAGGR: 107%

20

Page 21: AWS Webcast - Migrating to RDS Oracle

Oracle Enterprise – the data engine for MarketLive sites

•Oracle Enterprise Clusters

• Sun Sparc Clustering

• Multiple Instances

• Multiple Schemas

• Schema per Merchant

•Dataguard Standby

• Offline reporting

• Warm Site Standby

• Disaster Recovery

•Online indexing

•OLTP performance

•Catalog repository

21

Page 22: AWS Webcast - Migrating to RDS Oracle

AWS Required Rethinking Deployment of Oracle

•Discovery

• Enterprise features in use

• Alternatives in RDS Oracle SE1

• Migration gaps to SE1

• Learning curve for DBAs

•Deployment changes

• SE1 for cost + flexibility

• Management operations

• Monitoring deployment

• Sync solution

22

Page 23: AWS Webcast - Migrating to RDS Oracle

Comparing Enterprise and Standard Edition 1

Oracle Enterprise

•Dataguard replication

•Direct access to the OS for

scripting, cron jobs

•Database migration across

license types

•Online indexing

RDS Oracle SE1 at AWS

•RDS snapshots

•Attunity replication

•Jumpbox approach

•RDS console operations

•Attunity moves data from

Enterprise to SE1 seamlessly

•Maintenance required for new

indexes

23

Page 24: AWS Webcast - Migrating to RDS Oracle

DBA Learning Curve

•Getting over not being able to log into the RDS instance itself

•Workaround for lack of EXPDP, still learning the AWS-way to make

this a smoother process

•Changes in naming conventions, operations practices when

moving from large cluster instance to instance per merchant

deployment

•Re-implementation of some monitoring scripts that are part of

database management practices at MarketLive

•Re-factoring post stored procedure script execution

•Maintenance required for new index creation on large tables

24

Page 25: AWS Webcast - Migrating to RDS Oracle

Lessons Learned

•Take advantage of the AWS RDS team!

•Give DBAs familiar with Enterprise enough time to work through

the changes in operation required to downshift to SE1 (but don’t

accept that there is a task that “can’t be done”)

•Dig into the features and functions of the RDS console and practice

with it in a test environment so you know what to expect in terms of

time and operation

•Take advantage of RDS Business Support – excellent response and

expertise

25