Connect to Neptune DB with SageMaker

738 Views Asked by At

I was able to test out my connection successfully to my Neptune DB from within Neptune Notebooks and was able to perform bulk load and query with no issues but when trying to connect to SageMaker studio then I get connection error. I tried using the recommended way using gremlin-python library.

Is there anything else I need to do? Do I need to create a separate endpoint just for SageMaker? Do I need another set of permissions ?

1

There are 1 best solutions below

2
On

The graph-notebook project today supports Jupyter and Jupyter Labs. These can be self hosted or hosted on Amazon SageMaker. Currently SageMaker Studio is not supported as there is extra work needed to get the magics and widgets working in that environment. This is an item that is on the graph-notebook todo list.

You should be able to use Gremlin Python from a regular SageMaker Studio notebook but you will need to follow the guidance for how to work when the event loop is already running. Please see this question for more information on that