nishant pathak
nishant pathak

Reputation: 359

DNS configuration to distribute traffic to multiple host on google cloud

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

Upvotes: 3

Views: 5502

Answers (2)

Tomasz Klosinski
Tomasz Klosinski

Reputation: 156

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

Upvotes: 2

David
David

Reputation: 9731

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.

Upvotes: 3

Related Questions