Start VM > Execute Script > Stop VM

40 views
Skip to first unread message

Hugo Nicholls

unread,
Jun 21, 2022, 8:13:59 PMJun 21
to gce-discussion

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

Janet Stern

unread,
Jun 24, 2022, 5:08:49 PMJun 24
to gce-discussion
Reply all
Reply to author
Forward
0 new messages