SlideShare a Scribd company logo
1 of 27
S U M M I T
SYDNEY
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Best practices for migrating
databases to the cloud
Masudur Rahaman Sayem
Solutions Architect
Amazon Web Services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS database portfolio
Amazon RDS
MySQL, PostgreSQL, MariaDB, Oracle,
SQL Server
Amazon Aurora
MySQL, PostgreSQL
Amazon DynamoDB
Key value
Amazon ElastiCache
Redis, Memcached
Amazon Neptune
Graph
Amazon Timestream
Time Series
Amazon QLDB
Ledger Database
Amazon RDS on VMware
N E W
N E W
Amazon DocumentDB
Document
N E W
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Traditional migration approach
Required DB-specific
application code
1001001
0101001
1000100
Was complex to set
up and manage
Required commercial
migration and
replication software
Caused long application
downtime
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Traditional approach to migrate to AWS
Create your AWS account
Setup your Virtual Private Cloud (VPC) in AWS
Connect to AWS with a VPN or Direct Connect
Shutdown and backup your database
Transmit the backup to S3
Configure an EC2 instance with the DB software
Restore the backup
Configure EC2 instances for the application
Switch the users to use AWS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Create your AWS account
Setup your Virtual Private Cloud (VPC) in AWS
Connect to AWS with a VPN or Direct Connect
Shutdown and backup your database
Transmit the backup to S3
Configure an EC2 instance with the DB software
Restore the backup
Configure EC2 instances for the application
Switch the users to use AWS
Traditional approach to migrate to AWS
Could take a week or more!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS DMS and AWS SCT
AWS Database Migration Service (DMS)
Easy and secure cloud database migration
AWS Schema Conversion Tool (SCT)
Automate database schema and code
conversion
Migrate between on
premises and AWS
Automated schema conversion
Data replication for zero
downtime migration
>100,000 Databases migrated with DMS
Migrate between databases
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Database migration process
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Schema onversion ool (SCT)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS Schema Conversion Tool (SCT)
Features
Modernise database schema
warehouse schema
application SQL
Code browser
Secure
ETL
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS SCT data extractors
Extract data from your data warehouse and migrate to Amazon Redshift
Extracts data through local migration agents
Data is optimised for Redshift and saved in local files
Files are loaded to an Amazon S3 bucket (through network or
Amazon Snowball) and then to Amazon Redshift
AWS SCT Amazon S3
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS SCT can tell you how hard the migration will be
Connect SCT to Source
and Target databases
Run Assessment Report
Read Executive Summary
Follow detailed
instructions
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS SCT helps with converting tables, views, and
code
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS SCT lessons learned
Memory management
Large database schema conversion
DB agnostic code
Data type conversion
Migrating large
databases
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Oracle RAC to PostgreSQL replication
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 modernisation journey
“Amazon DMS is a great product. From looking at the product to getting it in production takes no time at all. It’s simple
to use and reliable. The flexibility of creating new tasks is not very time consuming and just works.”
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Database Migration Service (DMS)
features and best practices
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Customer
premise
Application users
AWS
Internet
VPN
Keep your apps running during the migration
Start a replication instance
Connect to source and target
databases
Select tables, schemas, or databases
Let AWS DMS create tables, load
data, and keep them in sync
Switch applications over to the
target at your convenience
AWS DMS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS DMS features
Migrate table by table Source
Amazon Aurora
(MySQL, PostgreSQL)
Amazon DynamoDB
Amazon Redshift
Amazon RDS
Amazon S3
Customers don’t have to take everything
Change Data Capture (CDC)
Multiple targets, multiple sources
Homogenous or heterogeneous
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Split migration
35 million members on its site
Migration from legacy cloud service to AWS
Combination of migration to MySQL on EC2 and
Amazon Aurora
DMS reduced the time required to migrate their
databases by 40 percent
Realised 55 percent cost savings by moving some
DBs to Amazon Aurora
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
DMS Kinesis Target
Amazon Kinesis
Data Stream
Amazon EMR
Spark
Amazon Kinesis
Data Stream
Stream data change to Amazon Kinesis
Amazon
DynamoDB
Amazon RDS
MySQL, PostgreSQL,
MariaDB, Oracle, SQL
Server
DB2 LUW
Amazon DynamoDB
Amazon Redshift
Amazon QuickSight
Amazon CloudSearch
Amazon Athena
Amazon S3
Amazon Kinesis Firehose Amazon Kinesis Firehose
Amazon S3 Bucket Amazon S3 Bucket
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Best practices using AWS DMS
Parallel load (large table)
Check indexes, triggers and referential integrity constraints
Disable backups and transaction logging
Use standby source
Improve performance
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Best practices using AWS DMS
Correct sizing your replication instance
Monitor source DB load
Troubleshoot using task log
Reconsider storing LOB on DB
Dry runs
Things to consider
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Recap
Assessment
Schema
Migration
Data
Migration
App
Migration
Data
Validation
Functional
Testing
Performance
Testing
AWS SCT AWS DMS Amazon Marketplace tool
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
The SQL 2008 end of support countdown is on
9 July 2019
SQL Server 2008 and 2008 R2 end of support
We are ready!
to help customers
Step beyond SQL ’08
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Next steps
• Ask us about funding for POCs and commercial DB migrations
(eg Oracle Database to Aurora)
• https://aws.amazon.com/solutions/databasemigrations/database-freedom/
• DMS & SCT: https://aws.amazon.com/dms/
• Getting Started Guides and Playbooks:
https://aws.amazon.com/dms/getting-started/
• Free DMS: https://aws.amazon.com/dms/free-dms/
Thank you!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Masudur Rahaman Sayem
masudurs@amazon.com

