This is just amazing dude! Tried it yesterday, and it works like a charm. By far the easiest, cheapest and most convenient option (especially for switching between CPU & GPU). Thanks a lot for doing this.
Can we use the same commands from the terminal on our local machine (laptop/desktop) to start/stop a GCP instance without visiting the Google Cloud Console website? Assuming I already have the gcloud tool installed, of course.
This is something I built for myself. I wanted to get started quickly with minimum effort
That’s why I use the google cloud shell.
Here I’ve opened all the ports and I just need to visit ip:8888 to access notebooks. No need to tunnel.
(I know it’s not that secure, but that’s not an issue here)
I used a script to install all the deps and goodies. Basically I was not sure how often the official image is going to updated. (Didn’t know fastai behind that)
Also this flow encourage to keep the disk after even after terminating the box and use a different types of instances as needed.
(It’s just a set of commands, but here we’ve a defined flow)
Also it’ll be easier to get help if you use the official one since that’s what everyone else is using.
TRUE. If we build something really well and reduce chances user could get errors, there’s no need for much support.
Anyway, I’m just sharing what I use.
It’s up to others to use it or leave it
arunoda, your blog post mentions being charged $8/month for the SSD boot disk. Is this required? And if I do want to cancel it at some point, how would I do that? Thanks!
I am getting "
ERROR: (gcloud.beta.compute.instances.create) Could not fetch resource:
The zone ‘projects/central-alcove-192811/zones/us-west1-b’ does not have enough resources available to fulfill the request. Try a different zo
ne, or try again later."
Amazing , great job.
I’ve a question is there any way to configure this one so that instead of using jupyter notebook we can use jupyterlab.
I also see that this step curl https://raw.githubusercontent.com/arunoda/create-fastai-node/master/setup-gce.sh | bash
takes some time . So is it possible to skip this step and still get our jupyterlab and storage space so that we can install our packages over there in notebook and proceed with our kaggle work .
The script is updated with jupyterlab now.
This script installs the jupyter at the end. So, need to wait for that.
This is a one time setup.
With jeremy’s guidance, I’m now working with update to this workflow using the official image for GCP.
So, with that the initializing time will be way shorter.