Skip to content

Latest commit

 

History

History

neptune-with-vpc

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Neptune Cluster with a VPC


Stability: Stable

This is a stable example. It should successfully build out of the box

This examples is built only on the CDK core library, and does not have any infrastructure prerequisites to build.


  • Creates a VPC, with two subnets, to run the Neptune Cluster in.
  • Creates a Neptune Cluster inside the Isolated Subnets.
  • Exports the endpoints for connecting to the cluster.

Build

To build this example, you need to be in this example's root directory. Then run the following:

npm install -g aws-cdk
npm install
cdk synth

This will install the necessary CDK, then this example's dependencies, and then build the CloudFormation template. The resulting CloudFormation template will be in the cdk.out directory.

Deploy

Run cdk deploy. This will deploy / redeploy your Stack to your AWS Account.

After the deployment you will see the API's URL, which represents the url you can then use.