Open In App

DynamoDB – Local Installation

The DynamoDB setup only includes the access of your AWS account through which the DynamoDB GUI console can be accessed. However, a local installation can also be done for the same purpose.

Creating AWS account:



  1. Visit the following website:- https://aws.amazon.com/dynamodb/
  2. Click on the “Get Started with Amazon DynamoDB” button, or the “Create an AWS Account” button.
  3. Fill in the required information for account creation.
  4. Choose the plan that best suits you and you are good to go.

After the above steps, you can sign in to the AWS console and then navigate to the DynamoDB console.

Local installation:



AWS (Amazon Web Service) provides a version of DynamoDB for local installations. Applications can be created in this type of setup without any web connection. It also significantly diminishes provisioned throughput, data storage, and transfer fees by allowing a local database.

Deployment of applications created on local installation can be done by making small changes to it for AWS use.

To set up DynamoDB locally follow the below steps:

java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb
AWS Access Key ID: "YourKeyId"
AWS Secret Access Key: "YourSecretAccessKey"
aws dynamodb list-tables --endpoint-url http://localhost:8000

Now your local installation is all set and you can start building your application.

Working Environment:

Programming languages like Ruby, Java, Python, C#, Erlang, PHP, and Perl are supported by DynamoDB. A JavaScript shell can also be used as a GUI console for DynamoDB.

At the deployment stage, you will need to make changes to your code. The changes depend on code language and a few other factors. The primary change consists of altering the endpoint from a local point to an AWS region. Other changes are based on a requirement-centric analysis of your application.

Difference between local and web-based setup:

The key difference between the local setup and web-based setup of DynamoDB are listed below:

Article Tags :