Home   >   AWS   >   AWS Labs   >   Introduction to AWS DynamoDB

Introduction to AWS DynamoDB

Lab Details

  1. This lab walks you through Amazon DynamoDB features. We will create a table in Amazon DynamoDB to store information and then query that information from the DynamoDB table.

  2. Duration: 30 minutes

  3. AWS Region: US East (N. Virginia) us-east-1

Introduction

What is AWS DynamoDB?

Definition

  • DynamoDB is a fast and flexible NoSQL database designed for applications that need consistent, single-digit millisecond latency at any scale.it is a fully managed database and it supports both document and key value data models.

  • It has a very flexible data model. This means that you don't need to define your database schema upfront. It also has reliable performance.

  • DynamoDB is a good fit for mobile gaming, ad-tech, IoT and many other applications.

DynamoDB Tables

DynamoDB tables consist of 

  • Items (Think of a row of data in a table).

  • Attributes ((Think of a column of data in a table).

  • Supports key-value and document data structures.

  • Key= the name of the data.  Value= the data itself.

  • Document can be written in JSON, HTML or XML.

DynamoDB- Primary Keys

  • DynamoDB stores and retrieves data based on a Primary key

  • DynamoDB also uses Partition keys to determine the physical location data is stored.

  • If you are using a partition key as your Primary key, then no items will have the same Partition key.

  • Composite Keys (Partition Key + Sort Key) can be used in Ccombination.

  • Two items may have the same partition key, but must have a different sort key.

  • All items with the same partition key are stored together and then sorted according to the sort key value.

  • DynamoDB allows you to store multiple items with the same partition keys.

Architecture Diagram 

Lab Tasks

  1. Log into AWS Management Console.

  2. Create a DynamoDB table.

  3. Insert data into that DynamoDB table.

  4. Search for an item in the DynamoDB table.



Join Whizlabs_Hands-On to Read the Rest of this Lab..and More!

Step 1 : Login to My-Account
Step 2 : Click on "Access Now" to view the course you have purchased
Step 3 : You will be taken to our Learn Management Solution (LMS) to access your Labs,Quiz and Video courses