From 3fe409b0b025383235d5e544f00b1e66f9e06aa1 Mon Sep 17 00:00:00 2001 From: Sean Shriver Date: Fri, 22 Nov 2024 16:42:06 -0600 Subject: [PATCH 1/2] Fixing robs changes --- .../relational-migration/application refactoring/index2.en.md | 4 ++-- content/relational-migration/data migration/index3.en.md | 1 - content/relational-migration/index.en.md | 4 ++-- content/relational-migration/setup/index.en.md | 2 ++ content/relational-migration/setup/index2.en.md | 4 +++- contentspec.yaml | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/content/relational-migration/application refactoring/index2.en.md b/content/relational-migration/application refactoring/index2.en.md index 46d7c38..321b171 100644 --- a/content/relational-migration/application refactoring/index2.en.md +++ b/content/relational-migration/application refactoring/index2.en.md @@ -24,9 +24,9 @@ the original browser has a cookie set to the relational Rest API. 4. If you have multiple browsers on your laptop, such as Edge, Firefox, or Safari, open a different browser and navigate to the web app: -[https://amazon-dynamodb-labs.com/static/relational-migration/web/index.html](https://amazon-dynamodb-labs.com/static/relational-migration/web/index.html). +[https://dynamodbworkshop.s3.amazonaws.com/migration/index.html](https://dynamodbworkshop.s3.amazonaws.com/migration/index.html). (You can also open the same browser in Incognito Mode for this step.) 5. Click the Target API button and paste in the new Rest API URL. -6. Notice the title of the page has updated to **DynamoDB App** in a blue color. If it isn't blue, you can refresh the page and see the color change. +6. Notice the title of the page has updated to **DynamoDB App** in a blue color. diff --git a/content/relational-migration/data migration/index3.en.md b/content/relational-migration/data migration/index3.en.md index 88a57bb..895da9b 100644 --- a/content/relational-migration/data migration/index3.en.md +++ b/content/relational-migration/data migration/index3.en.md @@ -44,7 +44,6 @@ We can also check the import status within the AWS Console. 4. In the search box, type DynamoDB to visit the DyanmoDB console. 5. From the left nav, click Imports from S3. 6. Notice your import is listed along with the current status. - ![Import from S3](/static/images/relational-migration/import-from-s3.png) 7. Once the import has completed, you can click it to see a summary including item count and the size of the import. 8. On the left nav, click to Tables. 9. In the list of tables, click on the Customers table. diff --git a/content/relational-migration/index.en.md b/content/relational-migration/index.en.md index 7b35a2d..6907880 100644 --- a/content/relational-migration/index.en.md +++ b/content/relational-migration/index.en.md @@ -57,8 +57,8 @@ then apply them to create a new VIEW and use this to perform a custom import. Developer challenge: Write a new set of data access functions that point to DynamoDB. -### Requirements -This workshop is designed to run in an immersion day on Workshop Studio in an AWS-provided environment that includes a MySQL database on EC2. It cannot be run in your own AWS account, however the code is all open source. +### Runtime environment +This workshop is designed to run in an AWS-provided environment that includes a MySQL database on EC2. ### Technical Depth This workshop is a L300 level workshop. Having SQL, Python, and Bash skills will help but are not required. diff --git a/content/relational-migration/setup/index.en.md b/content/relational-migration/setup/index.en.md index 84cb29b..ceca422 100644 --- a/content/relational-migration/setup/index.en.md +++ b/content/relational-migration/setup/index.en.md @@ -14,6 +14,8 @@ You likely have a developer desktop or laptop, the ability to find and clone the public Github code repository, and a running MySQL database instance. You can create a new Amazon S3 bucket quickly, which can be used as a staging area for data to be migrated. +All the steps, tools, and scripts presented in the workshop are designed to be taken home with you +so you can perform a real database migration. diff --git a/content/relational-migration/setup/index2.en.md b/content/relational-migration/setup/index2.en.md index 033c1b7..8e1dc06 100644 --- a/content/relational-migration/setup/index2.en.md +++ b/content/relational-migration/setup/index2.en.md @@ -26,6 +26,8 @@ The Lambda source code project has been setup as follows 1. Next, let's deploy the Chalice application stack. + The deploy may take up to three minutes, be patient. + ```bash chalice deploy --stage relational ``` @@ -42,7 +44,7 @@ chalice deploy --stage relational A single-page web application is included in the /webapp project folder. The web app has already been deployed for you in a public S3 bucket for convenience. -5. Navigate to [https://amazon-dynamodb-labs.com/static/relational-migration/web/index.html](https://amazon-dynamodb-labs.com/static/relational-migration/web/index.html) +5. Navigate to [https://dynamodbworkshop.s3.amazonaws.com/migration/index.html](https://dynamodbworkshop.s3.amazonaws.com/migration/index.html) The webapp stores the API URL you provide as a browser cookie. Then, Javascript functions will call the API for you, when you click on diff --git a/contentspec.yaml b/contentspec.yaml index cd6cdd4..3b7916d 100644 --- a/contentspec.yaml +++ b/contentspec.yaml @@ -13,4 +13,4 @@ params: event_driven_architecture_lab_yaml : "https://s3.amazonaws.com/amazon-dynamodb-labs.com/assets/event-driven-cfn.yaml" github_contributing_guide : "https://github.com/aws-samples/amazon-dynamodb-labs/blob/master/CONTRIBUTING.md" github_issues_link : "https://github.com/aws-samples/amazon-dynamodb-labs/issues" - lsql_git_commit : "47a43bedf75bc0859e9141ad1bdd1f330f0933f1" + lsql_git_commit : "cea34bc520512c70091aba2995de0e99a31d1078" From 2b9de09e8b22e27916ca703dd9e3e2613391fcd3 Mon Sep 17 00:00:00 2001 From: Sean Shriver Date: Fri, 22 Nov 2024 16:44:09 -0600 Subject: [PATCH 2/2] reverting URL changes..... --- .../relational-migration/application refactoring/index2.en.md | 2 +- content/relational-migration/setup/index2.en.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/relational-migration/application refactoring/index2.en.md b/content/relational-migration/application refactoring/index2.en.md index 321b171..b2c6d09 100644 --- a/content/relational-migration/application refactoring/index2.en.md +++ b/content/relational-migration/application refactoring/index2.en.md @@ -24,7 +24,7 @@ the original browser has a cookie set to the relational Rest API. 4. If you have multiple browsers on your laptop, such as Edge, Firefox, or Safari, open a different browser and navigate to the web app: -[https://dynamodbworkshop.s3.amazonaws.com/migration/index.html](https://dynamodbworkshop.s3.amazonaws.com/migration/index.html). +[https://amazon-dynamodb-labs.com/static/relational-migration/web/index.html](https://amazon-dynamodb-labs.com/static/relational-migration/web/index.html). (You can also open the same browser in Incognito Mode for this step.) diff --git a/content/relational-migration/setup/index2.en.md b/content/relational-migration/setup/index2.en.md index 8e1dc06..ec842ce 100644 --- a/content/relational-migration/setup/index2.en.md +++ b/content/relational-migration/setup/index2.en.md @@ -44,7 +44,7 @@ chalice deploy --stage relational A single-page web application is included in the /webapp project folder. The web app has already been deployed for you in a public S3 bucket for convenience. -5. Navigate to [https://dynamodbworkshop.s3.amazonaws.com/migration/index.html](https://dynamodbworkshop.s3.amazonaws.com/migration/index.html) +5. Navigate to [https://amazon-dynamodb-labs.com/static/relational-migration/web/index.html](https://amazon-dynamodb-labs.com/static/relational-migration/web/index.html) The webapp stores the API URL you provide as a browser cookie. Then, Javascript functions will call the API for you, when you click on