DynamoDB local

0

Hello,
I work on a project that has the aim to store data in a local DB, preferably a NoSql DB. After several searches, I selected the Amazon Dynamo DB. Is it possible to use it locally for an unlimited period of time and not just use it to develop and test my applications?
What is the maximum size of DB? Is it free or is it paid?
Thanks you,
Best regards
Federica

asked 3 years ago412 views
4 Answers
0

Hello!!
I have installed and configured DynamoDB locally. Now I want to save on dynamoDB the data that I read from another device through AWS SItewise. The acquired data is saved as stream manager, so json format. I want to insert these JSON documents on DB every time I read the new data and I want to do it through a Lambda function. What commands should you use? Is it possible to use the Lambda function also to create tables and to query the DB?
I await your response.
Thank you,
Federica

answered 3 years ago
0

Hi Federica,

Yes, you can use DynamoDB for an unlimited amount of time without using the DynamoDB table to test and develop your applications.

DynamoDB has a free tier which includes 25 GB of storage, 25 provisioned write capacity units (WCU), and 25 provisioned read capacity units (RCU). Data transfer is also free within the same region. You can use these resources for free for as long as 12 months. [1]

Additionally, there is no practical limit on a table's size in DynamoDB. Tables are unconstrained in terms of the number of items or the number of bytes however the maximum item size in DynamoDB is 400 KB. [2]

I hope I was able to answer question and that the information provided was helpful.

Resources
[1] https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=**all&awsf.Free%20Tier%20Categories=**all
[2] https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html#limits-tables

AWS
answered 3 years ago
0

Hi Monica,
Thank you for your answer. Is there a guide to follow to develop the tables locally? Are the tables built using the AWS Lambda function?
Thank you,
best regards

answered 3 years ago
0

You can use any of the CLI commands like normal:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/getting-started-step-1.html

While specifying an endpoint URL:
aws dynamodb create-table \
--table-name UnifiedTable \
--attribute-definitions AttributeName=pk,AttributeType=S AttributeName=sk,AttributeType=S \
--key-schema AttributeName=pk,KeyType=HASH AttributeName=sk,KeyType=RANGE \
--provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5 \
--endpoint-url http://localhost:8000

One of my biggest recommendations though would be to use NoSQL Workbench:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/workbench.html

You can use it to model DynamoDB Tables, and then deploy it to a locally running DynamoDB instance or a deployed remote instance on your AWS account.

Best,
Justin

Edited by: justinlAWS on Aug 30, 2021 11:58 AM

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions