You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Pulling in aman's changes
* moving images
* Pulling upstream
* Adding sync script
* Adding additional information in public repo about private instructions
Copy file name to clipboardExpand all lines: content/rdbms-migration/migration-chapter00.en.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,17 @@ weight: 10
6
6
---
7
7
In this module, you will create an environment to host the MySQL database on Amazon EC2. This instance will be used to host source database and simulate on-premise side of migration architecture.
8
8
All the resources to configure source infrastructure are deployed via [Amazon CloudFormation](https://aws.amazon.com/cloudformation/) template.
9
-
There are two CloudFormation templates used in this exercise which will deploy following resources.
9
+
There are two CloudFormation templates used in this exercise which deploy the following resources.
10
10
11
-
CloudFormation MySQL Template Resources:
12
-
- OnPrem VPC: Source VPC will represent an on-premise source environment in the N. Virginia region. This VPC will host source MySQL database on Amazon EC2
13
-
- Amazon EC2 MySQL Database: Amazon EC2 Amazon Linux 2 AMI with MySQL installed and running
14
-
- Load IMDb dataset: The template will create IMDb database on MySQL and load IMDb public dataset files into database. You can learn more about IMDb dataset inside [Explore Source Model](/hands-on-labs/rdbms-migration/migration-chapter03)
11
+
CloudFormation MySQL Template Resources (**Already deployed**):
12
+
-**OnPrem VPC**: Source VPC will represent an on-premise source environment in the workshop region. This VPC will host source MySQL database on Amazon EC2
13
+
-**Amazon EC2 MySQL Database**: Amazon EC2 Amazon Linux 2 AMI with MySQL installed and running
14
+
-**Load IMDb dataset**: The template will create IMDb database on MySQL and load IMDb public dataset files into database. You can learn more about IMDb dataset inside [Explore Source Model](/hands-on-labs/rdbms-migration/migration-chapter03)
15
15
16
16
17
17
18
-
CloudFormation DMS Instance Resources:
19
-
- DMS VPC: Migration VPC on in the N. Virginia region. This VPC will host DMS replication instance.
20
-
- Replication Instance: DMS Replication instance that will facilitate database migration from source MySQL server on EC2 to Amazon DynamoDB
Copy file name to clipboardExpand all lines: content/rdbms-migration/migration-chapter02-1.en.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,23 +5,23 @@ date: 2021-04-25T07:33:04-05:00
5
5
weight: 25
6
6
---
7
7
8
-
Let's create the DMS resources for the workshop.
8
+
Let's create the DMS resources for the workshop. First, we ensure if a DMS service role `dms-vpc-role` is already available. Then we need to deploy the DMS resources.
9
9
10
-
1. Go to IAM console > Roles > Create Role
11
-
2. Under “Select trusted entity” select “AWS service” then under “Use case” select “DMS” from the pulldown list and click the “DMS” radio button. Then click “Next”
12
-
3. Under “Add permissions” use the search box to find the “AmazonDMSVPCManagementRole” policy and select it, then click “Next”
13
-
5. Under “Name, review, and create” add the role name as exactly `dms-vpc-role` and click Create role
10
+
1. Go to IAM console > Roles > Search for `dms-vpc-role`. If you see a role, skip to the CloudFormation stack deployment. Else, select **Create role** and follow next steps.
11
+
2. Under **Select trusted entity** select **AWS service** then under **Use case** select **DMS** from the drop-down and click the **DMS** radio button. Then click **Next**
12
+
3. Under **Add permissions** use the search box to find the `AmazonDMSVPCManagementRole` policy and select it, then click **Next**
13
+
5. Under **Name, review, and create** add the role name as exactly `dms-vpc-role` and click **Create role**
14
14
15
15
::alert[_Do not continue unless you have made the IAM role._]
16
16
17
-
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=dynamodbmigration&templateURL=:param{key="lhol_migration_dms_setup_yaml"})
17
+
1. Launch the CloudFormation template in the workshop region to deploy the resources in your account: [](https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=dynamodbmigration&templateURL=:param{key="lhol_migration_dms_setup_yaml"})
18
18
1.*Optionally, download [the YAML template](:param{key="lhol_migration_dms_setup_yaml"}) and launch it your own way*
19
-
9. Click Next
20
-
10. Confirm the Stack Name *dynamodbmigration* and keep the default parameters (modify if necessary)
19
+
9. Click **Next**
20
+
10. Confirm the Stack name `dynamodbmigration` and keep the default parameters (modify if necessary)
12. Check “I acknowledge that AWS CloudFormation might create IAM resources with custom names.”
24
-
1. Click Submit. The CloudFormation template will take about 15 minutes to build a replication environment. You should continue the lab while the stack creates in the background.
22
+
11. Click **Next** twice
23
+
12. Check ***I acknowledge that AWS CloudFormation might create IAM resources with custom names***.
24
+
1. Click **Submit**. The CloudFormation template will take about 15 minutes to build a replication environment. You should continue the lab while the stack creates in the background.
Copy file name to clipboardExpand all lines: content/rdbms-migration/migration-chapter02.en.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,18 +5,21 @@ date: 2021-04-25T07:33:04-05:00
5
5
weight: 20
6
6
---
7
7
This chapter will create source environment on AWS as discussed during Exercise Overview.
8
+
9
+
::alert[MySQL Environment with data has already been deployed in your workshop account. No action is required on this page. The following steps are for you to learn. Head over to next page to deploy DMS resources.]
10
+
8
11
The CloudFormation template used below will create Source VPC, EC2 hosting MySQL server, IMDb database and load IMDb public dataset into 6 tables.
9
12
10
-
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=rdbmsmigration&templateURL=:param{key="lhol_migration_setup_yaml"})
13
+
1. Launch the CloudFormation template in workshop region to deploy the resources in your account: [](https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=rdbmsmigration&templateURL=:param{key="lhol_migration_setup_yaml"})
11
14
1.*Optionally, download [the YAML template](:param{key="lhol_migration_setup_yaml"}) and launch it your own way*
12
-
4. Click Next
13
-
5. Confirm the Stack Name *rdbmsmigration* and update parameters if necessary (leave the default options if at all possible)
15
+
4. Click **Next**
16
+
5. Confirm the Stack name `rdbmsmigration` and update parameters if necessary (leave the default options if at all possible)
9. Go to [EC2 Dashboard](https://console.aws.amazon.com/ec2/v2/home?region=us-west-2#Instances:) and ensure the Status check column is 2/2 checks passed before moving to the next step.
22
+
9. Go to [EC2 Dashboard](https://console.aws.amazon.com/ec2/v2/home#Instances:) and ensure the **Status check** column is 2/2 checks passed before moving to the next step.
8. Go to AWS CloudFormation [Stacks](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks?filteringStatus=active&filteringText=&viewNested=true&hideStacks=false) and click on the stack you created earlier. Go to the Parameters tab and copy the username and password listed next to "DbMasterUsername" and "DbMasterPassword".
34
+
8. Go to [AWS CloudFormation Console](https://console.aws.amazon.com/cloudformation/home#/stacks?filteringStatus=active&filteringText=&viewNested=true&hideStacks=false) and click on the stack you created earlier. Go to the **Parameters** tab and copy the username and password listed next to **DbMasterUsername** and **DbMasterPassword**.
Copy file name to clipboardExpand all lines: content/rdbms-migration/migration-chapter04.en.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ You can often query the data from multiple tables and assemble at the presentati
10
10
To support high-traffic queries with ultra-low latency, designing a schema to take advantage of a NoSQL system generally makes technical and economic sense.
11
11
12
12
To start designing a target data model in Amazon DynamoDB that will scale efficiently, you must identify the common access patterns. For the IMDb use case we have identified a set of access patterns as described below:
A common approach to DynamoDB schema design is to identify application layer entities and use denormalization and composite key aggregation to reduce query complexity.
0 commit comments