Skip to content

AWS-South-Wales-User-Group/qldb-vpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Securely Access QLDB from a Private Subnet

This qldb-vpc demo is provided to demonstrate how to securely access QLDB from instances deployed in a private subnet in a customer VPC, with no internet access. All traffic that is routed from the AWS Lambda function to QLDB and back remains on the AWS network.

The basic architecture overview of the application is shown below:

Architecture Overview

Run the demo

The demo sets up a new VPC and two private subnets. You may need to change the CIDR range assigned to the VPC to prevent any clashes.

Use the following commands to run the demo.

npm ci
npm run sls -- deploy --stage {stage-name}

When successfully deployed, the POST endpoint will be returned.

curl -X POST -H "Content-Type: application/json" \
    -d '{"firstName": "Matt", "lastName": "Lewis"}' \
    <POST-Endpoint>

This will return the docId of the new inserted document.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published