SlideShare une entreprise Scribd logo
1  sur  52
Télécharger pour lire hors ligne
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Database to the Cloud
Kim Kao, Solutions Architect
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Today
OBJECTIVES
• Understand what makes a successful DB migration project
• WHY do we migrate
• WHAT should we migrate
• HOW do we migrate? Project view
• HOW do we migrate? Engineering view
• Understand the concrete steps to initiate the migration
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How does a successful
migration project looks like?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CHECKLIST #ONE
GOALS AND OBJECTIVES
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Aurora differentiation
Provision a database in 6 minutes
Provision a MAZ database with a few mouse clicks
MAZ RPO = 0, RTO = 60-90 20-30 sec
Scale, patches with 60-90 sec near zero downtime
Performance, single node 25k 200k Write, 300k 600k Read
Add read replicas with a few mouse clicks
Read replica auto-scaling, serverless, multi master (coming)
Protect your backups and logs with 11 9’s of durability
Recover to any point in time from nightly backups + logs (5mins)
Detailed metrics, down to 1 second intervals
Secure your data with single click encryption at rest
Aurora
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Databases and Analytics
Broad and deep portfolio, purpose-built for builders
Data Lake
S3/Glacier AWS Glue
(ETL & Data Catalog)
Data Movement
Database Migration Service | Snowball | Snowmobile | Kinesis Data Firehose | Kinesis Data Streams
Non-Relational Databases
DynamoDB
ElastiCache
(Redis, Memcached)
Neptune
(Graph)
Analytics
DW | Big Data Processing | Interactive
Redshift EMR Athena
Kinesis
Analytics
Elasticsearch
Service
Real-time
Relational Databases
RDS
Aurora
Business Intelligence & Machine Learning
QuickSight SageMaker Comprehend
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Strategies for a 100 applications
“How can we start the migration? ”
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ISV solution?
Yes
Support Open
Source DB?
No
Vendor support
engine
Yes
RDS, Aurora,
compatible option
No
New build
system?
No
Biz gain >
Re-architecture
effort ?
No
Re-platform to
RDS, PIOPS,
Multi-AZ, Rehost
Yes
Re-architecture
Yes
Read/Write/Acces
s pattern
How do you query
the data
Read/Write RPS
Data volume
growth/total
Latency
requirement
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Comparing Cloud Migration Strategies
•
Time Cost Business Value # App
Retain N/A 20
Retire N/A 5
Re-host 20
Re-platform 20
Re-purchase 5
Re-architect 30
Low
High
MigrationComplexity
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Pilot
Migration heat map
Easy to migrate
High business value
Low business value
Hard to migrate
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CHECKLIST #TWO
CHALLENGES AND CONCERNS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Understanding Database
Migration Projects
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
It’s Not Just the Database!
Application code
Scripts and integration points
Backup and recovery
General management procedures
• Monitoring
• Notifications
• Auditing
• Tuning and Diagnostics
People!
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Project Planning
Project Assessment
Database Assessment
Application Assessment
Skill Sets Required
Hiring and Developing Talent
Choosing the right POCs
Project Execution
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Effort
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Database migration
• Like to like (MSSQL to MSSQL)
• Rehost
• EC2
• Re-platform
• RDS, Elasticache
• Re-architect
• Cache layer, Fan out,
Consolidate
• Switch engine (MSSQL to PostgreSQL)
• Re-architect
• Cloud Database
• More code rewrite
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Like to like
Rehost, Re-platform
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration options
If you’re not switching engines, native tools:
• SQL Server: bak file import, log shipping, AG Async
• MySQL: mysql_dump, read replicas
• Oracle SQL Developer, Data Pump, Export/Import
• PostgreSQL: pg_dump, read replicas
• SAP ASE: bcp
• Or AWS DMS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Database migration – multi phase process
Phase Description Automation Effort (%)
1 Assessment 4
2 Integration with 3rd party applications 6
3 Data Migration Native tools or DMS 7
4 Functional testing of the entire system 54
5 Performance tuning 4
6 Integration and deployment 13
7 Training and knowledge 3.5
8 Documentation and version control 3.5
9 Post production support 5
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Switch engine
Re-architecture
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Database migration process
Source
Oracle Database on premises
in EC2 or RDS
Source
Oracle Database on premises
in EC2 or RDS
AWS Schema Conversion Tool
Target
Amazon Aurora PostgreSQL
Target
Amazon Aurora PostgreSQL
Step 1
Step 2
AWS Database Migration Service
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Database migration – multi phase process
Phase Description Automation Effort (%)
1 Assessment SCT 2
2 Database Schema Conversion SCT/DMS 14
3 Application Conversion/Remediation SCT 25
4 Scripts Conversion SCT 7
5 Integration with 3rd party applications 3
6 Data Migration DMS 4
7 Functional testing of the entire system 29
8 Performance tuning SCT 2
9 Integration and deployment 7
10 Training and knowledge 2
11 Documentation and version control 2
12 Post production support 3
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Assessment
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Components of the SCT console
1. Source Schema
2. Action items
3. Target Schema
4. Schema element details
5. Edit window
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Database migration assessment
Connect SCT to source
and target databases
Run assessment report
Read executive summary
Follow detailed
instructions
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SCT – Assessment report
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Granularity of the messages in the report
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use SCT to convert the SQL code in your C++, C#, Java
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Supported Conversions – OLTP
*MySQL means any of Aurora, MySQL, MariaDB
Source Engine Target Engine
Microsoft SQL Server
(version 2008 and later)
Amazon Aurora (MySQL or PostgreSQL), Microsoft SQL
Server, 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
MySQL
(version 5.6 and later)
Amazon Aurora (PostgreSQL), MySQL, PostgreSQL
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
When to use DMS and SCT? Modernize
Modernize your database tier
• Commercial to open-source
• Commercial to Amazon Aurora
Modernize your warehouse
• Commercial to Amazon Redshift
Amazon
Aurora
Amazon
Redshift
Amazon S3
Amazon
DynamoDB
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DMS - Overview
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Start your first migration in 10 minutes or less
• Keep your apps running during the migration
• Replicate within, to or from Amazon EC2 or RDS
• Move data to the same or a different database engine
AWS
Database Migration
Service
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Customer
premises
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 Database Migration
Service (AWS DMS) create
tables, load data, and keep
them in sync
® Switch applications over to
the target at your convenience
AWS
DMS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Scenarios
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Replication
Instance
Source Target
Multiple Targets
Target
Target
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration
Server
Source Target
Multiple Sources
Source
Source
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration
Server
Source
Target
Multiple Sources and Targets
Source
Source
Target
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
You Don’t Have to Take Everything
Source
L
Target
Replication Instance
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Homogenous or Heterogeneous
Replication
Instance
SQL Server MySQL
Replication
Instance
Oracle Oracle
Replication
Instance
Oracle Aurora
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Deployment Options
Option 1
• Let DMS Create Tables and Primary Keys
• Create needed secondary objects after initial Load has completed.
Option 2
• Create all objects
• Disable the secondary objects
• Load using DMS(Do Not Drop)
• Re-enable secondary Objects
Option 3
• Create only Tables, primary keys, views, and sequences
• Load using DMS(Do Not Drop)
• Create all secondary Objects
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Replication
Instance
Source Target
Start Full Load
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Source TargetReplication Instance
Update
While Loading Data Also Capture Changes
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Source Target
Replication Instance
Update
Load Complete - Apply Captured Changes
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Changes Reach Steady State
Source Target
Replication Instance
Update
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Source Target
Replication Instance
Update
Shut Down Apps & Apply Remaining Changes
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Flip!
Source Target
Replication Instance
Update
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Load is Table by Table
Replication
Instance
Source Target
Creates tables at target database
Sets up metadata required at target
Populates data from source
Each process loads one entire table
Can use multiple processes
Can be paused
• When restarted will continue from where it was stopped
• Will reload any tables that were currently in progress
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Migration Server
Source Target
Update
t1 t2
t1
t2
Changes are Transactional & Come From Logs
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DMS – Change Data Capture (CDC)
“No Touch” design
• Reads recovery log of source database
• Using the engine’s native change data capture API
• No agent required on the source
• Changes captured as transactions and applied to target
• Activated when load starts
• When load completes, changes are applied as soon as possible
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DMS – Change Data Capture (CDC)
Some requirements
• Oracle: Supplemental logging required
• MySQL: Full image row level bin logging required
• SQL Server: Recovery model bulk logged or full
• Postgres: wal_level = logical; max_replication_slots >= 1; max_wal_Senders
>=1; wal_sender_timeout = 0
• For RDS, simply set rds.logical_replication = 1
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Summary
SCT – Schema conversion tool
DMS – Database migration service
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank You!

