Whats is DynamoDB ?


Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database so that you don’t have to worry about hardware provisioning, setup and configuration, replication, software patching, or cluster scaling.

With DynamoDB, you can create database tables that can store and retrieve any amount of data and serve any level of request traffic. It is designed to run high-performance, internet-scale applications that would overburden traditional relational databases.



  • On-demand capacity mode
  • Built-in support for ACID transactions
  • On-demand backups and point-in-time recovery
  • Encryption at rest


Lets get started !

Creating a table in DynamoDB

1. Sign in to the AWS Management Console and open the DynamoDB console. (https://console.aws.amazon.com/dynamodb/)

2. In the navigation pane on the left side of the console, choose Dashboard.

3. On the right side of the console, choose Create Table.

dynamoDB table creation

4. Enter table details as shown in image below :

a. For the table name, enter Music.

b. For the partition key, enter Artist.

c. Choose Add sort key.

d. Enter SongTitle as the sort key.

Now click on Create Table.

provide table details such as tabele name, primary key and sort key

 Write data into table

  1. In the navigation pane on the left side of the console, choose Tables.
  2. In the table list, choose the Music table.
  3. Choose the Items tab for the Music table.
  4. On the Items tab, choose Create item.

Create dynamodb item


5. Choose the plus sign (+) symbol next to SongTitle.

6. Choose Append, and then choose Number. Name the field Awards.

Insert item into dynamo DB table

7. Choose the following values for your item:

a. For Artist, enter No One You Know as the value.

b. For SongTitle, enter Call Me Today.

enter values for items in DynamoDB

8. Click on Save and the table is ready. You can view it in Dashboard > Tables > Items

Update data item in DynamoDB

1. In the dynamoDB console, go to Dashboard > Tables > Items.

2. Click on the particular item that you want to update, it will open in Edit mode.

3. Modify it and choose Save.

These are the basic functions and operations of DynamoDB. Will explain more in my future posts.

Leave a Reply

Your email address will not be published. Required fields are marked *