Sql-Server-To-Amazon-Aurora Migration Details
Sql-Server-To-Amazon-Aurora Migration Details
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Migration process
AWS SCT
Convert or copy your schema
AWS SCT
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS SCT product highlights
Optimize Migrate
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS DMS product highlights
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS DMS—Endpoint support expansion
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon S3
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS SCT Migration Assessment Report
• Assessment of migration
compatibility of source
databases with open-source
database engines – Amazon RDS
MySQL, Amazon RDS PostgreSQL
and Aurora
• Recommends best target engine
• Provides details level of efforts
to complete migration
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Keep your apps running during the migration
AWS
DMS
Customer
premises VPN AWS
Internet
Start a replication instance Let AWS DMS load data and keep
Connect to source and target databases them in sync
Select tables, schemas, or databases Switch applications over to the target
at your convenience
Application users
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Migration Steps
Migration Steps Required Resources
1. Envisioning/Assessment Identify SMEs and stakeholders
2. Database schema conversion Assign DBAs/DB developers for schema conversion efforts
Assign application developers to identify and convert database calls to support target
3. Application conversion/remediation DB
4. Script conversion Assign DBAs/DB developers for db scripts conversion efforts
5. Integration with 3rd party applications Assign application developers or DBAs for integration efforts
Assign DBAs to migrate test/stage data; plan data migration for an actual migration to
6. Data migration production environment
Assign QA, DBA and Application Developers to work through testing process of a
7. Functional testing of the entire system migrated system
8. Performance tuning Assign DBAs, developers and testers for performance tuning work
9. Integration and deployment Assign DBAs, DevOps and developers support team to deploy the system.
10. Training and knowledge transfer Assign the Lead of the migrated team to drive the process
11. Documentation and version support Document migrated application for the rest of the application team
Assign migration team (DBAs, application developers, testers) to watch the migrated
12. Post production support application in production
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora
MySQL and PostgreSQL compatible relational database built for the cloud
SQL Server maintenance Rebuild or reorganize indexes ALTER INDEX / ALTER TABLE OPTIMIZE TABLE / ALTER TABLE
Plans
Decrease data file size by DBCC SHRINKDATABASE Files are per table; not per database.
removing empty pages / DBCC SHRINKFILE Rebuilding a table optimizes
file size.
SQL Server Database Mail Email client solution for Database Mail No Native support. Use LAMBDA
sending messages directly integration
From the database
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SQL Server vs MySQL feature comparison
Migrate from Task SQL Server Aurora MySQL
Replication and Log replication Log Shipping Not applicable. Aurora
Disaster Recovery MySQL
handles data
replication at the
storage
level.
Database level failure Always On Availability Aurora Replicas
protection Groups
Maximum Read 8 + Primary 15 + Primary
Only replicas
High Availability Always On Failover Multi replica, scale out
Cluster Instances (FCI), solution using
Always On Availability Amazon Aurora clusters
Groups, Database and Availability
Mirroring, Zones
and Log Shipping
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SQL Server vs MySQL feature comparison
Migrate from Task SQL Server Aurora MySQL
Backup and Restore Backups self managed backup Automatic and continuous
policy BACKUP DATABASE
Recovery Model SIMPLE, BULK functionality of Aurora
LOGGED, FULL MySQL
backups is equivalent to
the FULL
recovery model.
Log Backup BACKUP LOG Backup is at the storage
level
Migrate from SQL Server Database level options to ALTER DATABASE ... A database is
Database Options set database features SET command synonymous with a
schema. So, the notion of
database options is not
applicable to Aurora
MySQL.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.