Contenu connexe

Tendances

Building a Modern Data Platform in the Cloud
Building a Modern Data Platform in the CloudBuilding a Modern Data Platform in the Cloud
Building a Modern Data Platform in the CloudAmazon Web Services
 
雲上打造資料湖 (Data Lake):智能化駕馭商機 (Level 300)
雲上打造資料湖 (Data Lake):智能化駕馭商機 (Level 300)雲上打造資料湖 (Data Lake):智能化駕馭商機 (Level 300)
雲上打造資料湖 (Data Lake):智能化駕馭商機 (Level 300)Amazon Web Services
 
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018Amazon Web Services
 
人工智能 (AI) 與機器學習概覽 (Level 200)
人工智能 (AI) 與機器學習概覽 (Level 200)人工智能 (AI) 與機器學習概覽 (Level 200)
人工智能 (AI) 與機器學習概覽 (Level 200)Amazon Web Services
 
ENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud TransformationENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud TransformationAmazon Web Services
 
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...Amazon Web Services
 
Leadership Session: Using AWS End User Computing Services for Your Modern Wor...
Leadership Session: Using AWS End User Computing Services for Your Modern Wor...Leadership Session: Using AWS End User Computing Services for Your Modern Wor...
Leadership Session: Using AWS End User Computing Services for Your Modern Wor...Amazon Web Services
 
