Arb_Man_
Arb_Man_

Reputation: 1

Unable to Get JupyterLab Link

Google recommends using:

gcloud compute instances describe --project NAME --zone ZONE INSTANCE | grep googleusercontent.com | grep datalab

But when I run this, nothing shows up. I can access the JupyterLab through normal SSH tunnelling however. How should I fix this problem?

Upvotes: 0

Views: 321

Answers (2)

Puteri
Puteri

Reputation: 3789

This issue is because of the last grep. Your command should be like this:

gcloud compute instances describe --project NAME --zone ZONE INSTANCE | grep googleusercontent.com

Good luck!

Upvotes: 2

DazWilkin
DazWilkin

Reputation: 40296

The current datalab documentation appears to not ask this:

https://cloud.google.com/datalab/docs/quickstart

datalab create ${INSTANCE} --project=${PROJECT} --zone=${ZONE}
datalab connect ${INSTANCE} --project=${PROJECT} --zone=${ZONE}

As I suspect you're doing, you may also:

gcloud compute ssh ${INSTANCE} \
--project=${PROJECT} \
--zone=${ZONE} \
--ssh-flag="-L 8081:localhost:8080"

same-same.

Please reference the documentation that you're using in your question so that we may better help.

Upvotes: 1

Related Questions