Skip to content

Commit 8e290bc

Browse files
committed
Add instruction comments to script
1 parent d813a8e commit 8e290bc

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

additionaldocs/sagemaker/install-graph-explorer-lc.sh

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,39 @@
22

33
sudo -u ec2-user -i <<'EOF'
44
5-
echo "export GRAPH_NOTEBOOK_AUTH_MODE=DEFAULT" >> ~/.bashrc # set to IAM instead of DEFAULT if cluster is IAM enabled
5+
# Custom configuration for the graph notebook instance
6+
#
7+
# These values must be configured to match your Notebook setup
8+
9+
# The authentication mode for your Neptune cluster.
10+
#
11+
# Options include:
12+
# - `DEFAULT` - cluster does not have IAM enabled
13+
# - `IAM` - cluster is IAM enabled
14+
echo "export GRAPH_NOTEBOOK_AUTH_MODE=DEFAULT" >> ~/.bashrc
15+
16+
# Set the host name of the your Neptune cluster endpoint
617
echo "export GRAPH_NOTEBOOK_HOST=CHANGE-ME" >> ~/.bashrc
7-
echo "export GRAPH_NOTEBOOK_SERVICE=neptune-db" >> ~/.bashrc # set to `neptune-db` for Neptune database or `neptune-graph` for Neptune Analytics
18+
19+
# The database service the notebook will be connecting to.
20+
#
21+
# Options include:
22+
# - `neptune-db` - Neptune database
23+
# - `neptune-graph` - Neptune Analytics
24+
echo "export GRAPH_NOTEBOOK_SERVICE=neptune-db" >> ~/.bashrc
25+
26+
# The port for the Notebook instance. This value should not change.
827
echo "export GRAPH_NOTEBOOK_PORT=8182" >> ~/.bashrc
9-
echo "export AWS_REGION=us-west-2" >> ~/.bashrc # modify region if needed
1028
29+
# The AWS region for your Neptune Notebook. Modify if needed
30+
echo "export AWS_REGION=us-west-2" >> ~/.bashrc
31+
32+
# The Graph Explorer version to use
33+
#
34+
# Options include:
35+
# - Empty or no value - Will use the latest stable release
36+
# - Specific version - uses the version specified if found (i.e. `1.8.0`)
37+
# - `latest` - uses the most recent development build
1138
EXPLORER_VERSION=""
1239
1340
source activate JupyterSystemEnv

0 commit comments

Comments
 (0)