{"id":434,"date":"2018-10-31T01:30:39","date_gmt":"2018-10-30T12:30:39","guid":{"rendered":"http:\/\/www.helenanderson.co.nz\/?p=434"},"modified":"2020-08-24T12:58:29","modified_gmt":"2020-08-24T00:58:29","slug":"database-migration-service","status":"publish","type":"post","link":"https:\/\/helenanderson.co.nz\/database-migration-service\/","title":{"rendered":"Moving data with the AWS Database Migration Service"},"content":{"rendered":"\n
\n\n\n\n

What is it? Why do I need it?<\/a>
Getting set up<\/a>
Create a Task using the UI<\/a>
Use the rules to Select<\/a>
Transform<\/a>
Create Task<\/a>
Additional Resources<\/a><\/strong><\/p><\/blockquote>\n\n\n\n


\n\n\n\n

<\/a><\/p>\n\n\n\n

What is it? Why do I need it?<\/h3>\n\n\n\n

AWS Database Migration Service (AWS DMS) is a web service that allows you to migrate data from one database to another.  You can move database objects from the same kind of database engine or a different database engine. The only requirement is that one of them needs to be an AWS service.<\/p>\n\n\n\n

With that out of the way, this is how it works and how I found the experience.<\/p>\n\n\n\n


\n\n\n\n

<\/a><\/p>\n\n\n\n

Getting set up<\/h3>\n\n\n\n

To get the ball rolling you need to set up a replication instance<\/a>. There are some decisions to make based on your use case that you can read about in the documentation<\/a> but the console makes this a straightforward process.<\/p>\n\n\n\n

You then need to create the endpoints<\/a>. The source and target data stores can be on an Amazon EC2<\/a> instance, and an RDS instance, or an on-premises database.<\/p>\n\n\n\n

Image Source: AWS Documentation<\/figcaption><\/figure><\/div>\n\n\n\n
\n\n\n\n

<\/a><\/p>\n\n\n\n

Create a Task using the UI<\/h3>\n\n\n\n

The good thing about using this service is that you can use the UI to run your tasks. This part requires you to specify the database endpoints and a description.<\/p>\n\n\n\n

Image from AWS Documentation<\/em><\/figcaption><\/figure><\/div>\n\n\n\n

Limitations<\/strong><\/p>\n\n\n\n