Exploring Amazon DynamoDB Tables | Scribe

    Exploring Amazon DynamoDB Tables

    • Hafeez Baig |
    • 21 steps |
    • 3 minutes
    information ordinal icon

    Refer to the following guide to learn how to use IAM in the cloud\ <https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg> Refer to this guide to learn how to create an Amazon DynamoDB Table\ <https://scribehow.com/shared/Creating_an_Amazon_DynamoDB_Table__PYJT857WQWKnq6T2w0XeWg>

    1

    Sign in to **AWS Management Console** as an **IAM User** **Pre-requisite** - Ensure you have selected the AWS region closest to your location\ For this guide, we will be using us-east-2 (Ohio) as a preferred choice

    2

    Type **DynamoDB** in the search bar and click on **DynamoDB** to view the DynamoDB Dashboard

    information ordinal icon

    **What is DynamoDB in AWS?** Amazon DynamoDB is a fully managed NoSQL database service provided by Amazon Web Services (AWS). It is designed for applications that require single-digit millisecond latency and seamless scalability. DynamoDB offers fast and predictable performance with automatic scaling, making it suitable for a wide range of use cases, from low-latency applications to high-throughput workloads.

    3

    On the **DynamoDB** dashboard, click on the **Tables** from the left bar

    4

    **Tables** wizard will open, click on the table Name **todo**

    information ordinal icon

    **What are Tables in Amazon DynamoDB?** In Amazon DynamoDB, tables are the primary data storage structures. They are schema-less, NoSQL databases that organize data into items (rows) and attributes (columns). Each table consists of one or more items, where each item contains one or more attributes.

    5

    **todo** wizard will open, scroll to the **General information** section to view the details for the table

    6

    Scroll to the **Items summary** section to view the Items summary and get a live item count

    7

    Scroll to the **Table capacity metrics** section to view the metrics of the table

    8

    To create a new item, click on the **Actions** dropdown button and select the **Create item** option

    information ordinal icon

    **What is an Item in DynamoDB?** In Amazon DynamoDB, an "item" is a basic unit of data storage and retrieval. It is similar to a row in a traditional relational database table. Each item in a DynamoDB table consists of one or more attributes, which are key-value pairs.

    9

    **Create item** wizard will open, enter the **Value** as **"1"** for the Partition key

    10

    Click on the **Create item** button on the right side

    11

    On **todo** wizard, scroll to the **Items returned** section and click on the id **1**

    12

    **Edit item** wizard will open, on the right side click on the **Add new attribute dropdown** button and select the option **String**

    information ordinal icon

    **What is an Attribute in DynamoDB?** In Amazon DynamoDB, an "attribute" refers to a single piece of data within an item stored in a DynamoDB table. It represents a key-value pair where the key is the attribute name and the value is the data associated with that attribute.

    13

    On the left side, enter the **Attribute name** as "**description**" and give **Value** as "**Learn to code**"

    14

    On the right side, click on the **Save** button

    15

    To create a new Attribute, on the right side click on the **Add new attribute** dropdown button and select the option **String**