I currently have a VM Instance (Linux Debian) within google cloud that has a functioning environment for my python project, and everything works when inputted: "python3 run.py" via SSH command line.
How can I automate the running of the instance > then the execution of that python file > then the stopping of the instance? I couldn't find very much when looking around