Skip to content

Commit f94940c

Browse files
committed
Update logging text
1 parent 8e290bc commit f94940c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ EXPLORER_VERSION=""
4040
source activate JupyterSystemEnv
4141
source ~/.bashrc || exit
4242
43-
echo "Constructing explorer connection configuration..."
43+
echo "Constructing Graph Explorer connection configuration..."
4444
4545
GRAPH_NOTEBOOK_NAME=$(jq '.ResourceName' /opt/ml/metadata/resource-metadata.json --raw-output)
4646
echo "Grabbed notebook name: ${GRAPH_NOTEBOOK_NAME}"
@@ -76,11 +76,12 @@ echo "Neptune URI: ${NEPTUNE_URI}"
7676
echo "Neptune Service: ${SERVICE}"
7777
echo "Explorer region: ${AWS_REGION}"
7878
echo "Explorer IAM auth mode: ${IAM}"
79+
echo "Explorer version: ${EXPLORER_VERSION}"
7980
8081
ECR_TOKEN=$(curl -k https://public.ecr.aws/token/ | jq -r '.token')
8182
LATEST_ECR_RELEASE=$(curl -k -H "Authorization: Bearer $ECR_TOKEN" https://public.ecr.aws/v2/neptune/graph-explorer/tags/list | jq -r '.tags | sort_by(split(".") | try map(tonumber) catch [0,0,0])[-1]')
8283
83-
echo "Pulling and starting graph-explorer..."
84+
echo "Pulling and starting Graph Explorer Docker container..."
8485
if [[ ${EXPLORER_VERSION} == "" ]]; then
8586
EXPLORER_ECR_TAG=sagemaker-${LATEST_ECR_RELEASE}
8687
else
@@ -95,8 +96,10 @@ else
9596
EXPLORER_ECR_TAG=sagemaker-${LATEST_ECR_RELEASE}
9697
fi
9798
fi
98-
echo "Using explorer image tag: ${EXPLORER_ECR_TAG}"
99+
echo "Using Graph Explorer image tag: ${EXPLORER_ECR_TAG}"
99100
101+
# Start the Graph Explorer Docker container
102+
echo "Starting the Graph Explorer docker container..."
100103
docker run -d -p 9250:9250 \
101104
--restart always \
102105
--log-driver=awslogs \
@@ -115,7 +118,7 @@ docker run -d -p 9250:9250 \
115118
--env NEPTUNE_NOTEBOOK=true \
116119
public.ecr.aws/neptune/graph-explorer:${EXPLORER_ECR_TAG}
117120
118-
echo "Explorer installation done."
121+
echo "Graph Explorer installation done."
119122
120123
conda /home/ec2-user/anaconda3/bin/deactivate
121124
echo "done."

0 commit comments

Comments
 (0)