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
::alert[Import will write all the records it finds in the bucket to the table. If a duplicate record is encountered, it will simply overwrite it. Please be sure that your S3 data does not contain any duplicates based on the Key(s) of the new table you define.]{header="Note:"}
29
+
30
+
The second import is also not advisable since if you created a new vCustOrders table in step 1, the second Import attempt would not be able to replace the existing table, and would fail.
Copy file name to clipboardExpand all lines: content/relational-migration/index.en.md
+19-20Lines changed: 19 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,31 +29,30 @@ You can review this guidance when considering and planning your own relational m
29
29
30
30
[AWS Documentation: Relational Migration to DynamoDB Developer Guide](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/migration-guide.html)
31
31
32
-
[//]: #(## Workshop overview)
33
32
34
-
[//]: #(The workshop includes a Cloud9 developer workstation and an S3 bucket for staging data.)
33
+
## Workshop overview
35
34
36
-
[//]: #(The source database for migration is a deployed a MySQL instance, running on EC2. )
35
+
The workshop provides a MySQL instance running on EC2, a Cloud9 developer workstation,
36
+
and an S3 bucket for staging data.
37
37
38
-
[//]: #(Run a script to deploy the sample set of MySQL tables and data.)
39
-
40
-
[//]: #(You will create a serverless API and Python Lambda function that)
41
-
42
-
[//]: #(performs database read and write operations against the relational database. )
43
-
44
-
[//]: #(A sample web app provides a GUI interface as a test harness for the serverless API. )
45
-
46
-
[//]: #()
47
-
[//]: #(An end-to-end migration script is run that performs a SQL query, transforms results to DynamoDB JSON and writes to Amazon S3, then starts a DynamoDB Import job.)
48
-
49
-
[//]: #()
50
-
[//]: #(Developer challenge: Tour various SQL data modeling techniques, then combine them into a final single-table transformation. )
51
-
52
-
[//]: #(Developer challenge: write a new set of data access functions that point to DynamoDB. )
53
-
54
-
[//]: #()
38
+
You will create a serverless API and Python Lambda function that
39
+
performs database read and write operations against the relational database,
40
+
and then deploy a new version that performs read and write operations against DynamoDB.
55
41
42
+
A sample web app is provided that:
43
+
* Acts as a GUI test harness for the serverless API
44
+
* Converts tables and indexes into suggested DynamoDB tables and GSIs
45
+
* Has a SQL editor with a set of sample queries, and hints on how to combine tables
46
+
* Performs read and write operations to both MySQL and DynamoDB
47
+
and provides hints and suggestions for building a migration
56
48
49
+
You will run a set of scripts that:
50
+
* Deploys a set of sample MySQL tables, views, and data.
51
+
* Converts MySQL table metadata to a DynamoDB table definition.
52
+
* Converts the results of a SQL query into DynamoDB JSON format, and stores in the Amazon S3 bucket.
53
+
* Perform a full migration by running a SQL query, transforming results to DynamoDB JSON, writing to Amazon S3, then starting a DynamoDB Import job.
57
54
55
+
Developer challenge: Tour various SQL data modeling techniques, then combine them into a custom VIEW for a single-table transformation.
56
+
Developer challenge: Write a new set of data access functions that point to DynamoDB.
0 commit comments