I think with the App Engine Standard generation 2 runtimes you don't have to write to their sandbox anymore. It still has to be one of their supported languages though, instead of any arbitrary server.
https://cloud.google.com/blog/products/gcp/introducing-app-e...