This guide helps students set up the pre-environment for the AWS Database Migration Service (AWS DMS) Main Lab. It is a compulsory step for the DMS Main Lab, but not required for the AutoComplate DMS Lab.
AWS DMS required source and destination as shown below:
Your instructor will provide you source database details during main lab to configure source endpoint. If you ran instructor lab to setup your own instance of Postgres database then use instance endpoint from instructor lab.
In this lab, you will complete the following pre-requisite using AWS CloudFormation template deployment:
Labs are also available in GitHub - https://github.com/aws-samples/data-engineering-for-aws-immersion-day
Make sure you select the us-east-1 (Virginia) region
Sign in to the AWS console where you will host the student environment.
Go to the IAM console, search the role
dms-cloudwatch-logs-role in the search box. Note whether the role is present or not. In this example screenshot the role doesn’t exist.
Navigate to the AWS CloudFormation page from the top-left corner menu
Click the Deploy to AWS icons below to stand up the environment setup.
or perform below step 5,6,7 manually
In “Create Stack” Page, select “Template is ready” and for template source, select “Upload a template file”.
For this lab, you will be using DMSLab_Student_CFN.json template.
In Specify stack details, provide a name for “Stack Name” as “dmslab-student”. Choose yes, if you found the
dms-cloudwatch-logs-role role at step 2. Otherwise, leave to no.
Click on Next.
In review page, review all the details, scroll down and check the box to acknowledge the policy and then click on Create Stack.
Launch the stack. It may take 5 minutes for the stack to launch. Go to the Outputs tab and note down all resource information in a notepad as you are going to use them in future labs:
Congratulations!!! You have successfully completed the student prelab and setup all pre-requisite required to run the rest of the workshop. Please proceed to the next lab Data ingestion with DMS.