Top Banner
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database Migration Service Overview Jason Volpe, April 2020
13

Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

Jun 20, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Database Migration Service Overview

Jason Volpe,

April 2020

Page 2: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

AWS Database Migration Service

AWS Database

Migration Service

(AWS DMS)

AWS Database Migration Service helps you migrate

databases to AWS quickly, securely, and reliably

The source database remains fully operational during the

migration, minimizing downtime to applications that rely on

the database.

Start your first migration in 10 minutes or less

Page 3: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Initial Data Load (table by table)

Replication instance

Source Target

Page 4: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Change Data Capture (CDC) and Apply to Target

Replication

instance

Source Target

Update

t1 t2

t1

t2

Apply

Change

after bulk

loadTransactions

Page 5: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Keep your apps running during the migration

Customer On-Premises

Application users

AWS

VPN,

Direct Connect

o Start DMS replication instance

o Connect to source and target DBs

o Select tables, schemas, or DBs

Let AWS DMS create tables, load data, and keep them in sync

DMS

Replication

Instance

Page 6: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Keep your apps running during the migration

Application users

AWS

o Start DMS replication instance

o Connect to source and target DBs

o Select tables, schemas, or DBs

Let AWS DMS create tables, load data, and keep them in sync

Switch applications over to the target at your convenience

Dismantle migration infrastructure

Page 7: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

What else can DMS do? – Take it all, or Not

Source Target

Replication instance

Page 8: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

What else can DMS do? – Consolidate DBs

Replication

instance

Source Target

Source

Source

Page 9: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

What else can DMS do? – Split DB

Replication

instance

Source Target

Target

Target

Page 10: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

AWS Schema Conversion Tool (SCT)

The AWS Schema Conversion Tool helps automate many database schema and

code conversion tasks when migrating between database engines or data

warehouse engines

Integrates with AWS DMS to implement schema conversion during migration

Features

• Microsoft SQL Server schema conversion to Amazon Aurora, MySQL, MariaDB, and PostgreSQL

• Database Migration Assessment report for choosing the best target engine

• Code browser that highlights places where manual edits are required

• Secure connections to your databases with SSL

Page 11: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

SCT helps with converting Tables, Views, and Code

• Sequences

• User-defined types

• Synonyms

• Packages

• Stored procedures

• Functions

• Triggers

• Schemas

• Tables

• Indexes

• Views

Page 12: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

SCT Migration Assessment Report

• Assessment of migration

compatibility of source databases

with open-source database

engines – RDS MySQL, RDS

PostgreSQL and Aurora

• Recommends best target engine

• Provides details level of efforts to

complete migration

Page 13: Database Migration Service Overview · SCT Migration Assessment Report •Assessment of migration compatibility of source databases with open-source database engines –RDS MySQL,

© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Old World to Aurora Migration Playbooks

• Topic-by-topic overview of Oracle to Aurora

PostgreSQL migrations and “hands-on” best practices

• How to migrate from proprietary features and the

different database objects

• Migration best practices

• SQL Server to Aurora MySQL

• Oracle to Aurora MySQL

• https://aws.amazon.com/dms/resources/

SCT DMS Playbook

Schema Data Best Practices