Is there a Google cloud platform service that would forward the same requests to 2 or more VM compute instances or instance groups? As an example, 5 VMs behind 1 external IP address where all VMs would receive the same message
I tried to configure a load balancer with the same rule to forward messages to two different backends, but the console throws an error Invalid for field ‘resource’: “. Conflicting services for the same path pattern.
.
I also tried to look into VPC (Virtual Private Cloud) Routes but I couldn't figure out how to configure it properly or the GC console is missing some features.
Should I look into VPN gateway? Is this scenario support by Google cloud platform?
By the way, I currently have a working solution where 1 dedicated compute instance receives all the requests then pushes the content to Google Pub/Sub then a group of instances would subscribe to Pub/Sub topic to receive those messages. I can also set up a dedicated VM that forwards the messages through internal IPs.
The general idea is that I'm trying to avoid custom solutions if possible.