confluentinc / aws-dynamodb-local

AWS DynamoDB Local

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker DynamoDB Local CI Tagging Release

Build for local AWS DynamoDB

AWS DynameDB

Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and supports both document and key-value store models. Its flexible data model, reliable performance, and automatic scaling of throughput capacity, makes it a great fit for mobile, web, gaming, ad tech, IoT, and many other applications.

Components

Kubernetes Deployment

kubectl apply -k deployment/

Or, to deploy via argocd:

kubectl apply -f argocd/application.yml
aws --endpoint-url=http://dynamodb.[namespace].svc dynamodb list-tables --region local

Docker Deployment

docker run -d -p 8000:8000 docker.io/saidsef/aws-dynamodb-local:latest

HowTo and Documentation

aws dynamodb create-table \
  --table-name TableName  \
  --attribute-definitions \
    AttributeName=id,AttributeType=S --key-schema \
    AttributeName=id,KeyType=HASH \
  --provisioned-throughput ReadCapacityUnits=2,WriteCapacityUnits=2 \
  --endpoint-url http://localhost:8000

In the SDK set the client to:

    region: 'localhost',
    endpoint: 'http://localhost:8000'

About

AWS DynamoDB Local

License:MIT License


Languages

Language:Dockerfile 100.0%