91APP 之API 經濟學與API Gateway與導入之旅
91APP 之API 經濟學與API Gateway與導入之旅91APP 之API 經濟學與API Gateway與導入之旅
91APP 之API 經濟學與API Gateway與導入之旅Amazon Web Services
 
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018Amazon Web Services
 
Prepare Your Team for Cloud Transformation
Prepare Your Team for Cloud Transformation Prepare Your Team for Cloud Transformation
Prepare Your Team for Cloud Transformation Amazon Web Services
 
[NEW LAUNCH!] How to build and deploy Windows file system in AWS using Amazon...
[NEW LAUNCH!] How to build and deploy Windows file system in AWS using Amazon...[NEW LAUNCH!] How to build and deploy Windows file system in AWS using Amazon...
[NEW LAUNCH!] How to build and deploy Windows file system in AWS using Amazon...Amazon Web Services
 
[NEW LAUNCH!] Introducing Amazon Forecast (AIM344) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing Amazon Forecast  (AIM344) - AWS re:Invent 2018[NEW LAUNCH!] Introducing Amazon Forecast  (AIM344) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing Amazon Forecast (AIM344) - AWS re:Invent 2018Amazon Web Services
 
Introduction to AI services for Developers - Builders Day Israel
Introduction to AI services for Developers - Builders Day IsraelIntroduction to AI services for Developers - Builders Day Israel
Introduction to AI services for Developers - Builders Day IsraelAmazon Web Services
 
0x32 Shades of #7f7f7f: The Tension Between Absolutes and Ambiguity in Securi...
0x32 Shades of #7f7f7f: The Tension Between Absolutes and Ambiguity in Securi...0x32 Shades of #7f7f7f: The Tension Between Absolutes and Ambiguity in Securi...
0x32 Shades of #7f7f7f: The Tension Between Absolutes and Ambiguity in Securi...Amazon Web Services
 
Achieving Business Value with AWS - AWS Online Tech Talks
Achieving Business Value with AWS - AWS Online Tech TalksAchieving Business Value with AWS - AWS Online Tech Talks
Achieving Business Value with AWS - AWS Online Tech TalksAmazon Web Services
 
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...Amazon Web Services
 
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...Amazon Web Services
 
