SlideShare a Scribd company logo
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS re:INVENTU s e A W S D M S t o S e c u r e l y M i g r a t e Y o u r O r a c l e D a t a b a s e t o
A m a z o n A u r o r a w i t h M i n i m a l D o w n t i m e
Ramya Kaushik
Arun Thiagarajan
N o v e m b e r 3 0 , 2 0 1 7
DAT343
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What to Expect from This Session
• Learn about AWS Schema Conversion Tool (AWS SCT)
• Learn about AWS Database Migration Service (AWS DMS)
• General Workflow of a Typical Database Migration
• AWS Migration Hub
• Hands on Lab—Oracle RDS  Amazon Aurora PostgreSQL
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Database Migration Process
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Database Migration Process
Step 1: Convert or copy your schema
Source DB or DW
AWS SCT
Native Tool
Destination DB or DW
Step 2: Move your data
Source DB or DW
AWS SCT
Destination DB or DW
AWS DMS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Schema Conversion Tool
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Schema Conversion Tool (AWS SCT)
• Client-side tool
• Database schema and code conversion service
• OLTP schema or data warehouse schema
• Converts embedded SQL statements too
• Creates a conversion report
• Helps choose the best target engine
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS SCT—OLTP Sources and Targets
Source Database Target Database
Microsoft SQL Server (version 2008 and
later)
Amazon Aurora (MySQL or PostgreSQL),
Microsoft SQL Server, MySQL, PostgreSQL
MySQL (version 5.6 and later)
Amazon Aurora PostgreSQL, MySQL,
PostgreSQL
Oracle (version 10.2 and later)
Amazon Aurora (MySQL or PostgreSQL),
MySQL, Oracle, PostgreSQL
PostgreSQL (version 9.1 and later)
Amazon Aurora MySQL, MySQL,
PostgreSQL
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS SCT—DW Sources and Targets
Source Database Target Database
Greenplum Database (version 4.3 and later) Amazon Redshift
Microsoft SQL Server (version 2008 and
later)
Amazon Redshift
Netezza (version 7.2 and later) Amazon Redshift
Oracle (version 11 and later) Amazon Redshift
Teradata (version 14 and later) Amazon Redshift
Vertica (version 7.2.2 and later) Amazon Redshift
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS SCT Assessment Report
• Assessment of migration
compatibility of source databases
with open-source database
engines – RDS MySQL, RDS
PostgreSQL and Aurora
• Recommends best target engine
• Provides details level of efforts to
complete migration
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS SCT Helps with Converting Tables, Views, and
Code
Sequences
User-defined types
Synonyms
Packages
Stored procedures
Functions
Triggers
Schemas
Tables
Indexes
Views
Sort and distribution keys
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Database Migration Service
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Database Migration Service (DMS)
Modernize Migrate Replicate
Modernize your database tier –
• Commercial to open-source
• Commercial to Amazon Aurora
Modernize your data warehouse –
• Commercial to Amazon Redshift
• Migrate business-critical apps
• Migrate from Classic to VPC
• Migrate data warehouse to
Amazon Redshift
• Upgrade to a minor version
• Consolidate shards into Amazon
Aurora
• Create cross-regions read replicas
• Run your analytics in the cloud
• Keep your dev/test and production
environment in sync
Why use DMS and SCT?
Secure
Cost Effective
Remove Barriers
to Entry
Allow DB
Freedom
Keep a Leg in
the Cloud
Easy to Use, but
Sophisticated…
Near-Zero
Downtime
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS DMS—Sources and Targets
Sources Targets
Oracle Oracle
MS SQL Server MS SQL Server
MySQL MySQL
MariaDB MariaDB
MongoDB PostgreSQL
Amazon Aurora Amazon Aurora
SAP ASE SAP ASE
PostgreSQL Amazon S3
Azure SQL Amazon Redshift
Amazon S3 Amazon DynamoDB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How does AWS DMS work?
Customer
premises
Application users
AWS
Internet
VPN
Start a replication instance
Connect to source and target
databases
Create tasks
 Let AWS DMS create tables,
load data, and keep them in
sync
 Switch applications over to
