- Lab
- A Cloud Guru
Building a Microservice Application and DynamoDB Data Model
In this hands-on lab, we will be presented with a web front end that is ready to be connected to a data system back end. We will analyze the provided dataset, create a data model, create a DynamoDB table, and edit two Lambda functions to load data into the table we will create, and connect that table to an API to provide data to the website.
Path Info
Table of Contents
-
Challenge
Examine Source Data and Formulate Data Model
Examine the source data (linked in the lab instructions) and formulate a data model that will allow storing and accessing this data from a single DynamoDB table.
-
Challenge
Create a DynamoDB Table
Considering the data model from the last task, create a DynamoDB table to manifest the features of your data model. The table must be named
collectors
. -
Challenge
Add Data Transformations/Mutations to `collectors_load` Lambda Function
Add any necessary data transformations from your data model created in task one to the
collectors_load
function.(The solution code is linked on the lab page.)
-
Challenge
Run `collectors_load` Function
Use an empty test event to run the
collectors_load
function to load data into thecollectors
DynamoDB table. -
Challenge
Implement Queries in `collectors_primary` Lambda Function
Implement queries to satisfy the required access patterns in the
collectors_primary
Lambda function.(The solution code is linked on the lab page.)
-
Challenge
Validate API Responses
Using the provided website and API Gateway endpoint, verify all requested access patterns return the correct data.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.