[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018
[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018
[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018Amazon Web Services
 
Exploiting IoT & Machine Learning to transform Power and Utilities
Exploiting IoT & Machine Learning to transform Power and UtilitiesExploiting IoT & Machine Learning to transform Power and Utilities
Exploiting IoT & Machine Learning to transform Power and UtilitiesAmazon Web Services
 

Tendances (20)

Building a Modern Data Platform in the Cloud
Building a Modern Data Platform in the CloudBuilding a Modern Data Platform in the Cloud
Building a Modern Data Platform in the Cloud
 
雲上打造資料湖 (Data Lake):智能化駕馭商機 (Level 300)
雲上打造資料湖 (Data Lake):智能化駕馭商機 (Level 300)雲上打造資料湖 (Data Lake):智能化駕馭商機 (Level 300)
雲上打造資料湖 (Data Lake):智能化駕馭商機 (Level 300)
 
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
 
人工智能 (AI) 與機器學習概覽 (Level 200)
人工智能 (AI) 與機器學習概覽 (Level 200)人工智能 (AI) 與機器學習概覽 (Level 200)
人工智能 (AI) 與機器學習概覽 (Level 200)
 
ENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud TransformationENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud Transformation
 
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...
CI/CD for Your Machine Learning Pipeline with Amazon SageMaker (DVC303) - AWS...
 
Leadership Session: Using AWS End User Computing Services for Your Modern Wor...
Leadership Session: Using AWS End User Computing Services for Your Modern Wor...Leadership Session: Using AWS End User Computing Services for Your Modern Wor...
Leadership Session: Using AWS End User Computing Services for Your Modern Wor...
 
91APP 之API 經濟學與API Gateway與導入之旅
91APP 之API 經濟學與API Gateway與導入之旅91APP 之API 經濟學與API Gateway與導入之旅
91APP 之API 經濟學與API Gateway與導入之旅
 
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
 
Prepare Your Team for Cloud Transformation
Prepare Your Team for Cloud Transformation Prepare Your Team for Cloud Transformation
Prepare Your Team for Cloud Transformation
 
[NEW LAUNCH!] How to build and deploy Windows file system in AWS using Amazon...
[NEW LAUNCH!] How to build and deploy Windows file system in AWS using Amazon...[NEW LAUNCH!] How to build and deploy Windows file system in AWS using Amazon...
[NEW LAUNCH!] How to build and deploy Windows file system in AWS using Amazon...
 
[NEW LAUNCH!] Introducing Amazon Forecast (AIM344) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing Amazon Forecast  (AIM344) - AWS re:Invent 2018[NEW LAUNCH!] Introducing Amazon Forecast  (AIM344) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing Amazon Forecast (AIM344) - AWS re:Invent 2018
 
Introduction to AI services for Developers - Builders Day Israel
Introduction to AI services for Developers - Builders Day IsraelIntroduction to AI services for Developers - Builders Day Israel
Introduction to AI services for Developers - Builders Day Israel
 
0x32 Shades of #7f7f7f: The Tension Between Absolutes and Ambiguity in Securi...
0x32 Shades of #7f7f7f: The Tension Between Absolutes and Ambiguity in Securi...0x32 Shades of #7f7f7f: The Tension Between Absolutes and Ambiguity in Securi...
0x32 Shades of #7f7f7f: The Tension Between Absolutes and Ambiguity in Securi...
 
Achieving Business Value with AWS - AWS Online Tech Talks
Achieving Business Value with AWS - AWS Online Tech TalksAchieving Business Value with AWS - AWS Online Tech Talks
Achieving Business Value with AWS - AWS Online Tech Talks
 
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...
Industrialize Machine Learning Using CI/CD Techniques (FSV304-i) - AWS re:Inv...
 
Bring Alexa to Work
Bring Alexa to Work Bring Alexa to Work
Bring Alexa to Work
 
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...
Leadership Session: Developing Mobile & Web Apps on AWS (MOB202-L) - AWS re:I...
 
[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018
[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018
[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018
 
Exploiting IoT & Machine Learning to transform Power and Utilities
Exploiting IoT & Machine Learning to transform Power and UtilitiesExploiting IoT & Machine Learning to transform Power and Utilities
Exploiting IoT & Machine Learning to transform Power and Utilities
 

Similaire à Migrating database to cloud

Migrazione di Database e Data Warehouse su AWS
Migrazione di Database e Data Warehouse su AWSMigrazione di Database e Data Warehouse su AWS
Migrazione di Database e Data Warehouse su AWSAmazon Web Services
 
Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018
Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018
Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018Amazon Web Services
 
Getting Started with Amazon Database Migration Service
Getting Started with Amazon Database Migration ServiceGetting Started with Amazon Database Migration Service
Getting Started with Amazon Database Migration ServiceAmazon Web Services
 
深入淺出 Amazon Database Migration Service
深入淺出 Amazon Database Migration Service 深入淺出 Amazon Database Migration Service
深入淺出 Amazon Database Migration Service Amazon Web Services
 
Vanguard's Journey with Tableau to the AWS Cloud (FSV307-S) - AWS re:Invent 2018
Vanguard's Journey with Tableau to the AWS Cloud (FSV307-S) - AWS re:Invent 2018Vanguard's Journey with Tableau to the AWS Cloud (FSV307-S) - AWS re:Invent 2018
Vanguard's Journey with Tableau to the AWS Cloud (FSV307-S) - AWS re:Invent 2018Amazon 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
 
Migrare a AWS per ridurre il debito tecnico e focalizzarsi sull'innovazione
Migrare a AWS per ridurre il debito tecnico e focalizzarsi sull'innovazioneMigrare a AWS per ridurre il debito tecnico e focalizzarsi sull'innovazione
Migrare a AWS per ridurre il debito tecnico e focalizzarsi sull'innovazioneAmazon 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 CloudAmazon Web Services
 
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...Amazon Web Services
 
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Atlanta ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Atlanta ...Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Atlanta ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Atlanta ...Amazon Web Services
 
Designing a Migration Strategy for Your SQL Server Infrastructure (WIN322) - ...
Designing a Migration Strategy for Your SQL Server Infrastructure (WIN322) - ...Designing a Migration Strategy for Your SQL Server Infrastructure (WIN322) - ...
Designing a Migration Strategy for Your SQL Server Infrastructure (WIN322) - ...Amazon Web Services
 
Under the Hood: How Amazon Uses AWS Services for Analytics at a Massive Scale...
Under the Hood: How Amazon Uses AWS Services for Analytics at a Massive Scale...Under the Hood: How Amazon Uses AWS Services for Analytics at a Massive Scale...
Under the Hood: How Amazon Uses AWS Services for Analytics at a Massive Scale...Amazon Web Services
 
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Toronto ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Toronto ...Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Toronto ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Toronto ...Amazon Web Services
 
Data Transformation Patterns in AWS - AWS Online Tech Talks
Data Transformation Patterns in AWS - AWS Online Tech TalksData Transformation Patterns in AWS - AWS Online Tech Talks
Data Transformation Patterns in AWS - AWS Online Tech TalksAmazon Web Services
 
Building a Modern Data Warehouse - Deep Dive on Amazon Redshift
Building a Modern Data Warehouse - Deep Dive on Amazon RedshiftBuilding a Modern Data Warehouse - Deep Dive on Amazon Redshift
Building a Modern Data Warehouse - Deep Dive on Amazon RedshiftAmazon Web Services
 
Database Freedom. Database migration approaches to get to the Cloud - Marcus ...
Database Freedom. Database migration approaches to get to the Cloud - Marcus ...Database Freedom. Database migration approaches to get to the Cloud - Marcus ...
Database Freedom. Database migration approaches to get to the Cloud - Marcus ...Amazon Web Services
 
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...Amazon Web Services
 
Migrating Critical Workloads at Scale: Best Practice for SAP Migration - AWS ...
Migrating Critical Workloads at Scale: Best Practice for SAP Migration - AWS ...Migrating Critical Workloads at Scale: Best Practice for SAP Migration - AWS ...
Migrating Critical Workloads at Scale: Best Practice for SAP Migration - AWS ...Amazon Web Services
 
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...Amazon Web Services
 
reModernize - Updating & Consolidating MySQL
reModernize - Updating & Consolidating MySQLreModernize - Updating & Consolidating MySQL
reModernize - Updating & Consolidating MySQLAmazon Web Services
 

Similaire à Migrating database to cloud (20)

Migrazione di Database e Data Warehouse su AWS
Migrazione di Database e Data Warehouse su AWSMigrazione di Database e Data Warehouse su AWS
Migrazione di Database e Data Warehouse su AWS
 
Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018
Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018
Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018
 
Getting Started with Amazon Database Migration Service
Getting Started with Amazon Database Migration ServiceGetting Started with Amazon Database Migration Service
Getting Started with Amazon Database Migration Service
 
深入淺出 Amazon Database Migration Service
深入淺出 Amazon Database Migration Service 深入淺出 Amazon Database Migration Service
深入淺出 Amazon Database Migration Service
 
Vanguard's Journey with Tableau to the AWS Cloud (FSV307-S) - AWS re:Invent 2018
Vanguard's Journey with Tableau to the AWS Cloud (FSV307-S) - AWS re:Invent 2018Vanguard's Journey with Tableau to the AWS Cloud (FSV307-S) - AWS re:Invent 2018
Vanguard's Journey with Tableau to the AWS Cloud (FSV307-S) - AWS re:Invent 2018
 
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 ...
 
Migrare a AWS per ridurre il debito tecnico e focalizzarsi sull'innovazione
Migrare a AWS per ridurre il debito tecnico e focalizzarsi sull'innovazioneMigrare a AWS per ridurre il debito tecnico e focalizzarsi sull'innovazione
Migrare a AWS per ridurre il debito tecnico e focalizzarsi sull'innovazione
 
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
 
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
Hands-On Building and Deploying .NET Applications on AWS (DEV331-R1) - AWS re...
 
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Atlanta ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Atlanta ...Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Atlanta ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Atlanta ...
 
Designing a Migration Strategy for Your SQL Server Infrastructure (WIN322) - ...
Designing a Migration Strategy for Your SQL Server Infrastructure (WIN322) - ...Designing a Migration Strategy for Your SQL Server Infrastructure (WIN322) - ...
Designing a Migration Strategy for Your SQL Server Infrastructure (WIN322) - ...
 
Under the Hood: How Amazon Uses AWS Services for Analytics at a Massive Scale...
Under the Hood: How Amazon Uses AWS Services for Analytics at a Massive Scale...Under the Hood: How Amazon Uses AWS Services for Analytics at a Massive Scale...
Under the Hood: How Amazon Uses AWS Services for Analytics at a Massive Scale...
 
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Toronto ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Toronto ...Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Toronto ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Toronto ...
 
Data Transformation Patterns in AWS - AWS Online Tech Talks
Data Transformation Patterns in AWS - AWS Online Tech TalksData Transformation Patterns in AWS - AWS Online Tech Talks
Data Transformation Patterns in AWS - AWS Online Tech Talks
 
Building a Modern Data Warehouse - Deep Dive on Amazon Redshift
Building a Modern Data Warehouse - Deep Dive on Amazon RedshiftBuilding a Modern Data Warehouse - Deep Dive on Amazon Redshift
Building a Modern Data Warehouse - Deep Dive on Amazon Redshift
 
Database Freedom. Database migration approaches to get to the Cloud - Marcus ...
Database Freedom. Database migration approaches to get to the Cloud - Marcus ...Database Freedom. Database migration approaches to get to the Cloud - Marcus ...
Database Freedom. Database migration approaches to get to the Cloud - Marcus ...
 
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
 
Migrating Critical Workloads at Scale: Best Practice for SAP Migration - AWS ...
Migrating Critical Workloads at Scale: Best Practice for SAP Migration - AWS ...Migrating Critical Workloads at Scale: Best Practice for SAP Migration - AWS ...
Migrating Critical Workloads at Scale: Best Practice for SAP Migration - AWS ...
 
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
 
reModernize - Updating & Consolidating MySQL
reModernize - Updating & Consolidating MySQLreModernize - Updating & Consolidating MySQL
reModernize - Updating & Consolidating MySQL
 

Plus de 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
 
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
 

Plus de 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
 

Migrating database to cloud

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Database to the Cloud Kim Kao, Solutions Architect
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Today OBJECTIVES • Understand what makes a successful DB migration project • WHY do we migrate • WHAT should we migrate • HOW do we migrate? Project view • HOW do we migrate? Engineering view • Understand the concrete steps to initiate the migration
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How does a successful migration project looks like?
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CHECKLIST #ONE GOALS AND OBJECTIVES
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Aurora differentiation Provision a database in 6 minutes Provision a MAZ database with a few mouse clicks MAZ RPO = 0, RTO = 60-90 20-30 sec Scale, patches with 60-90 sec near zero downtime Performance, single node 25k 200k Write, 300k 600k Read Add read replicas with a few mouse clicks Read replica auto-scaling, serverless, multi master (coming) Protect your backups and logs with 11 9’s of durability Recover to any point in time from nightly backups + logs (5mins) Detailed metrics, down to 1 second intervals Secure your data with single click encryption at rest Aurora
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Databases and Analytics Broad and deep portfolio, purpose-built for builders Data Lake S3/Glacier AWS Glue (ETL & Data Catalog) Data Movement Database Migration Service | Snowball | Snowmobile | Kinesis Data Firehose | Kinesis Data Streams Non-Relational Databases DynamoDB ElastiCache (Redis, Memcached) Neptune (Graph) Analytics DW | Big Data Processing | Interactive Redshift EMR Athena Kinesis Analytics Elasticsearch Service Real-time Relational Databases RDS Aurora Business Intelligence & Machine Learning QuickSight SageMaker Comprehend
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Strategies for a 100 applications “How can we start the migration? ”
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ISV solution? Yes Support Open Source DB? No Vendor support engine Yes RDS, Aurora, compatible option No New build system? No Biz gain > Re-architecture effort ? No Re-platform to RDS, PIOPS, Multi-AZ, Rehost Yes Re-architecture Yes Read/Write/Acces s pattern How do you query the data Read/Write RPS Data volume growth/total Latency requirement
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Comparing Cloud Migration Strategies • Time Cost Business Value # App Retain N/A 20 Retire N/A 5 Re-host 20 Re-platform 20 Re-purchase 5 Re-architect 30 Low High MigrationComplexity
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Pilot Migration heat map Easy to migrate High business value Low business value Hard to migrate
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CHECKLIST #TWO CHALLENGES AND CONCERNS
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Understanding Database Migration Projects
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. It’s Not Just the Database! Application code Scripts and integration points Backup and recovery General management procedures • Monitoring • Notifications • Auditing • Tuning and Diagnostics People!
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Project Planning Project Assessment Database Assessment Application Assessment Skill Sets Required Hiring and Developing Talent Choosing the right POCs Project Execution
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Effort
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database migration • Like to like (MSSQL to MSSQL) • Rehost • EC2 • Re-platform • RDS, Elasticache • Re-architect • Cache layer, Fan out, Consolidate • Switch engine (MSSQL to PostgreSQL) • Re-architect • Cloud Database • More code rewrite
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Like to like Rehost, Re-platform
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration options If you’re not switching engines, native tools: • SQL Server: bak file import, log shipping, AG Async • MySQL: mysql_dump, read replicas • Oracle SQL Developer, Data Pump, Export/Import • PostgreSQL: pg_dump, read replicas • SAP ASE: bcp • Or AWS DMS
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database migration – multi phase process Phase Description Automation Effort (%) 1 Assessment 4 2 Integration with 3rd party applications 6 3 Data Migration Native tools or DMS 7 4 Functional testing of the entire system 54 5 Performance tuning 4 6 Integration and deployment 13 7 Training and knowledge 3.5 8 Documentation and version control 3.5 9 Post production support 5
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Switch engine Re-architecture
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database migration process Source Oracle Database on premises in EC2 or RDS Source Oracle Database on premises in EC2 or RDS AWS Schema Conversion Tool Target Amazon Aurora PostgreSQL Target Amazon Aurora PostgreSQL Step 1 Step 2 AWS Database Migration Service
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database migration – multi phase process Phase Description Automation Effort (%) 1 Assessment SCT 2 2 Database Schema Conversion SCT/DMS 14 3 Application Conversion/Remediation SCT 25 4 Scripts Conversion SCT 7 5 Integration with 3rd party applications 3 6 Data Migration DMS 4 7 Functional testing of the entire system 29 8 Performance tuning SCT 2 9 Integration and deployment 7 10 Training and knowledge 2 11 Documentation and version control 2 12 Post production support 3
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Assessment
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Components of the SCT console 1. Source Schema 2. Action items 3. Target Schema 4. Schema element details 5. Edit window
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database migration assessment Connect SCT to source and target databases Run assessment report Read executive summary Follow detailed instructions
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SCT – Assessment report
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Granularity of the messages in the report
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use SCT to convert the SQL code in your C++, C#, Java
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Supported Conversions – OLTP *MySQL means any of Aurora, MySQL, MariaDB Source Engine Target Engine Microsoft SQL Server (version 2008 and later) Amazon Aurora (MySQL or PostgreSQL), Microsoft SQL Server, 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 MySQL (version 5.6 and later) Amazon Aurora (PostgreSQL), MySQL, PostgreSQL
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. When to use DMS and SCT? Modernize Modernize your database tier • Commercial to open-source • Commercial to Amazon Aurora Modernize your warehouse • Commercial to Amazon Redshift Amazon Aurora Amazon Redshift Amazon S3 Amazon DynamoDB
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DMS - Overview
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Start your first migration in 10 minutes or less • Keep your apps running during the migration • Replicate within, to or from Amazon EC2 or RDS • Move data to the same or a different database engine AWS Database Migration Service
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Customer premises 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 Database Migration Service (AWS DMS) create tables, load data, and keep them in sync ® Switch applications over to the target at your convenience AWS DMS
  • 34. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Scenarios
  • 35. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Replication Instance Source Target Multiple Targets Target Target
  • 36. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Server Source Target Multiple Sources Source Source
  • 37. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Server Source Target Multiple Sources and Targets Source Source Target
  • 38. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. You Don’t Have to Take Everything Source L Target Replication Instance
  • 39. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Homogenous or Heterogeneous Replication Instance SQL Server MySQL Replication Instance Oracle Oracle Replication Instance Oracle Aurora
  • 40. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Deployment Options Option 1 • Let DMS Create Tables and Primary Keys • Create needed secondary objects after initial Load has completed. Option 2 • Create all objects • Disable the secondary objects • Load using DMS(Do Not Drop) • Re-enable secondary Objects Option 3 • Create only Tables, primary keys, views, and sequences • Load using DMS(Do Not Drop) • Create all secondary Objects
  • 41. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Replication Instance Source Target Start Full Load
  • 42. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Source TargetReplication Instance Update While Loading Data Also Capture Changes
  • 43. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Source Target Replication Instance Update Load Complete - Apply Captured Changes
  • 44. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Changes Reach Steady State Source Target Replication Instance Update
  • 45. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Source Target Replication Instance Update Shut Down Apps & Apply Remaining Changes
  • 46. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Flip! Source Target Replication Instance Update
  • 47. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Load is Table by Table Replication Instance Source Target Creates tables at target database Sets up metadata required at target Populates data from source Each process loads one entire table Can use multiple processes Can be paused • When restarted will continue from where it was stopped • Will reload any tables that were currently in progress
  • 48. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Migration Server Source Target Update t1 t2 t1 t2 Changes are Transactional & Come From Logs
  • 49. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DMS – Change Data Capture (CDC) “No Touch” design • Reads recovery log of source database • Using the engine’s native change data capture API • No agent required on the source • Changes captured as transactions and applied to target • Activated when load starts • When load completes, changes are applied as soon as possible
  • 50. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DMS – Change Data Capture (CDC) Some requirements • Oracle: Supplemental logging required • MySQL: Full image row level bin logging required • SQL Server: Recovery model bulk logged or full • Postgres: wal_level = logical; max_replication_slots >= 1; max_wal_Senders >=1; wal_sender_timeout = 0 • For RDS, simply set rds.logical_replication = 1
  • 51. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Summary SCT – Schema conversion tool DMS – Database migration service
  • 52. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank You!