More Related Content

What's hot

Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019
Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019
Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019javier ramirez
 
Migrating Massive Databases and Data Warehouses to the Cloud - ENT327 - re:In...
Migrating Massive Databases and Data Warehouses to the Cloud - ENT327 - re:In...Migrating Massive Databases and Data Warehouses to the Cloud - ENT327 - re:In...
Migrating Massive Databases and Data Warehouses to the Cloud - ENT327 - re:In...Amazon Web Services
 
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...Amazon Web Services
 
遷移到 AWS 雲端旅程的方法與工具
遷移到 AWS 雲端旅程的方法與工具遷移到 AWS 雲端旅程的方法與工具
遷移到 AWS 雲端旅程的方法與工具Amazon Web Services
 
Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319 Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319 Amazon Web Services
 
AWSome Day Online 2020_Module 3: Building in the cloud
AWSome Day Online 2020_Module 3: Building in the cloudAWSome Day Online 2020_Module 3: Building in the cloud
AWSome Day Online 2020_Module 3: Building in the cloudAmazon Web Services
 
Disaster Recovery in the AWS Cloud - Red Lion Hotels, Washington Trust Bank, ...
Disaster Recovery in the AWS Cloud - Red Lion Hotels, Washington Trust Bank, ...Disaster Recovery in the AWS Cloud - Red Lion Hotels, Washington Trust Bank, ...
Disaster Recovery in the AWS Cloud - Red Lion Hotels, Washington Trust Bank, ...Amazon Web Services
 
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 
VMware Cloud on AWS: Technical Deep Dive - SRV341 - Chicago AWS Summit
VMware Cloud on AWS: Technical Deep Dive - SRV341 - Chicago AWS SummitVMware Cloud on AWS: Technical Deep Dive - SRV341 - Chicago AWS Summit
VMware Cloud on AWS: Technical Deep Dive - SRV341 - Chicago AWS SummitAmazon Web Services
 
Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...
Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...
Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...Amazon Web Services
 
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017Amazon Web Services
 

What's hot (20)

Tape Replacement with AWS
Tape Replacement with AWSTape Replacement with AWS
Tape Replacement with AWS
 
Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019
Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019
Building a Modern Data Platform on AWS. Public Sector Summit Brussels 2019
 
