How to Run a Simple Python Script non-stop 24/7

I have a simple python bot that I want to run non-stop 24/7. I haven't been able to figure out which GCP product would be best for this and how exactly I could set it up to work in this way. Any help or a detailed explanation would be greatly appreciated. 

0 1 2,755
1 REPLY 1

In order to run you Python application 24/7 I'd say you should go with GCE Virtual Machine. Stick with Debian 11, install the right Python version and packages on it and deploy your application. Done.

There are other products like GKE or GKE autopilot that'll do the same thing but that requires a bit more knowledge... Docker, K8s etc.

I'd stick with the basics, GCE VMs.

Top Labels in this Space