Skip to content

Commit e57d9f2

Browse files
authored
WS - Misc updates (#100)
* Misc updates * links and gh ref
1 parent ad0b070 commit e57d9f2

File tree

13 files changed

+27
-28
lines changed

13 files changed

+27
-28
lines changed

content/authors.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Our editors and hall of fame."
66
weight: 100
77
---
88

9-
9+
:button[Fork these docs on GitHub]{href="https://github.com/aws-samples/amazon-dynamodb-labs"}
1010

1111
### Launch team
1212

content/design-patterns/setup/user-account.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ chapter: true
1212
## Launch the CloudFormation stack
1313
::alert[During the course of the lab, you will make DynamoDB tables that will incur a cost that could approach tens or hundreds of dollars per day. Ensure you delete the DynamoDB tables using the DynamoDB console, and make sure you delete the CloudFormation stack as soon as the lab is complete.]
1414

15-
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [![CloudFormation](/static/images/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=amazon-dynamodb-labs&templateURL=:param{key="design_patterns_s3_lab_yaml"})
15+
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [![CloudFormation](/static/images/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=DynamoDBID&templateURL=:param{key="design_patterns_s3_lab_yaml"})
1616
1. *Optionally, download [the YAML template](:param{key="design_patterns_s3_lab_yaml"}) and launch it your own way*
1717

1818
1. Click *Next* on the first dialog.

content/game-player-data/setup/on-your-own.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ chapter: true
1212
## Launch the CloudFormation stack
1313
::alert[During the course of the lab, you will make DynamoDB tables that will incur a cost that could approach tens or hundreds of dollars per day. Ensure you delete the DynamoDB tables using the DynamoDB console, and make sure you delete the CloudFormation stack as soon as the lab is complete.]
1414

15-
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [![CloudFormation](/static/images/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=amazon-dynamodb-labs&templateURL=:param{key="design_patterns_s3_lab_yaml"})
15+
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [![CloudFormation](/static/images/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=DynamoDBID&templateURL=:param{key="design_patterns_s3_lab_yaml"})
1616
1. *Optionally, download [the YAML template](:param{key="design_patterns_s3_lab_yaml"}) and launch it your own way*
1717

1818
1. Click *Next* on the first dialog.

content/hands-on-labs/rdbms-migration/migration-chapter02-1.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Let's create the DMS resources for the workshop.
1010
1. Go to IAM console > Roles > Create Role
1111
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”
1212
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 dms-vpc-role and click Create role
13+
5. Under “Name, review, and create” add the role name as exactly `dms-vpc-role` and click Create role
1414

1515
::alert[_Do not continue unless you have made the IAM role._]
1616

17-
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [![CloudFormation](/static/images/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=amazon-dynamodb-labs&templateURL=:param{key="lhol_migration_dms_setup_yaml"})
17+
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [![CloudFormation](/static/images/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=dynamodbmigration&templateURL=:param{key="lhol_migration_dms_setup_yaml"})
1818
1. *Optionally, download [the YAML template](:param{key="lhol_migration_dms_setup_yaml"}) and launch it your own way*
1919
9. Click Next
2020
10. Confirm the Stack Name *dynamodbmigration* and keep the default parameters (modify if necessary)

content/hands-on-labs/rdbms-migration/migration-chapter02.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ weight: 20
77
This chapter will create source environment on AWS as discussed during Exercise Overview.
88
The CloudFormation template used below will create Source VPC, EC2 hosting MySQL server, IMDb database and load IMDb public dataset into 6 tables.
99

10-
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [![CloudFormation](/static/images/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=amazon-dynamodb-labs&templateURL=:param{key="lhol_migration_setup_yaml"})
10+
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [![CloudFormation](/static/images/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=rdbmsmigration&templateURL=:param{key="lhol_migration_setup_yaml"})
1111
1. *Optionally, download [the YAML template](:param{key="lhol_migration_setup_yaml"}) and launch it your own way*
1212
4. Click Next
1313
5. Confirm the Stack Name *rdbmsmigration* and update parameters if necessary (leave the default options if at all possible)

content/hands-on-labs/rdbms-migration/migration-chapter04.en.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,5 @@ A new GSI is created on the movies table with new partion key: `nconst` (unique
4545

4646
![Final Deployment Architecture](/static/images/migration34.png)
4747

48-
Below small video demonstrates how all of these access pattern are evaluated against target DynamoDB model.
48+
[Click here to view a video that demonstrates how all of these access pattern are evaluated against target DynamoDB model](https://www.amazondynamodblabs.com/static/rdbms-migration/migration36.mp4)
4949

50-
<video width=100% controls autoplay>
51-
<source src="https://www.amazondynamodblabs.com/static/rdbms-migration/migration36.mp4" type="video/mp4">
52-
Your browser does not support the video tag.
53-
</video>

content/hands-on-labs/setup/create-tables.en.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 14
66

77
We will now create tables (and in a subsequent step load data into them) based on [sample data from the DynamoDB Developer Guide](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/SampleData.html).
88

9-
Copy the `create-table` commands below along with their corresponding `wait` commands and paste them in your AWS Cloud9 command prompt. Each command waits for the table to finish creating. If you get an error from the wait command, you may have submitted it too fast; re-run the wait command in this case.
9+
Copy the `create-table` commands below and paste them into your AWS Cloud9 command prompt, hitting enter on the last command to execute it. Then use the corresponding `wait` commands by pasting them into the same terminal and running them.
1010

1111
```bash
1212
aws dynamodb create-table \
@@ -16,21 +16,17 @@ aws dynamodb create-table \
1616
--key-schema \
1717
AttributeName=Id,KeyType=HASH \
1818
--provisioned-throughput \
19-
ReadCapacityUnits=10,WriteCapacityUnits=5
20-
21-
aws dynamodb wait table-exists --table-name ProductCatalog
22-
19+
ReadCapacityUnits=10,WriteCapacityUnits=5 \
20+
--query "TableDescription.TableStatus"
2321
aws dynamodb create-table \
2422
--table-name Forum \
2523
--attribute-definitions \
2624
AttributeName=Name,AttributeType=S \
2725
--key-schema \
2826
AttributeName=Name,KeyType=HASH \
2927
--provisioned-throughput \
30-
ReadCapacityUnits=10,WriteCapacityUnits=5
31-
32-
aws dynamodb wait table-exists --table-name Forum
33-
28+
ReadCapacityUnits=10,WriteCapacityUnits=5 \
29+
--query "TableDescription.TableStatus"
3430
aws dynamodb create-table \
3531
--table-name Thread \
3632
--attribute-definitions \
@@ -40,10 +36,8 @@ aws dynamodb create-table \
4036
AttributeName=ForumName,KeyType=HASH \
4137
AttributeName=Subject,KeyType=RANGE \
4238
--provisioned-throughput \
43-
ReadCapacityUnits=10,WriteCapacityUnits=5
44-
45-
aws dynamodb wait table-exists --table-name Thread
46-
39+
ReadCapacityUnits=10,WriteCapacityUnits=5 \
40+
--query "TableDescription.TableStatus"
4741
aws dynamodb create-table \
4842
--table-name Reply \
4943
--attribute-definitions \
@@ -53,7 +47,14 @@ aws dynamodb create-table \
5347
AttributeName=Id,KeyType=HASH \
5448
AttributeName=ReplyDateTime,KeyType=RANGE \
5549
--provisioned-throughput \
56-
ReadCapacityUnits=10,WriteCapacityUnits=5
50+
ReadCapacityUnits=10,WriteCapacityUnits=5 \
51+
--query "TableDescription.TableStatus"
52+
```
5753

54+
Run the wait commands. When they all run and end, you can move on:
55+
```bash
56+
aws dynamodb wait table-exists --table-name ProductCatalog
57+
aws dynamodb wait table-exists --table-name Forum
58+
aws dynamodb wait table-exists --table-name Thread
5859
aws dynamodb wait table-exists --table-name Reply
59-
```
60+
```

content/hands-on-labs/setup/load-sample-data.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ weight: 15
77
Download and unzip the sample data:
88

99
```bash
10-
wget https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/samples/sampledata.zip
10+
curl -O https://amazon-dynamodb-labs.com/static/hands-on-labs/sampledata.zip
1111

1212
unzip sampledata.zip
1313
```

content/hands-on-labs/setup/setup.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ chapter: true
1212
## Launch the CloudFormation stack
1313
::alert[During the course of the lab, you will make DynamoDB tables that will incur a cost that could approach tens or hundreds of dollars per day. Ensure you delete the DynamoDB tables using the DynamoDB console, and make sure you delete the CloudFormation stack as soon as the lab is complete.]
1414

15-
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [![CloudFormation](/static/images/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=amazon-dynamodb-labs&templateURL=:param{key="design_patterns_s3_lab_yaml"})
15+
1. Launch the CloudFormation template in US West 2 to deploy the resources in your account: [![CloudFormation](/static/images/cloudformation-launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=DynamoDBID&templateURL=:param{key="design_patterns_s3_lab_yaml"})
1616
1. *Optionally, download [the YAML template](:param{key="design_patterns_s3_lab_yaml"}) and launch it your own way*
1717

1818
1. Click *Next* on the first dialog.

0 commit comments

Comments
 (0)