0

Is there anyway to access neptune DB(Gremlin) using lambda functions?

I want to access neptune DB(gremlin) and I don't know how to access.

4

1 Answer 1

3

Yes you can access Amazon Neptune from Lambda. Let's say, as an example, you wanted to use Python, as part of the ZIP file that you upload to Lambda you would need to include the Gremlin Python libraries in the ZIP file. The Lambda documentation has some good examples of how to create that ZIP file. You also need to make sure that the Lambda function has access to the VPC that Neptune is running in.

Sign up to request clarification or add additional context in comments.

2 Comments

when I test my gremlin function(index.js), show this error message: Response: { "errorMessage": "Handler 'handler' missing on module 'index'" } Please let me know what am I missing
Your Lambda function needs to provide a handler method that Lambda can call. Have you seen the documentation at docs.aws.amazon.com/lambda/latest/dg/… ? Hopefully that will help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.