They don&#x27;t have to if you use Basic or Manual Scaling (Then they can run up to 24 hours).<p><a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;appengine&#x2F;docs&#x2F;java&#x2F;modules&#x2F;#Java_Instance_scaling_and_class" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;appengine&#x2F;docs&#x2F;java&#x2F;modules&#x2F;#Java_I...</a><p>If you run multiple modules at once (some serving the frontend, some for longer tasks w&#x2F;task queues), you can have the best of both worlds and use different scaling options for each.<p>(I also work at Google, but also not on App Engine)