database migration service overview · sct migration assessment report •assessment of migration...

13
© 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

Upload: others

Post on 20-Jun-2020

13 views

Category:

Documents


0 download

TRANSCRIPT

© 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

© 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

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

Initial Data Load (table by table)

Replication instance

Source Target

© 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

© 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

© 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

© 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

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

What else can DMS do? – Consolidate DBs

Replication

instance

Source Target

Source

Source

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

What else can DMS do? – Split DB

Replication

instance

Source Target

Target

Target

© 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

© 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

© 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

© 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