Deep Dive on Backup
Deep Dive on BackupDeep Dive on Backup
Deep Dive on Backup
 
Migrating Massive Databases and Data Warehouses to the Cloud - ENT327 - re:In...
Migrating Massive Databases and Data Warehouses to the Cloud - ENT327 - re:In...Migrating Massive Databases and Data Warehouses to the Cloud - ENT327 - re:In...
Migrating Massive Databases and Data Warehouses to the Cloud - ENT327 - re:In...
 
AWS Outposts Update
AWS Outposts UpdateAWS Outposts Update
AWS Outposts Update
 
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...
 
AWSome Day Brasil - Junho 2020
AWSome Day Brasil - Junho 2020AWSome Day Brasil - Junho 2020
AWSome Day Brasil - Junho 2020
 
遷移到 AWS 雲端旅程的方法與工具
遷移到 AWS 雲端旅程的方法與工具遷移到 AWS 雲端旅程的方法與工具
遷移到 AWS 雲端旅程的方法與工具
 
Security Best Practices
Security Best PracticesSecurity Best Practices
Security Best Practices
 
AWSomeDays 2018 TechTrack
AWSomeDays 2018 TechTrackAWSomeDays 2018 TechTrack
AWSomeDays 2018 TechTrack
 
Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319 Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319
 
Oracle on AWS
Oracle on AWSOracle on AWS
Oracle on AWS
 
Cost Optimisation on AWS
Cost Optimisation on AWS Cost Optimisation on AWS
Cost Optimisation on AWS
 
AWSome Day Online 2020_Module 3: Building in the cloud
AWSome Day Online 2020_Module 3: Building in the cloudAWSome Day Online 2020_Module 3: Building in the cloud
AWSome Day Online 2020_Module 3: Building in the cloud
 
Disaster Recovery in the AWS Cloud - Red Lion Hotels, Washington Trust Bank, ...
Disaster Recovery in the AWS Cloud - Red Lion Hotels, Washington Trust Bank, ...Disaster Recovery in the AWS Cloud - Red Lion Hotels, Washington Trust Bank, ...
Disaster Recovery in the AWS Cloud - Red Lion Hotels, Washington Trust Bank, ...
 
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016
Disaster Recovery and Business Continuity - Toronto FSI Symposium - October 2016
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 
VMware Cloud on AWS: Technical Deep Dive - SRV341 - Chicago AWS Summit
VMware Cloud on AWS: Technical Deep Dive - SRV341 - Chicago AWS SummitVMware Cloud on AWS: Technical Deep Dive - SRV341 - Chicago AWS Summit
VMware Cloud on AWS: Technical Deep Dive - SRV341 - Chicago AWS Summit
 
Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...
Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...
Backup and Recovery with Cloud-Native Deduplication and Use Cases from the Fi...
 
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
 

Similar to Database Migration to AWS with DMS and SCT

Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...
Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...
Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...Amazon Web Services
 
Database Freedom - ADB304 - Santa Clara AWS Summit
Database Freedom - ADB304 - Santa Clara AWS SummitDatabase Freedom - ADB304 - Santa Clara AWS Summit
Database Freedom - ADB304 - Santa Clara AWS SummitAmazon Web Services
 
Migrating Business Critical Applications to AWS
Migrating Business Critical Applications to AWSMigrating Business Critical Applications to AWS
Migrating Business Critical Applications to AWSAmazon Web Services
 
Scale - Best Practices for Migrating your Microsoft Workloads to AWS
Scale - Best Practices for Migrating your Microsoft Workloads to AWSScale - Best Practices for Migrating your Microsoft Workloads to AWS
Scale - Best Practices for Migrating your Microsoft Workloads to AWSAmazon Web Services
 
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...Amazon Web Services
 
Migrate a relational database to Aurora - ADB302 - Atlanta AWS Summit
Migrate a relational database to Aurora - ADB302 - Atlanta AWS SummitMigrate a relational database to Aurora - ADB302 - Atlanta AWS Summit
Migrate a relational database to Aurora - ADB302 - Atlanta AWS SummitAmazon Web Services
 
