

Initializing DynamoDB Local with the following configuration:Īfter download, the Dynamodb file to your local OS, cd to the folder, and run the following then it should start DynamoDB on your local. If you see the following means your DynamoDB is able to run at your local with port 8000. You can use the following link as a reference to download JRE if you don't have it already.ĭownload JRE Start DynamoDB java =./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb To start Dynamodb locally you'll need at least JRE version 8. After unzipping the file, run the following command. Go to this link from AWS to download DynamoDB, the different region has different DynamoDB file, so choose the region you'll be using for DynamoDB.


#Java local dynamodb aws credentials how to#
Now, in this blog I'll show how to set up DynamoDB locally, also show a few simple codes to access local DynamoDB. Compare to MongoDB, depend on the MongoDB cloud provider it might be 500MB storage if you try to look for a free tier. up to 25 GB storage, 25 write capacity units, and 25 read capacity units are free. It's also available in multiple AWS regions and has built-in Cache DAX.Īnother good reason to use DynamoDB is the free tier provided by DynamoDB. AWS DynamoDB is a document database that provides single-digit millisecond performance, it is a serverless database, which means you can focus on use applications to access the DynamoDB and AWS will manage the server for you.
