I have configure my VM in such a way that I have 2 application running on one VM. First App listen on ip:80 port Second App listen on ip:8080 port
I have enabled p
I had similar problem and I had to add second backend. So I have two backends: one for 80 port, other for 8080. And I have on managed group.
If you want to use IP addresses but not URLs/Domain(s) to reach to your web applications, then URL Maps
cannot help to implement your design, as URL map forwards the request to the correct backend service using host values (example.com)
and path values (/path)
in the destination URL.
That being said, you can add one more Target Proxy
to your LB resources to route incoming requests directly to the desired backend services. This will allow you to keep your minimum number of instances as one VM.
For more information, visit this article.