-
Create an instance, with http/https allowed
-
Set external ip address to static
-
connect to your instance
gcloud compute ssh --project hazel-cipher-265321 --zone us-central1-a instance-1
- Git Clone
sudo apt-get install git
then
ssh-keygen -t rsa
git clone [email protected]:Frank-Xu-Huaze/MyEnv.git
or
git clone https://github.com/Frank-Xu-Huaze/MyEnv.git
- Make sure the env is complete
sudo apt-get install python3-venv
sudo apt-get install --reinstall build-essential
- Makefile
cd MyEnv
make setup
source ~/.env/bin/activate
make install
- Download data
gsutil cp gs://franksbucket/data1.pkl ~/ && gsutil cp gs://franksbucket/Model2.ipynb ~/
- Setup and Configure jupyter file
jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser &
- Open up the lab interface
https://<external static IP>:8888