the target at your convenience
AWS
DMS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Multi-AZ Option for High Availability
Customer
premises
or AWS
AWS
Internet
VPN
AWS DMS
AWS DMS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS DMS Phases during Full Load + CDC
• Bulk load
• Application of cached changes
• Transactional apply
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How Full Load Works
Replication instance
Source Target
Load is table by table
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Change Data Capture(CDC) and Apply
Replication instanceSource Target
Update
t1 t2
t1
t2
Transactions Change
apply
after bulk
load
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS DMS Components
• Replication instance
• Tasks
• Endpoints
• Source
• Target
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What else I can do? – Fan In
Source Target
Source
Source
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What else I can do? – Fan Out
Source Target
Target
Target
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What else I can do? – Take it all or not
Source Target
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What else I can do?
SQL Server MySQL
Oracle Oracle
Oracle Aurora
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Important Things to Remember
• Enable supplemental logging on the Oracle database
• Disable foreign keys, triggers during full load
• Name notations
• Create secondary indexes during applied cached changes and replicating
ongoing changes
• Data type mismatches
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
General Workflow—Full Load + CDC
• Migrate schema with SCT
• Drop all FK constraints/indexes on target
• Initiate full load using DMS
• Stop task (can do this automatically with task settings)
• Create secondary indexes
• Resume task to apply cached changes
• Enable foreign keys
• Start change data capture
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Migration Hu b
Simp lify and Acce le rate Mig ration Ex e cu tion
A single location to track the progress of application migrations across AWS and partner solutions
AWS Database
Migration Service
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Further Reading
Blogs
• How to Migrate Your Oracle Database to PostgreSQL
• Migrating Oracle Database from On-Premises or Amazon EC2 Instances to Amazon Redshift
• Using the AWS Database Migration Service, Amazon S3, and AWS Lambda for Database Analytics
• How to Migrate Your Oracle Data Warehouse to Amazon Redshift Using AWS SCT and AWS DMS
• Reduce Resource Consumption by Consolidating Your Sharded System into Aurora
• Set Up AWS DMS for Cross-Account Migration
Webinars
• “Consolidate MySQL Shards into Amazon Aurora Using AWS Database Migration Service”
• “Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migration Service”
Cookbook (Q4): step-by-step guide how to migrate Oracle to Aurora PostgreSQL
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Oracle to PostgreSQL Replication
Oracle private DC to RDS PostgreSQL migration
Used the AWS Schema Conversion Tool to
convert their database schema
Used on-going replication (CDC) to keep
databases in sync until they reached the cutover
window
Benefits:
• Improved reliability of the cloud environment
• Savings on Oracle licensing costs
• SCT Assessment Report let them understand
the scope of the migration
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Oracle RAC to PostgreSQL Replication
Our goal is to improve lives one smile at a time…
Replicate Oracle RAC to RDS for PostgreSQL
Replicate PostgreSQL to Amazon Redshift
• Higher performance without the Oracle cost
• Ability to split the data and keep master tables in
sync
• Use SCT to begin the modernization journey
“DMS is a great product. From looking at the product to getting it in production takes no time
at all. Its simple to use and reliable. The flexibility of creating new tasks is not very time
consuming and just works.”
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hands-on Lab
Oracle to Amazon Aurora PostgreSQL
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hands on Lab Instructions
Today’s lab http://bit.ly/2i1lAUc
Lab with CloudFormation template http://bit.ly/2zQkiXm
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!

More Related Content

What's hot

Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Amazon Web Services
 
Introduction to Amazon Elasticsearch Service
Introduction to  Amazon Elasticsearch ServiceIntroduction to  Amazon Elasticsearch Service
Introduction to Amazon Elasticsearch Service
Amazon Web Services
 
Deep Dive on PostgreSQL Databases on Amazon RDS (DAT324) - AWS re:Invent 2018
Deep Dive on PostgreSQL Databases on Amazon RDS (DAT324) - AWS re:Invent 2018Deep Dive on PostgreSQL Databases on Amazon RDS (DAT324) - AWS re:Invent 2018
Deep Dive on PostgreSQL Databases on Amazon RDS (DAT324) - AWS re:Invent 2018
Amazon Web Services
 
