How do you configure Google Cloud load balancer back end to load a website hosted on a Windows Server VM?

How do you configure Google Cloud load balancer back end to load a website hosted on a Windows Server VM?

Can the startup script from the Setting up a simple external HTTPS load balancer (https://cloud.google.com/load-balancing/docs/https/ext-https-lb-simple) example be changed to open a web application hosted on a Google Cloud VM?

Thanks.


Solution 1:

You can configure the Load balancer on a Windows Guest Environment as stated here.

But the script on the guide you are referring to will not work for Windows as it is only for Debian OS. It is just a script for setting up the Apache service on the machine. As an alternative, you can check this link on how to configure Apache on windows.