How to Run AWS Amazon DynamoDB - Steps to do it ?

Are you trying to run Amazon DynamoDB?

This guide is for you.

Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It's a fully managed, multi-region, multi-active, durable database with built-in security, backup and restore, and in-memory caching for internet-scale applications.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform Amazon DynamoDB.

In this context, we shall look into the different aspects of Amazon DynamoDB and how to set it up.

More information about Amazon DynamoDB ?

Amazon DynamoDB is a fully managed NoSQL database service that allows creating database tables that can store and retrieve any amount of data.

Generally, it automatically manages the data traffic of tables over multiple servers and maintains performance.

It also relieves the customers from the burden of operating and scaling a distributed database. Hence, Amazon manages hardware provisioning, setup, configuration, replication, software patching, cluster scaling, and so on.

What are the advantages of Amazon DynamoDB ?

1. Managed service:

Amazon DynamoDB is a managed service. It handles all the complexities of scaling, partitions, and re-partitions data over more machine resources to meet I/O performance requirements.

2. Scalable:

It is designed to scale. We can store and retrieve any amount of data. DynamoDB will spread automatically with the amount of data stored as the table grows.

3. Fast:

Amazon DynamoDB provides high throughput at very low latency. As datasets grow, latencies remain stable due to the distributed nature of DynamoDB’s data placement and request routing algorithms.

4. Durable and highly available:

Similarly, it replicates data over at least 3 different data centers’ results. The system operates and serves data even under various failure conditions.

5. Flexible:

Amazon DynamoDB allows the creation of dynamic tables, i.e. the table can have any number of attributes, including multi-valued attributes.

6. Cost-effective:

Payment is for what we use without any minimum charges. Its pricing structure is simple and easy to calculate.

How to run Amazon DynamoDB ?

Step 1: To set up DynamoDB, follow the steps given below:

i. Download DynamoDB (.jar file) using the following link. It supports multiple Operating Systems like Windows, Linux, Mac, and so on.

.tar.gz format −

.zip format −

ii. Once the download is complete, extract the contents and copy the extracted directory to a location wherever we want.

iii. Open the command prompt and navigate to the directory where we extracted DynamoDBLocal.jar, and execute the following command:

java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb

iv. Now there is access to the built-in JavaScript shell.

Step 2: You can create a Table using the following steps.

i. Initially, open AWS Management Console and select DynamoDB.

ii. Then select the region of the table and click the Create Table button.

iii. Then create Table window opens. Fill the details into their respective fields and click the Continue button.

iv. Finally, a review page opens where we can view details. Click the Create button.

v. Now the Table-name is visible in the in-to the list and Dynamo Table is ready to use.

[Couldn't run Amazon DynamoDB? We'd be happy to assist.]


This article will guide you on how to set up #Amazon DynamoDB which can be downloaded as an executable .jar file.

#DynamoDB uses hashing and B-trees to manage #data. Upon entry, data is first distributed into different partitions by hashing on the #partition key. Each partition can store up to 10GB of data and handle by default 1,000 write capacity units (WCU) and 3,000 read capacity units (RCU).

Related Post

Keep In Touch

We hope to hear from you.

Accept File Type: jpg,jpeg,png,txt,pdf,doc,docx