Best Practices for Migrating your Microsoft Workloads to AWS
Best Practices for Migrating your Microsoft Workloads to AWSBest Practices for Migrating your Microsoft Workloads to AWS
Best Practices for Migrating your Microsoft Workloads to AWSAmazon Web Services
 
Getting started on your AWS migration journey
Getting started on your AWS migration journeyGetting started on your AWS migration journey
Getting started on your AWS migration journeyAmazon Web Services
 
Scale - Implementing a Data Warehouse on AWS
Scale - Implementing a Data Warehouse on AWSScale - Implementing a Data Warehouse on AWS
Scale - Implementing a Data Warehouse on AWSAmazon Web Services
 
Make Your Data Move: Best Practices for Migrating Data to AWS
Make Your Data Move: Best Practices for Migrating Data to AWSMake Your Data Move: Best Practices for Migrating Data to AWS
Make Your Data Move: Best Practices for Migrating Data to AWSAmazon Web Services
 
Choosing the Right Database (Database Freedom)
Choosing the Right Database (Database Freedom)Choosing the Right Database (Database Freedom)
Choosing the Right Database (Database Freedom)Amazon Web Services
 
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...Amazon Web Services
 
Initiate Edinburgh 2019 - Migrating Data to the Cloud
Initiate Edinburgh 2019 - Migrating Data to the CloudInitiate Edinburgh 2019 - Migrating Data to the Cloud
Initiate Edinburgh 2019 - Migrating Data to the CloudAmazon Web Services
 
What's New in Amazon Aurora - ADB203 - Anaheim AWS Summit
What's New in Amazon Aurora - ADB203 - Anaheim AWS SummitWhat's New in Amazon Aurora - ADB203 - Anaheim AWS Summit
What's New in Amazon Aurora - ADB203 - Anaheim AWS SummitAmazon Web Services
 
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...Amazon Web Services
 
Microsoft SQL Server Migration Strategies
Microsoft SQL Server Migration StrategiesMicrosoft SQL Server Migration Strategies
Microsoft SQL Server Migration StrategiesAmazon Web Services
 
