Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Atul Ganatra, AWS Solutions Architecture
June 20...
Session outline
• The need for a database migration tool
• AWS Database Migration Service (AWS DMS) overview
• AWS Schema ...
Database migration challenges
• How will my on-premises data be migrated to the cloud?
• How can I make it transparent to ...
AWS Database Migration Service
Database Migration Service (DMS) goals
Minimize disruption
to the applications
Make it easier to
migrate databases to
AWS
...
Start your first migration in minutes
Keep your apps running during the migration
Migrate to/from Amazon EC2 or Amazon RDS...
How does DMS work?
Create a replication instance
Replication
instance
Source Target
Create source and target endpoints
Replication
instance
Source Target
Create a task to migrate the data
Task
Replication
instance
Source Target
Load starts—captures changes from source
Replication
instance
Source Target
Load complete—apply captured changes
Replication
instance
Updates
Source Target
Changes reach steady state
Replication
instance
Updates
Source Target
Stop writes on source
Replication
instance
Updates
Source Target
Allow in-flight transactions to finish
Replication
instance
Source Target
Point application to the target
Replication
instance
Updates
Full load is table by table
Creates tables on target database
Sets up metadata required on target
Populates data from sour...
Changes are transactional
Source Target
Updates
t1 t2
t1
t2
Target
Replication instance
Replication
instance
Source Target
Multiple targets
Target
Target
Migration
Server
Source Target
Multiple sources
Source
Source
Homogenous or heterogeneous
Replication
instance
Microsoft
SQL Server MySQL
Replication
instance
Oracle Oracle
Replication...
Key features
• Homogenous or heterogeneous migrations
• Full load migration, ongoing replication, or both
• Supports varie...
Security
• Uses AWS Identity and Access Management (IAM) to
control access
• Secure resources within Amazon Virtual Privat...
Migration phases
• Apply/create the empty database schema minus foreign
key constraints and secondary indexes
• Use DMS to...
Best practices
• Load multiple tables in parallel
• Remove bottlenecks on the target
• Use multiple tasks for parallel loa...
Supported databases
Source
• Oracle, Microsoft SQL Server, MySQL, MariaDB, PostgreSQL
Target
• Oracle, Microsoft SQL Serve...
AWS Database Migration Service pricing
T2 pricing starts at $0.018 per hour
C4 pricing starts at $0.154 per hour
(Pricing ...
• Downloadable client install
• Converts your database schema including tables,
stored procedures, views, and DML
AWS
Sche...
Key features
• Point-and-click migration of schema
• Migration Assessment Report
• Script to generate schema
• Apply conve...
Get help with converting tables, views, and code
Schemas
Tables
Indexes
Views
Packages
Stored procedures
Functions
Trigger...
Supported conversions
Source Database Target Database on Amazon RDS
Microsoft SQL Server Amazon Aurora, MySQL, PostgreSQL
...
Demo
Expedia: On-line travel marketplace
 Migrating some databases to Amazon Aurora
 Kuldeep Chowhan, Principal Engineer,
Exp...
Thomas Publishing: Digital-friendly business
 Needed to grow database footprint but using
Oracle would require significan...
Database migration partners
http://aws.amazon.com/dms/testimonials/#partners
Thank You!
Upcoming SlideShare
Loading in …5
×

Simplify Your Database Migration to AWS | AWS Public Sector Summit 2016

1,368 views

Published on

Migrating a database from one platform to another has been a pain point for many organizations for a long time. Often times, it involves weeks of careful planning and a migration strategy to minimize impact to the business. Many organizations are locked into a database platform even when there are better options available because they don’t want to take up the migration challenge. AWS Data Migration Service helps with live migration of databases across homogenous or heterogeneous database platforms. The service supports homogenous migrations such as Oracle to Oracle, and also heterogeneous migrations between different database platforms, such as Oracle to Amazon Aurora or Microsoft SQL Server to MySQL. The AWS Schema Conversion Tool is a desktop application that makes heterogeneous database migrations easy by automatically converting the source database schema to a format compatible with the target database. The tool helps with conversion of a database schema from an Oracle or Microsoft SQL Server database to an Amazon RDS MySQL DB instance or an Amazon Aurora DB cluster. Join us in this session to explore how these capabilities can simplify your database migration challenge.

Published in: Technology
  • Be the first to comment

Simplify Your Database Migration to AWS | AWS Public Sector Summit 2016

  1. 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Atul Ganatra, AWS Solutions Architecture June 20, 2016 Simplify Your Database Migration to AWS
  2. 2. Session outline • The need for a database migration tool • AWS Database Migration Service (AWS DMS) overview • AWS Schema Conversion Tool overview • Demo • Q&A
  3. 3. Database migration challenges • How will my on-premises data be migrated to the cloud? • How can I make it transparent to my users? • How do I migrate schema objects and database code? • Can I get help moving off of commercial databases? • Can I avoid complex setup and migration procedures? • Can I do it cost effectively?
  4. 4. AWS Database Migration Service
  5. 5. Database Migration Service (DMS) goals Minimize disruption to the applications Make it easier to migrate databases to AWS Provide choice and flexibility
  6. 6. Start your first migration in minutes Keep your apps running during the migration Migrate to/from Amazon EC2 or Amazon RDS Move data to the same or different database engine Learn more at aws.amazon.com/dms AWS Database Migration Service
  7. 7. How does DMS work?
  8. 8. Create a replication instance Replication instance
  9. 9. Source Target Create source and target endpoints Replication instance
  10. 10. Source Target Create a task to migrate the data Task Replication instance
  11. 11. Source Target Load starts—captures changes from source Replication instance
  12. 12. Source Target Load complete—apply captured changes Replication instance Updates
  13. 13. Source Target Changes reach steady state Replication instance Updates
  14. 14. Source Target Stop writes on source Replication instance Updates
  15. 15. Source Target Allow in-flight transactions to finish Replication instance
  16. 16. Source Target Point application to the target Replication instance Updates
  17. 17. Full load is table by table Creates tables on target database Sets up metadata required on target Populates data from source Each process loads one entire table Can use multiple processes Task can be paused Replication instance Source Target
  18. 18. Changes are transactional Source Target Updates t1 t2 t1 t2 Target Replication instance
  19. 19. Replication instance Source Target Multiple targets Target Target
  20. 20. Migration Server Source Target Multiple sources Source Source
  21. 21. Homogenous or heterogeneous Replication instance Microsoft SQL Server MySQL Replication instance Oracle Oracle Replication instance Oracle Amazon Aurora
  22. 22. Key features • Homogenous or heterogeneous migrations • Full load migration, ongoing replication, or both • Supports variety of source and target databases • Allows migrating portion of database • Encryption of the data on replication instance • No agent on source or target database server
  23. 23. Security • Uses AWS Identity and Access Management (IAM) to control access • Secure resources within Amazon Virtual Private Cloud (Amazon VPC) • Uses AWS Key Management Service (AWS KMS) to encrypt data at rest on replication instance
  24. 24. Migration phases • Apply/create the empty database schema minus foreign key constraints and secondary indexes • Use DMS to move the data • Apply the remaining schema objects • Stop writes on source database • Let the changes synchronize to target • Change the app to point to target
  25. 25. Best practices • Load multiple tables in parallel • Remove bottlenecks on the target • Use multiple tasks for parallel load • Manage load on the source database • Enable logging for the migration tasks • Plan schema conversion
  26. 26. Supported databases Source • Oracle, Microsoft SQL Server, MySQL, MariaDB, PostgreSQL Target • Oracle, Microsoft SQL Server, MySQL, MariaDB, PostgreSQL, Amazon Aurora, Amazon Redshift
  27. 27. AWS Database Migration Service pricing T2 pricing starts at $0.018 per hour C4 pricing starts at $0.154 per hour (Pricing as of June 2016. See website for latest) 50 GB GP2 storage included with T2 instances 100 GB GP2 storage included with C4 instances Data transfer inbound and within AZ is free Data transfer across AZs starts at $0.01 per GB Data transfer between AWS Regions and leaving AWS costs the same as when using EC2
  28. 28. • Downloadable client install • Converts your database schema including tables, stored procedures, views, and DML AWS Schema Conversion Tool
  29. 29. Key features • Point-and-click migration of schema • Migration Assessment Report • Script to generate schema • Apply converted schema to target database • Converts tables, stored procedures, views, and other objects • Provides action items for manual changes
  30. 30. Get help with converting tables, views, and code Schemas Tables Indexes Views Packages Stored procedures Functions Triggers Sequences User defined types Synonyms
  31. 31. Supported conversions Source Database Target Database on Amazon RDS Microsoft SQL Server Amazon Aurora, MySQL, PostgreSQL MySQL PostgreSQL Oracle Amazon Aurora, MySQL, PostgreSQL PostgreSQL Amazon Aurora, MySQL
  32. 32. Demo
  33. 33. Expedia: On-line travel marketplace  Migrating some databases to Amazon Aurora  Kuldeep Chowhan, Principal Engineer, Expedia, Inc.: “The ease by which we can do this using the AWS Database Migration Service has simplified this process for us and enabled us to accelerate our migration efforts. The ability to closely monitor the process, the detailed logging feature, and the support we received from AWS have given us a great deal of confidence in a successful migration.” World’s leading online travel company, with a portfolio that includes 150+ travel sites in 70 countries.
  34. 34. Thomas Publishing: Digital-friendly business  Needed to grow database footprint but using Oracle would require significant upfront investment in both infrastructure and license expense.  Wanted to migrate to Amazon Aurora  Database Migration Service automated most of the work and dramatically reduced the manual effort involved in the code migration.  Hans Wald, Chief Technology Officer, Thomas Publishing:  "The AWS Database Migration Service will be a key enabler for our plans to migrate more databases to Amazon Aurora in 2016.” Connecting buyers and suppliers across all industrial sectors, evolving from an industrial trade print publisher into industry’s most respected group of digital-friendly businesses.
  35. 35. Database migration partners http://aws.amazon.com/dms/testimonials/#partners
  36. 36. Thank You!

×