3

We have 2 servers hosting a particular service on google cloud. How to do a simple round-robin DNS configuration to distribute the load?

Igor Artamonov
  • 35,450
  • 10
  • 82
  • 113
nishant pathak
  • 342
  • 1
  • 4
  • 17

2 Answers2

3

You can set up DNS round robin with Cloud DNS simply by adding more than one IP address to your DNS record.

You might want to look into Google Compute Engine's Load Balancing options. This will allow you to have one IP address that sends traffic to your two servers. This has a few advantages, including that you can configure it to automatically stop sending traffic to an instance if it fails a health check.

David
  • 9,288
  • 1
  • 20
  • 52
  • 1
    was trying to find out is there a way to get 2 nodes bare 50% load just by adding some configurations (without spending any penny on it) – nishant pathak Sep 17 '15 at 15:53
2

According to this thread Google Cloud DNS does not support round-robin.