Running Oracle Databases on Amazon RDS and Migrating to PostgreSQL (DAT307-R1...
Running Oracle Databases on Amazon RDS and Migrating to PostgreSQL (DAT307-R1...Running Oracle Databases on Amazon RDS and Migrating to PostgreSQL (DAT307-R1...
Running Oracle Databases on Amazon RDS and Migrating to PostgreSQL (DAT307-R1...Amazon Web Services
 
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019Amazon Web Services
 
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019AWS Summits
 

Similar to Database Migration to AWS with DMS and SCT (20)

Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...
Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...
Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...
 
Database Freedom - ADB304 - Santa Clara AWS Summit
Database Freedom - ADB304 - Santa Clara AWS SummitDatabase Freedom - ADB304 - Santa Clara AWS Summit
Database Freedom - ADB304 - Santa Clara AWS Summit
 
Migrating Business Critical Applications to AWS
Migrating Business Critical Applications to AWSMigrating Business Critical Applications to AWS
Migrating Business Critical Applications to AWS
 
Building-a-Data-Lake-on-AWS
Building-a-Data-Lake-on-AWSBuilding-a-Data-Lake-on-AWS
Building-a-Data-Lake-on-AWS
 
Scale - Best Practices for Migrating your Microsoft Workloads to AWS
Scale - Best Practices for Migrating your Microsoft Workloads to AWSScale - Best Practices for Migrating your Microsoft Workloads to AWS
Scale - Best Practices for Migrating your Microsoft Workloads to AWS
 
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...
Migrate your Oracle and SQL Server databases to Amazon RDS - ADB210 - New Yor...
 
Migrate a relational database to Aurora - ADB302 - Atlanta AWS Summit
Migrate a relational database to Aurora - ADB302 - Atlanta AWS SummitMigrate a relational database to Aurora - ADB302 - Atlanta AWS Summit
Migrate a relational database to Aurora - ADB302 - Atlanta AWS Summit
 
Best Practices for Migrating your Microsoft Workloads to AWS
Best Practices for Migrating your Microsoft Workloads to AWSBest Practices for Migrating your Microsoft Workloads to AWS
Best Practices for Migrating your Microsoft Workloads to AWS
 
Getting started on your AWS migration journey
Getting started on your AWS migration journeyGetting started on your AWS migration journey
Getting started on your AWS migration journey
 
Scale - Implementing a Data Warehouse on AWS
Scale - Implementing a Data Warehouse on AWSScale - Implementing a Data Warehouse on AWS
Scale - Implementing a Data Warehouse on AWS
 
Make Your Data Move: Best Practices for Migrating Data to AWS
Make Your Data Move: Best Practices for Migrating Data to AWSMake Your Data Move: Best Practices for Migrating Data to AWS
Make Your Data Move: Best Practices for Migrating Data to AWS
 
Choosing the Right Database (Database Freedom)
Choosing the Right Database (Database Freedom)Choosing the Right Database (Database Freedom)
Choosing the Right Database (Database Freedom)
 
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
 
Initiate Edinburgh 2019 - Migrating Data to the Cloud
Initiate Edinburgh 2019 - Migrating Data to the CloudInitiate Edinburgh 2019 - Migrating Data to the Cloud
Initiate Edinburgh 2019 - Migrating Data to the Cloud
 
What's New in Amazon Aurora - ADB203 - Anaheim AWS Summit
What's New in Amazon Aurora - ADB203 - Anaheim AWS SummitWhat's New in Amazon Aurora - ADB203 - Anaheim AWS Summit
What's New in Amazon Aurora - ADB203 - Anaheim AWS Summit
 
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...
 
Microsoft SQL Server Migration Strategies
Microsoft SQL Server Migration StrategiesMicrosoft SQL Server Migration Strategies
Microsoft SQL Server Migration Strategies
 
Running Oracle Databases on Amazon RDS and Migrating to PostgreSQL (DAT307-R1...
Running Oracle Databases on Amazon RDS and Migrating to PostgreSQL (DAT307-R1...Running Oracle Databases on Amazon RDS and Migrating to PostgreSQL (DAT307-R1...
Running Oracle Databases on Amazon RDS and Migrating to PostgreSQL (DAT307-R1...
 
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
 
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
AWS Analytics Services - When to use what? | AWS Summit Tel Aviv 2019
 

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 FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon 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
 
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 WorkloadsAmazon 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 sfatareAmazon 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 NodeJSAmazon 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 webAmazon 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 sfatareAmazon 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
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSAmazon 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...
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWS
 

Database Migration to AWS with DMS and SCT

  • 1. S U M M I T SYDNEY
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Best practices for migrating databases to the cloud Masudur Rahaman Sayem Solutions Architect Amazon Web Services
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS database portfolio Amazon RDS MySQL, PostgreSQL, MariaDB, Oracle, SQL Server Amazon Aurora MySQL, PostgreSQL Amazon DynamoDB Key value Amazon ElastiCache Redis, Memcached Amazon Neptune Graph Amazon Timestream Time Series Amazon QLDB Ledger Database Amazon RDS on VMware N E W N E W Amazon DocumentDB Document N E W
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Traditional migration approach Required DB-specific application code 1001001 0101001 1000100 Was complex to set up and manage Required commercial migration and replication software Caused long application downtime
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Traditional approach to migrate to AWS Create your AWS account Setup your Virtual Private Cloud (VPC) in AWS Connect to AWS with a VPN or Direct Connect Shutdown and backup your database Transmit the backup to S3 Configure an EC2 instance with the DB software Restore the backup Configure EC2 instances for the application Switch the users to use AWS
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Create your AWS account Setup your Virtual Private Cloud (VPC) in AWS Connect to AWS with a VPN or Direct Connect Shutdown and backup your database Transmit the backup to S3 Configure an EC2 instance with the DB software Restore the backup Configure EC2 instances for the application Switch the users to use AWS Traditional approach to migrate to AWS Could take a week or more!
  • 7. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS DMS and AWS SCT AWS Database Migration Service (DMS) Easy and secure cloud database migration AWS Schema Conversion Tool (SCT) Automate database schema and code conversion Migrate between on premises and AWS Automated schema conversion Data replication for zero downtime migration >100,000 Databases migrated with DMS Migrate between databases
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Database migration process
  • 10. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Schema onversion ool (SCT)
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS Schema Conversion Tool (SCT) Features Modernise database schema warehouse schema application SQL Code browser Secure ETL
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS SCT data extractors Extract data from your data warehouse and migrate to Amazon Redshift Extracts data through local migration agents Data is optimised for Redshift and saved in local files Files are loaded to an Amazon S3 bucket (through network or Amazon Snowball) and then to Amazon Redshift AWS SCT Amazon S3
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS SCT can tell you how hard the migration will be Connect SCT to Source and Target databases Run Assessment Report Read Executive Summary Follow detailed instructions
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS SCT helps with converting tables, views, and code
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS SCT lessons learned Memory management Large database schema conversion DB agnostic code Data type conversion Migrating large databases
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Oracle RAC to PostgreSQL replication 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 modernisation journey “Amazon DMS is a great product. From looking at the product to getting it in production takes no time at all. It’s simple to use and reliable. The flexibility of creating new tasks is not very time consuming and just works.”
  • 17. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Database Migration Service (DMS) features and best practices
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Customer premise Application users AWS Internet VPN Keep your apps running during the migration Start a replication instance Connect to source and target databases Select tables, schemas, or databases Let AWS DMS create tables, load data, and keep them in sync Switch applications over to the target at your convenience AWS DMS
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS DMS features Migrate table by table Source Amazon Aurora (MySQL, PostgreSQL) Amazon DynamoDB Amazon Redshift Amazon RDS Amazon S3 Customers don’t have to take everything Change Data Capture (CDC) Multiple targets, multiple sources Homogenous or heterogeneous
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Split migration 35 million members on its site Migration from legacy cloud service to AWS Combination of migration to MySQL on EC2 and Amazon Aurora DMS reduced the time required to migrate their databases by 40 percent Realised 55 percent cost savings by moving some DBs to Amazon Aurora
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T DMS Kinesis Target Amazon Kinesis Data Stream Amazon EMR Spark Amazon Kinesis Data Stream Stream data change to Amazon Kinesis Amazon DynamoDB Amazon RDS MySQL, PostgreSQL, MariaDB, Oracle, SQL Server DB2 LUW Amazon DynamoDB Amazon Redshift Amazon QuickSight Amazon CloudSearch Amazon Athena Amazon S3 Amazon Kinesis Firehose Amazon Kinesis Firehose Amazon S3 Bucket Amazon S3 Bucket
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Best practices using AWS DMS Parallel load (large table) Check indexes, triggers and referential integrity constraints Disable backups and transaction logging Use standby source Improve performance
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Best practices using AWS DMS Correct sizing your replication instance Monitor source DB load Troubleshoot using task log Reconsider storing LOB on DB Dry runs Things to consider
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Recap Assessment Schema Migration Data Migration App Migration Data Validation Functional Testing Performance Testing AWS SCT AWS DMS Amazon Marketplace tool
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T The SQL 2008 end of support countdown is on 9 July 2019 SQL Server 2008 and 2008 R2 end of support We are ready! to help customers Step beyond SQL ’08
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Next steps • Ask us about funding for POCs and commercial DB migrations (eg Oracle Database to Aurora) • https://aws.amazon.com/solutions/databasemigrations/database-freedom/ • DMS & SCT: https://aws.amazon.com/dms/ • Getting Started Guides and Playbooks: https://aws.amazon.com/dms/getting-started/ • Free DMS: https://aws.amazon.com/dms/free-dms/
  • 27. Thank you! S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Masudur Rahaman Sayem masudurs@amazon.com