|
2 | 2 |
|
3 | 3 | sudo -u ec2-user -i <<'EOF'
|
4 | 4 |
|
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 |
6 | 17 | 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. |
8 | 27 | echo "export GRAPH_NOTEBOOK_PORT=8182" >> ~/.bashrc
|
9 |
| -echo "export AWS_REGION=us-west-2" >> ~/.bashrc # modify region if needed |
10 | 28 |
|
| 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 |
11 | 38 | EXPLORER_VERSION=""
|
12 | 39 |
|
13 | 40 | source activate JupyterSystemEnv
|
|
0 commit comments