how to run my python code on google cloud without fear of getting disconnected - an absolute beginner?

datascience.stackexchange https://datascience.stackexchange.com/questions/55186

  •  02-11-2019
  •  | 
  •  

Question

I have been trying to use python 3 for text mining on a 650 MB csv file, which my computer was not powerful enough to do. My second solution was to reach out to google cloud. I have set up my VMs and my jupyter notebook on google cloud, and it works perfectly well. The problem, however, is that I am in constant fear of getting disconnected. As a matter of fact, my connection with google server was lost a couple of time and so was my whole work.

My question: Is there a way to have the cloud run my code without fear of getting disconnected? I need to be able to have access to my csv file and also the output file.

I know there is more than one way and have read a lot of material but they are too technical for a beginner like me to understand.

UPDATE: here is how I get access to my jupyter notebook on google cloud: 1- I run my instance on google cloud 2-I click on SSH 3- in the window that appears, I type the following:

jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser &

I have seen people recommend to add nohup to the beginning of the same commend. I have tried it and got this message:

nohup: ignoring input and appending output to 'nohup.out'

And nothing happens.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with datascience.stackexchange
scroll top