title: Keep running a python script on AWS EC2 even if CLI session is closed
body: <p>so I have a script running on (script is inside the instance) my AWS EC2 instance (Ubuntu), which should write some results of benchmarks into a txt file (also in the instance itself) every few hours...Now I have run the session with my terminal and ssh, but if I close my terminal or shut down my computer, the script obviously crashes.
  I have even tried: "nohup myscript.py &amp;", but without any success.</p>
  
  <p>Would really appreciate some help here</p>