Server auto restart after a while

The server is not up all the time. After around hours not opening the server URL, the server is shut down. I checked the logs and saw the server started again after I opened the URL again after hours. Is there a way to keep it on all the time? Since my frontend server would not pop up anything unless this server successfully starts again.

Hi,

Sounds like you’re on the free instance type. The instance types will spin down after 15 minutes of activity and spin back up when the next web request is made to them (which will have a delay).

This is covered in the docs: Free Instance Types

Alan