Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Issue with instance sleep

Hello,

I'm currently working on a project for a non-profit organization (Link to the organization).

I've developed a Telegram bot and deployed it on a micro instance on GCP. I've set up a virtual environment on this instance and successfully launched my bot, which operates correctly.

However, I'm encountering an issue: whenever I disconnect from the instance (either via SSH or Google Cloud Shell), my bot goes to sleep and stops functioning. Upon reconnecting to the instance, it appears as if nothing was ever launched.

I'd appreciate any assistance or guidance on where to look for a solution. Thank you in advance for your help.

Best regards, Denis.

 

Solved Solved
1 1 459
1 ACCEPTED SOLUTION

Hi @sln-dns,

Welcome to the Google Cloud Community!

You may refer to these Stack Overflow threads that have a similar issue to yours.

I hope this helps. Thank you. 😃

View solution in original post

1 REPLY 1

Hi @sln-dns,

Welcome to the Google Cloud Community!

You may refer to these Stack Overflow threads that have a similar issue to yours.

I hope this helps. Thank you. 😃