Building a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage ServicesBuilding a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage Services
Amazon Web Services
 
Migrating Oracle to Aurora PostgreSQL Utilizing AWS Database Migration Servic...
Migrating Oracle to Aurora PostgreSQL Utilizing AWS Database Migration Servic...Migrating Oracle to Aurora PostgreSQL Utilizing AWS Database Migration Servic...
Migrating Oracle to Aurora PostgreSQL Utilizing AWS Database Migration Servic...
Amazon Web Services
 
Oracle on AWS
Oracle on AWSOracle on AWS
Oracle on AWS
Amazon Web Services
 
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS SummitAmazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon Web Services
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
Amazon Web Services
 
Accelerate Database Development and Testing with Amazon Aurora (DAT313) - AWS...
Accelerate Database Development and Testing with Amazon Aurora (DAT313) - AWS...Accelerate Database Development and Testing with Amazon Aurora (DAT313) - AWS...
Accelerate Database Development and Testing with Amazon Aurora (DAT313) - AWS...
Amazon Web Services
 
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Amazon Web Services
 
Migrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration ServiceMigrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration Service
Amazon Web Services
 
PASS 17: RDS SQL Server on Amazon Web Services Overview
PASS 17: RDS SQL Server on Amazon Web Services OverviewPASS 17: RDS SQL Server on Amazon Web Services Overview
PASS 17: RDS SQL Server on Amazon Web Services Overview
Amazon Web Services
 
AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...
AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...
AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...
Amazon Web Services
 
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksIntroducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Amazon Web Services
 
Accelerate Oracle to Aurora PostgreSQL Migration (GPSTEC313) - AWS re:Invent ...
Accelerate Oracle to Aurora PostgreSQL Migration (GPSTEC313) - AWS re:Invent ...Accelerate Oracle to Aurora PostgreSQL Migration (GPSTEC313) - AWS re:Invent ...
Accelerate Oracle to Aurora PostgreSQL Migration (GPSTEC313) - AWS re:Invent ...
Amazon Web Services
 
Migrating Your Oracle & SQL Server Databases to Amazon Aurora (DAT318) - AWS ...
Migrating Your Oracle & SQL Server Databases to Amazon Aurora (DAT318) - AWS ...Migrating Your Oracle & SQL Server Databases to Amazon Aurora (DAT318) - AWS ...
Migrating Your Oracle & SQL Server Databases to Amazon Aurora (DAT318) - AWS ...
Amazon Web Services
 
Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...
Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...
Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...
Amazon Web Services
 
Oracle to Amazon Aurora Migration, Step by Step (DAT435-R1) - AWS re:Invent 2018
Oracle to Amazon Aurora Migration, Step by Step (DAT435-R1) - AWS re:Invent 2018Oracle to Amazon Aurora Migration, Step by Step (DAT435-R1) - AWS re:Invent 2018
Oracle to Amazon Aurora Migration, Step by Step (DAT435-R1) - AWS re:Invent 2018
Amazon Web Services
 
DAT202_Getting started with Amazon Aurora
DAT202_Getting started with Amazon AuroraDAT202_Getting started with Amazon Aurora
DAT202_Getting started with Amazon Aurora
Amazon Web Services
 
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
Getting Started with the Hybrid Cloud: Enterprise Backup and RecoveryGetting Started with the Hybrid Cloud: Enterprise Backup and Recovery
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
Amazon Web Services
 

What's hot (20)

Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
 
Introduction to Amazon Elasticsearch Service
Introduction to  Amazon Elasticsearch ServiceIntroduction to  Amazon Elasticsearch Service
Introduction to Amazon Elasticsearch Service
 
Deep Dive on PostgreSQL Databases on Amazon RDS (DAT324) - AWS re:Invent 2018
Deep Dive on PostgreSQL Databases on Amazon RDS (DAT324) - AWS re:Invent 2018Deep Dive on PostgreSQL Databases on Amazon RDS (DAT324) - AWS re:Invent 2018
Deep Dive on PostgreSQL Databases on Amazon RDS (DAT324) - AWS re:Invent 2018
 
Building a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage ServicesBuilding a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage Services
 
Migrating Oracle to Aurora PostgreSQL Utilizing AWS Database Migration Servic...
Migrating Oracle to Aurora PostgreSQL Utilizing AWS Database Migration Servic...Migrating Oracle to Aurora PostgreSQL Utilizing AWS Database Migration Servic...
Migrating Oracle to Aurora PostgreSQL Utilizing AWS Database Migration Servic...
 
Oracle on AWS
Oracle on AWSOracle on AWS
Oracle on AWS
 
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS SummitAmazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
 
Getting Started with Amazon Redshift
Getting Started with Amazon RedshiftGetting Started with Amazon Redshift
Getting Started with Amazon Redshift
 
Accelerate Database Development and Testing with Amazon Aurora (DAT313) - AWS...
Accelerate Database Development and Testing with Amazon Aurora (DAT313) - AWS...Accelerate Database Development and Testing with Amazon Aurora (DAT313) - AWS...
Accelerate Database Development and Testing with Amazon Aurora (DAT313) - AWS...
 
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
 
Migrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration ServiceMigrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration Service
 
PASS 17: RDS SQL Server on Amazon Web Services Overview
PASS 17: RDS SQL Server on Amazon Web Services OverviewPASS 17: RDS SQL Server on Amazon Web Services Overview
PASS 17: RDS SQL Server on Amazon Web Services Overview
 
AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...
AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...
AWS re:Invent 2016: Deep Dive: Amazon EMR Best Practices & Design Patterns (B...
 
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksIntroducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
 
Accelerate Oracle to Aurora PostgreSQL Migration (GPSTEC313) - AWS re:Invent ...
Accelerate Oracle to Aurora PostgreSQL Migration (GPSTEC313) - AWS re:Invent ...Accelerate Oracle to Aurora PostgreSQL Migration (GPSTEC313) - AWS re:Invent ...
Accelerate Oracle to Aurora PostgreSQL Migration (GPSTEC313) - AWS re:Invent ...
 
Migrating Your Oracle & SQL Server Databases to Amazon Aurora (DAT318) - AWS ...
Migrating Your Oracle & SQL Server Databases to Amazon Aurora (DAT318) - AWS ...Migrating Your Oracle & SQL Server Databases to Amazon Aurora (DAT318) - AWS ...
Migrating Your Oracle & SQL Server Databases to Amazon Aurora (DAT318) - AWS ...
 
Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...
Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...
Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...
 
Oracle to Amazon Aurora Migration, Step by Step (DAT435-R1) - AWS re:Invent 2018
Oracle to Amazon Aurora Migration, Step by Step (DAT435-R1) - AWS re:Invent 2018Oracle to Amazon Aurora Migration, Step by Step (DAT435-R1) - AWS re:Invent 2018
Oracle to Amazon Aurora Migration, Step by Step (DAT435-R1) - AWS re:Invent 2018
 
DAT202_Getting started with Amazon Aurora
DAT202_Getting started with Amazon AuroraDAT202_Getting started with Amazon Aurora
DAT202_Getting started with Amazon Aurora
 
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
Getting Started with the Hybrid Cloud: Enterprise Backup and RecoveryGetting Started with the Hybrid Cloud: Enterprise Backup and Recovery
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
 

Similar to Use AWS DMS to Securely Migrate Your Oracle Database to Amazon Aurora with Minimal Downtime - DAT343 - re:Invent 2017

Heterogenous Migration with DMS and SCT: Database Week San Francisco
Heterogenous Migration with DMS and SCT: Database Week San FranciscoHeterogenous Migration with DMS and SCT: Database Week San Francisco
Heterogenous Migration with DMS and SCT: Database Week San Francisco
Amazon Web Services
 
DAT317_Migrating Databases and Data Warehouses to the Cloud
DAT317_Migrating Databases and Data Warehouses to the CloudDAT317_Migrating Databases and Data Warehouses to the Cloud
DAT317_Migrating Databases and Data Warehouses to the Cloud
Amazon Web Services
 
Heterogenous Migration with DMS & SCT - Michael Russo
Heterogenous Migration with DMS & SCT - Michael RussoHeterogenous Migration with DMS & SCT - Michael Russo
Heterogenous Migration with DMS & SCT - Michael Russo
Amazon Web Services
 
Heterogenous Migration with DMS & SCT
Heterogenous Migration with DMS & SCTHeterogenous Migration with DMS & SCT
Heterogenous Migration with DMS & SCT
Amazon Web Services
 
Managing a Database Migration Project Best Practices and Customer References.pdf
Managing a Database Migration Project Best Practices and Customer References.pdfManaging a Database Migration Project Best Practices and Customer References.pdf
Managing a Database Migration Project Best Practices and Customer References.pdf
Amazon Web Services
 
GPS: Migrate Your Databases with the AWS Database Migration Service and AWS S...
GPS: Migrate Your Databases with the AWS Database Migration Service and AWS S...GPS: Migrate Your Databases with the AWS Database Migration Service and AWS S...
GPS: Migrate Your Databases with the AWS Database Migration Service and AWS S...
Amazon Web Services
 
GPSWKS408-GPS Migrate Your Databases with AWS Database Migration Service and ...
GPSWKS408-GPS Migrate Your Databases with AWS Database Migration Service and ...GPSWKS408-GPS Migrate Your Databases with AWS Database Migration Service and ...
GPSWKS408-GPS Migrate Your Databases with AWS Database Migration Service and ...
Amazon Web Services
 
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDS
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDSDAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDS
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDS
Amazon Web Services
 
ABD324_Migrating Your Oracle Data Warehouse to Amazon Redshift Using AWS DMS ...
ABD324_Migrating Your Oracle Data Warehouse to Amazon Redshift Using AWS DMS ...ABD324_Migrating Your Oracle Data Warehouse to Amazon Redshift Using AWS DMS ...
ABD324_Migrating Your Oracle Data Warehouse to Amazon Redshift Using AWS DMS ...
Amazon Web Services
 
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...
Amazon Web Services
 
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...
Amazon Web Services
 
SRV422 Deep Dive on AWS Database Migration Service
SRV422 Deep Dive on AWS Database Migration ServiceSRV422 Deep Dive on AWS Database Migration Service
SRV422 Deep Dive on AWS Database Migration Service
Amazon Web Services
 
Hands-On: Building a Migration Strategy for SQL Server on AWS (WIN310) - AWS ...
Hands-On: Building a Migration Strategy for SQL Server on AWS (WIN310) - AWS ...Hands-On: Building a Migration Strategy for SQL Server on AWS (WIN310) - AWS ...
Hands-On: Building a Migration Strategy for SQL Server on AWS (WIN310) - AWS ...
Amazon Web Services
 
Migrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration ServiceMigrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration Service
Amazon Web Services
 
Migrating Your Databases to AWS – Tools and Services (Level 100)
Migrating Your Databases to AWS – Tools and Services (Level 100)Migrating Your Databases to AWS – Tools and Services (Level 100)
Migrating Your Databases to AWS – Tools and Services (Level 100)
Amazon Web Services
 
A Practitioner’s Guide on Migrating to, and Running on Amazon Aurora - DAT315...
A Practitioner’s Guide on Migrating to, and Running on Amazon Aurora - DAT315...A Practitioner’s Guide on Migrating to, and Running on Amazon Aurora - DAT315...
A Practitioner’s Guide on Migrating to, and Running on Amazon Aurora - DAT315...
Amazon Web Services
 
Modernizing Databases with DMS - Michael Russo
Modernizing Databases with DMS - Michael Russo Modernizing Databases with DMS - Michael Russo
Modernizing Databases with DMS - Michael Russo
Amazon Web Services
 
Modernizing DMS: Database Week San Francisco
Modernizing DMS: Database Week San FranciscoModernizing DMS: Database Week San Francisco
Modernizing DMS: Database Week San Francisco
Amazon Web Services
 
GPSWKS407-Strategies for Migrating Microsoft SQL Databases to AWS
GPSWKS407-Strategies for Migrating Microsoft SQL Databases to AWSGPSWKS407-Strategies for Migrating Microsoft SQL Databases to AWS
GPSWKS407-Strategies for Migrating Microsoft SQL Databases to AWS
Amazon Web Services
 
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Anaheim ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Anaheim ...Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Anaheim ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Anaheim ...
Amazon Web Services
 

Similar to Use AWS DMS to Securely Migrate Your Oracle Database to Amazon Aurora with Minimal Downtime - DAT343 - re:Invent 2017 (20)

Heterogenous Migration with DMS and SCT: Database Week San Francisco
Heterogenous Migration with DMS and SCT: Database Week San FranciscoHeterogenous Migration with DMS and SCT: Database Week San Francisco
Heterogenous Migration with DMS and SCT: Database Week San Francisco
 
DAT317_Migrating Databases and Data Warehouses to the Cloud
DAT317_Migrating Databases and Data Warehouses to the CloudDAT317_Migrating Databases and Data Warehouses to the Cloud
DAT317_Migrating Databases and Data Warehouses to the Cloud
 
Heterogenous Migration with DMS & SCT - Michael Russo
Heterogenous Migration with DMS & SCT - Michael RussoHeterogenous Migration with DMS & SCT - Michael Russo
Heterogenous Migration with DMS & SCT - Michael Russo
 
Heterogenous Migration with DMS & SCT
Heterogenous Migration with DMS & SCTHeterogenous Migration with DMS & SCT
Heterogenous Migration with DMS & SCT
 
Managing a Database Migration Project Best Practices and Customer References.pdf
Managing a Database Migration Project Best Practices and Customer References.pdfManaging a Database Migration Project Best Practices and Customer References.pdf
Managing a Database Migration Project Best Practices and Customer References.pdf
 
GPS: Migrate Your Databases with the AWS Database Migration Service and AWS S...
GPS: Migrate Your Databases with the AWS Database Migration Service and AWS S...GPS: Migrate Your Databases with the AWS Database Migration Service and AWS S...
GPS: Migrate Your Databases with the AWS Database Migration Service and AWS S...
 
GPSWKS408-GPS Migrate Your Databases with AWS Database Migration Service and ...
GPSWKS408-GPS Migrate Your Databases with AWS Database Migration Service and ...GPSWKS408-GPS Migrate Your Databases with AWS Database Migration Service and ...
GPSWKS408-GPS Migrate Your Databases with AWS Database Migration Service and ...
 
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDS
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDSDAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDS
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDS
 
ABD324_Migrating Your Oracle Data Warehouse to Amazon Redshift Using AWS DMS ...
ABD324_Migrating Your Oracle Data Warehouse to Amazon Redshift Using AWS DMS ...ABD324_Migrating Your Oracle Data Warehouse to Amazon Redshift Using AWS DMS ...
ABD324_Migrating Your Oracle Data Warehouse to Amazon Redshift Using AWS DMS ...
 
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...
Migrating Microsoft SQL Server Databases to AWS – Best Practices and Patterns...
 
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...
WIN301-Migrating Microsoft SQL Server Databases to AWS-Best Practices and Pat...
 
SRV422 Deep Dive on AWS Database Migration Service
SRV422 Deep Dive on AWS Database Migration ServiceSRV422 Deep Dive on AWS Database Migration Service
SRV422 Deep Dive on AWS Database Migration Service
 
Hands-On: Building a Migration Strategy for SQL Server on AWS (WIN310) - AWS ...
Hands-On: Building a Migration Strategy for SQL Server on AWS (WIN310) - AWS ...Hands-On: Building a Migration Strategy for SQL Server on AWS (WIN310) - AWS ...
Hands-On: Building a Migration Strategy for SQL Server on AWS (WIN310) - AWS ...
 
Migrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration ServiceMigrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration Service
 
Migrating Your Databases to AWS – Tools and Services (Level 100)
Migrating Your Databases to AWS – Tools and Services (Level 100)Migrating Your Databases to AWS – Tools and Services (Level 100)
Migrating Your Databases to AWS – Tools and Services (Level 100)
 
A Practitioner’s Guide on Migrating to, and Running on Amazon Aurora - DAT315...
A Practitioner’s Guide on Migrating to, and Running on Amazon Aurora - DAT315...A Practitioner’s Guide on Migrating to, and Running on Amazon Aurora - DAT315...
A Practitioner’s Guide on Migrating to, and Running on Amazon Aurora - DAT315...
 
Modernizing Databases with DMS - Michael Russo
Modernizing Databases with DMS - Michael Russo Modernizing Databases with DMS - Michael Russo
Modernizing Databases with DMS - Michael Russo
 
Modernizing DMS: Database Week San Francisco
Modernizing DMS: Database Week San FranciscoModernizing DMS: Database Week San Francisco
Modernizing DMS: Database Week San Francisco
 
GPSWKS407-Strategies for Migrating Microsoft SQL Databases to AWS
GPSWKS407-Strategies for Migrating Microsoft SQL Databases to AWSGPSWKS407-Strategies for Migrating Microsoft SQL Databases to AWS
GPSWKS407-Strategies for Migrating Microsoft SQL Databases to AWS
 
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Anaheim ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Anaheim ...Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Anaheim ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Anaheim ...
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
Amazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
Amazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
Amazon Web Services
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Amazon Web Services
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
Amazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Amazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
Amazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Amazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Use AWS DMS to Securely Migrate Your Oracle Database to Amazon Aurora with Minimal Downtime - DAT343 - re:Invent 2017

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS re:INVENTU s e A W S D M S t o S e c u r e l y M i g r a t e Y o u r O r a c l e D a t a b a s e t o A m a z o n A u r o r a w i t h M i n i m a l D o w n t i m e Ramya Kaushik Arun Thiagarajan N o v e m b e r 3 0 , 2 0 1 7 DAT343
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What to Expect from This Session • Learn about AWS Schema Conversion Tool (AWS SCT) • Learn about AWS Database Migration Service (AWS DMS) • General Workflow of a Typical Database Migration • AWS Migration Hub • Hands on Lab—Oracle RDS  Amazon Aurora PostgreSQL
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database Migration Process
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database Migration Process Step 1: Convert or copy your schema Source DB or DW AWS SCT Native Tool Destination DB or DW Step 2: Move your data Source DB or DW AWS SCT Destination DB or DW AWS DMS
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Schema Conversion Tool
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Schema Conversion Tool (AWS SCT) • Client-side tool • Database schema and code conversion service • OLTP schema or data warehouse schema • Converts embedded SQL statements too • Creates a conversion report • Helps choose the best target engine
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS SCT—OLTP Sources and Targets Source Database Target Database Microsoft SQL Server (version 2008 and later) Amazon Aurora (MySQL or PostgreSQL), Microsoft SQL Server, MySQL, PostgreSQL MySQL (version 5.6 and later) Amazon Aurora PostgreSQL, MySQL, PostgreSQL Oracle (version 10.2 and later) Amazon Aurora (MySQL or PostgreSQL), MySQL, Oracle, PostgreSQL PostgreSQL (version 9.1 and later) Amazon Aurora MySQL, MySQL, PostgreSQL
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS SCT—DW Sources and Targets Source Database Target Database Greenplum Database (version 4.3 and later) Amazon Redshift Microsoft SQL Server (version 2008 and later) Amazon Redshift Netezza (version 7.2 and later) Amazon Redshift Oracle (version 11 and later) Amazon Redshift Teradata (version 14 and later) Amazon Redshift Vertica (version 7.2.2 and later) Amazon Redshift
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS SCT Assessment Report • Assessment of migration compatibility of source databases with open-source database engines – RDS MySQL, RDS PostgreSQL and Aurora • Recommends best target engine • Provides details level of efforts to complete migration
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS SCT Helps with Converting Tables, Views, and Code Sequences User-defined types Synonyms Packages Stored procedures Functions Triggers Schemas Tables Indexes Views Sort and distribution keys
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Database Migration Service
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Database Migration Service (DMS) Modernize Migrate Replicate Modernize your database tier – • Commercial to open-source • Commercial to Amazon Aurora Modernize your data warehouse – • Commercial to Amazon Redshift • Migrate business-critical apps • Migrate from Classic to VPC • Migrate data warehouse to Amazon Redshift • Upgrade to a minor version • Consolidate shards into Amazon Aurora • Create cross-regions read replicas • Run your analytics in the cloud • Keep your dev/test and production environment in sync
  • 13. Why use DMS and SCT? Secure Cost Effective Remove Barriers to Entry Allow DB Freedom Keep a Leg in the Cloud Easy to Use, but Sophisticated… Near-Zero Downtime
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS DMS—Sources and Targets Sources Targets Oracle Oracle MS SQL Server MS SQL Server MySQL MySQL MariaDB MariaDB MongoDB PostgreSQL Amazon Aurora Amazon Aurora SAP ASE SAP ASE PostgreSQL Amazon S3 Azure SQL Amazon Redshift Amazon S3 Amazon DynamoDB
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How does AWS DMS work? Customer premises Application users AWS Internet VPN Start a replication instance Connect to source and target databases Create tasks  Let AWS DMS create tables, load data, and keep them in sync  Switch applications over to the target at your convenience AWS DMS
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Multi-AZ Option for High Availability Customer premises or AWS AWS Internet VPN AWS DMS AWS DMS
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS DMS Phases during Full Load + CDC • Bulk load • Application of cached changes • Transactional apply
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How Full Load Works Replication instance Source Target Load is table by table
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Change Data Capture(CDC) and Apply Replication instanceSource Target Update t1 t2 t1 t2 Transactions Change apply after bulk load
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS DMS Components • Replication instance • Tasks • Endpoints • Source • Target
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What else I can do? – Fan In Source Target Source Source
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What else I can do? – Fan Out Source Target Target Target
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What else I can do? – Take it all or not Source Target
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What else I can do? SQL Server MySQL Oracle Oracle Oracle Aurora
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Important Things to Remember • Enable supplemental logging on the Oracle database • Disable foreign keys, triggers during full load • Name notations • Create secondary indexes during applied cached changes and replicating ongoing changes • Data type mismatches
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. General Workflow—Full Load + CDC • Migrate schema with SCT • Drop all FK constraints/indexes on target • Initiate full load using DMS • Stop task (can do this automatically with task settings) • Create secondary indexes • Resume task to apply cached changes • Enable foreign keys • Start change data capture
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Migration Hu b Simp lify and Acce le rate Mig ration Ex e cu tion A single location to track the progress of application migrations across AWS and partner solutions AWS Database Migration Service
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Further Reading Blogs • How to Migrate Your Oracle Database to PostgreSQL • Migrating Oracle Database from On-Premises or Amazon EC2 Instances to Amazon Redshift • Using the AWS Database Migration Service, Amazon S3, and AWS Lambda for Database Analytics • How to Migrate Your Oracle Data Warehouse to Amazon Redshift Using AWS SCT and AWS DMS • Reduce Resource Consumption by Consolidating Your Sharded System into Aurora • Set Up AWS DMS for Cross-Account Migration Webinars • “Consolidate MySQL Shards into Amazon Aurora Using AWS Database Migration Service” • “Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migration Service” Cookbook (Q4): step-by-step guide how to migrate Oracle to Aurora PostgreSQL
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Oracle to PostgreSQL Replication Oracle private DC to RDS PostgreSQL migration Used the AWS Schema Conversion Tool to convert their database schema Used on-going replication (CDC) to keep databases in sync until they reached the cutover window Benefits: • Improved reliability of the cloud environment • Savings on Oracle licensing costs • SCT Assessment Report let them understand the scope of the migration
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Oracle RAC to PostgreSQL Replication Our goal is to improve lives one smile at a time… Replicate Oracle RAC to RDS for PostgreSQL Replicate PostgreSQL to Amazon Redshift • Higher performance without the Oracle cost • Ability to split the data and keep master tables in sync • Use SCT to begin the modernization journey “DMS is a great product. From looking at the product to getting it in production takes no time at all. Its simple to use and reliable. The flexibility of creating new tasks is not very time consuming and just works.”
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hands-on Lab Oracle to Amazon Aurora PostgreSQL
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hands on Lab Instructions Today’s lab http://bit.ly/2i1lAUc Lab with CloudFormation template http://bit.ly/2zQkiXm
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you!