Query Neptune from AWS Lambda Using the Gremlin Traversal Language
In this lab, you'll practice configuring a Lambda function to query a Neptune database using the Gremlin traversal language. When you're finished, you'll have a working proof of concept that Lambda can communicate with Neptune.
Terms and conditions apply.
Lab info
Lab author
Challenge
Create a New Lambda Function
You'll create a new Lambda function.
Challenge
Modify the Lambda IAM Execution Role to Allow Querying a Neptune Database
You'll modify the Lambda execution role to work with a Neptune database.
Challenge
Configure the VPC of the Lambda Function
You'll configure the Lambda function to use same VPC that is being used by the Neptune database.
Challenge
Configure the Neptune Endpoint variables
You'll retrieve the You'll retrieve the Neptune writer endpoint, and configure the Lambda function to send queries to this endpoint.
Challenge
Test Sending Gremlin Queries
You'll create several basic Gremlin queries to test the connection to the Neptune database.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Working with AWS Lambda
- Familiar with Javascript
- Familiar with the Gremlin traversal language
- How to configure AWS Neptune