Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Using the AWS DMS to Migrate Data to an Aurora Database

One of the most important aspects of any migration of data to the cloud is cost optimization. Luckily, AWS has made this relatively simple thanks to the Database Migration Service. In this hands-on lab, we are going to use the Database Migrations Service (DMS) to migrate a MySQL database from an EC2 server to an RDS Aurora MySQL database.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 1h 0m
Published
Clock icon Feb 28, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create Replication Instance

    1. Name our replication instance aurorareplication
    2. Give it a Description of mysql to aurora
    3. Leave most of the defaults, but change the Allocated storage from 50 to 10
    4. Leave Multi-AZ unchecked
    5. Uncheck publicly accessible
    6. Choose the one with Lab_VPC in the title from the dropdown, but for VPC security group select the security group for our databases.
    7. Multi AZ: Choose Dev or test workload (Single-AZ)
    8. Uncheck the Publicly accessible box
    9. Click Create
  2. Challenge

    Create Endpoints

    Create a Target Endpoint

    Note: The lab uses an RDS MySQL instance target to stand in for an Aurora DB to speed the lab's setup for you. The migration process is the same.

    1. Start off with our Target Endpoint
    2. Check the box for RDS instance
    3. Select new-db for the RDS instance
    4. Leave defaults:
    • Target Engine: mysql
    • Keep the default Server name
    • Leave Port: set to 3306
    • leave cloud_user as User Name
    1. Copy the password from the Linux Academy Credentials page and paste it in
    2. Run test
    3. Create the Target Endpoint

    Create Source Endpoint

    1. Select Source Endpoint
    2. Do not check the box for RDS instance
    3. Set Endpoint identifier to my-db-source
    4. Leave the defaults, and set Source engine to mysql
    5. Set Server Name to the private IP address found on the LA credentials page
    6. Leave Port set at 3306, and leave cloud_user as User name
    7. Copy the password from the LA credentials page and paste it into the Password field
    8. Run a test
    9. Create the source endpoint
  3. Challenge

    Create the Migration Task

    1. Add Identifier: aurorareplicationtask
    2. Choose our Replication Instance
    3. Choose our Source Endpoint
    4. Choose our Target Endpoint
    5. Check the box to make sure the task starts on creation
    6. Choose Migration Type
    7. Choose to not include large objects column
    8. Do not enable validation because it will take longer for creation
    9. Leave CW logs unchecked
    10. Leave default for Table mappings
    11. Create new Selection Rule:
    • Leave Schema as default
    • Leave Table name as default
    • Set Schema name to classicmodels
    • Leave Action set to Include
    1. Create the task

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans