Skip to content

adamwshero/cf-template-aws-neptunedb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

License: MIT

AWS NeptuneDB

What this nested stack does

  • Creates a Neptune cluster inside of an existing VPC including a NeptuneDB instance that you can query the NeptuneDB Cluster with running Gremlin/Sparql (with the option of creating a read-only replica.)

  • Creates a security group for the NeptuneDB Instance that allows inbound traffic from the VPC and SSH from the VPC with open outbound.

  • Creates three subnets. Two for the DB cluster across multiple AZ's and one for the DB instance. The instance subnet is associated with the public route table so that it can download and install the gremlin client. The DB cluster is on a private subnet and does not have direct access to the internet as Neptune is designed as a VPC only service.

  • Creates two route tables, one public and one private. As mentioned before, this is done so that the DB instance can have internet access to download packages and also act as an endpoint for internal and external requests (if desired) to the DB Cluster.

  • Creates an S3 endpoint to facilitate bulk loading data into Neptune. More information can be found here.

  • Creates an EC2 instance with gremlin installed so that you can query the DB. (See Resources)

  • (Optional) Creates a read-only replica in another availability zone to support external queries and keep the cluster from getting busy with read requests.

Deploy

aws cloudformation create-stack -t main.yaml --s3-bucket myBucket --region myRegion

Update

aws cloudformation update-stack -t main.yaml

Destroy

aws cloudformation destroy-stack -t main.yaml

Resources

Owner

Adam Shero
cloudarmy.io@gmail.com

About

NeptuneDB with S3 and EC2 in an existing VPC.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published