It happened that I am trying to use Google Cloud and saw @rachelRachel’s blog post asking someone to write a blog post for this. So I decide to write a blog post to organise what I have done. After struggling for a few days, I finally can launch jupyter notebook successfully in GCP. Everyone has $300 free credit with google account.
Thanks to very useful comments of @sebastian, this post mainly re-organise his threads, I didn’t write a single line of code myself.
how is google cloud coming along?
I also want to try.but I am unsure.
Is it worth the effort?
To set up AWS it took me quite a while and I am struggling to track the prices.Is google cloud okay to run the use case?
Hi Seema, I cannot provide a comparison between AWS. But to me, Google Cloud looks a bit cleaner than AWS and your got $300 credit. Unless you are using a lot of computing power, I think $300 should be ok.
For 200GB SSD, 1 K80 GPU, 32 GB RAM, you can run it for about half a month, so should be ok as long as you don’t keep it running for weeks.
Hey nok, I read and followed your blog post. In last step when I launch jupyter notebook, it gives ERR_CONNECTION_TIMED_OUT error.
I have tried different ports, changed IP ranges in firewall rules(tried both 0.0.0.0 and my public ip) but just couldn’t get it working. Any thoughts on what I could be doing wrong.
My recommendation is, use SSD, since it is cheap anyway, the real cost is GPU. In general I use a standard instance with 4CPU and 26GB RAM, since the cost is insignificant to GPU, it allows me to have 2 notebook running in parallel without running out of memory.
Also, you can change your configuration by just editing it because you fire up an instance.
Also, I use a Preemptible VM, which cost less than $0.2 for K80 GPU/hour, the downside is the instance is not always stable, they may shut down your instance whenever the resource is tight. But for just going through the notebook, it is totally fine. If you need to train more than few hours, using a normal instance is safer, or just make checkpoint