The Amazon Database Migration Service (DMS) simplifies the migration of databases. It supports migrations between the same as well as different database engines.
In this Cloud Lab, you’ll migrate an online transactional MySQL database to NoSQL DynamoDB tables. You’ll start by creating a MySQL database on an EC2 instance. Next, you’ll create a secret to store database credentials. Then, you’ll create a DMS replication instance and source and target endpoints to connect to the source and target databases. Finally, you’ll create a DMS task to carry out the migration. Also, you’ll query the DynamoDB tables to verify the migration.
By the end of this Cloud Lab, you’ll be able to migrate your internet-scale transactional databases to simple DynamoDB tables. Moreover, you’ll understand table mappings that are used to convert a relational database to a non-relational database,
The architecture diagram below shows the infrastructure you’ll build in this Cloud Lab: