0

It is certainly not possible in Google App Engine Standard environment but I have been told it is likely to be possible in Flexible environment.

Is this correct and if so how to do this?

If not, then what Google Cloud Platform solution except Compute Engine would fit my requirement to run an .exe?

Community
  • 1
  • 1

1 Answers1

0

App Engine Flexible uses VMs with Linux images as the host machine, which then run Docker containers, so I don't believe this is currently possible. Microsoft has been talking about Windows containers, but I believe they can only run on Windows hosts which App Engine Flexible does not currently support.

https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_server

The only way I can think of to run a Windows exe on App Engine flexible would be to figure out a way to run the Windows exe on Linux, which may be possible with something like WINE. Take a look at this question here:

https://superuser.com/questions/216629/can-i-run-a-windows-exe-file-on-linux

If I had to guess, this is likely what the person who told you this was possible had in mind.

In the Container Engine world, supporting Windows containers is a topic of discussion in Kubernetes, which may eventually end up in Container Engine, but as you can see all these ideas are still early development stages:

https://github.com/kubernetes/kubernetes/issues/22623

Community
  • 1
  • 1
Bill Prin
  • 2,498
  • 1
  • 20
  • 27
  • Thank you for interesting reply. Let's imagine I need to run not a PE but an ELF executable. Will I then be able to run it in Google App Engine Flexible? – user6705268 Aug 11 '16 at 15:18
  • Yes, you can write a Dockerfile to install whatever you want, using custom runtimes, perhaps extending from one of the official runtimes. Anything that's easy to run on a Linux machine will be easy to run on App Engine Flexible. I just wrote a blgo post demoing running ffmpeg: https://medium.com/google-cloud/scalable-video-transcoding-with-app-engine-flexible-621f6e7fdf56#.6l58p365k – Bill Prin Aug 11 '16 at 22:04