AWS Lambda to MemoryDB

API Gateway → AWS Lambda → MemoryDB

Create Lambda Functions to interact with MemoryDB.

This sample shows how to build a durable, in-memory, cluster-enabled database service and integrate it with AWS Lambda. Lambda functions use REST API calls to access the data and configuration from the MemoryDB.
This pattern deploys 2 Lambda Functions, one MemoryDB cluster and one API gateway public endpoint.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd apigw-lambda-memorydb/template.yaml

Deploy

sam deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete --stack-name STACK_NAME.

Created by:

Mansi Doshi

Mansi Doshi

Mansi is a Cloud Consultant at Amazon Web Services based in India.

Follow on LinkedIn