Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google Cloud compute routing subdomains

I am new to google cloud and I am trying to understand an existing setup, but I don't have access to the person who created it.

I have multiple compute engine VMs (Debian):

VM External IP
VM 1: development123
VM 2: test345
VM 3: Prod 1567
VM 3: Prod 2789

Other components available:
- I also have a backend setup that holds both production instances.
- One front end linked to the backend above with external IP 123
- There is also one external load balancer where only the front end and backend are linked and I can't find any rule linking the load balancer to the test and dev instances.
- There is no DNS zone or rules setup on the google cloud console.
- I have a wildcard SSL that is applied. I updated the SSL and the policy setup but it is currently only reflecting on the production and not the other environments

I am trying to understand the existing setup, mainly how the routing/forwarding can be done. My question is, I have 3 different subdomains:

- prod.domainName.com
- test.domainName.com
- dev.domainName.com

the A record for all 3 sub-domains points to IP 123 on GoDaddy, where can the routing be set up since the domain DNS seems to be pointing to the public IP of the front end, and as I said there is no DNS set up on the google cloud.

Appreciate any help or pointers, I have been going through the Google Cloud documentation and researching this for hours with no luck yet.

Thank you in advance!

1 2 795