Lab Details
This lab will walk you through DynamoDB Console, NoSQL Workbench. This lab will show you how to create a DynamoDB Table, perform CRUD methods with NoSQL Workbench, and visualize the DynamoDB console changes. You will also create a DynamoDB console table, insert items, and visualize the NoSQL Workbench reflections.
Duration: 60 minutes
AWS Region: US East, N. Virginia us-east-1
Introduction
What is AWS DynamoDB and how can it help you?
Definition
DynamoDB, a flexible and fast NoSQL database, is designed for applications that require consistent, one-digit millisecond latency at all scales.
It offers a flexible data model. It doesn't require you to create a database schema beforehand. It is also reliable in performance.
DynamoDB works well for mobile gaming, IoT, and many other applications.
DynamoDB tables
The following tables are part of DynamoDB:
Items (Think about a row of data within a table).
Attributes (Think about a column of data within a table.
Supports key-value, document and data structures.
Key= The name of the data. Value = the data itself.
You can write a document in JSON, HTML, or XML.
DynamoDB – Primary Keys
DynamoDB stores data and retrieves it based on a Primary Key
DynamoDB uses Partition keys to determine where the physical location data are stored.
You can use a partition key to create a Primary key so that no items have the same Partition keys.
You can combine composite keys (Partition key + Sort key)
Although two items can have the same partition key but have to have different types of keys, they must be identical.
All items that share the same partition key are kept together, and then sorted according the sort key value.
DynamoDB lets you store multiple items using the same partition keys.
NoSQL Workbench
NoSQL is a Non-Relational Database. There are many other benefits.
NoSQL Workbench allows developers to test their code in a virtual environment.
It allows users to easily develop and test their data models across a wide range of functionalities.
The NoSQL Workbench, in simple terms, is an IDE platform which includes data modeling, data visualization and operation building.
Data modeling: Workbench allows users to create new data models from scratch or use existing models.
Data Visualization: This is, as the name implies, a graphical representation of data and information.
Operation Building: Workbench provides a reliable platform for building applications. It also offers a great graphical user interface that makes communication between the database server and the user much easier.