If I have 2 subnetworks, for my processes and for databases, how can I load balance the databases internally within the subnetwork such that any of the processes in network can access any of the database instances via single internal IP like

So would load balance lets say 3 virtual machines at, and

The IP addresses are given purely to demonstrate the point and I understand that they may look different when actually done.

Or is a better solution to have a completely separate virtual network for the database servers and connect both virtual networks together. If so what configuration would you recommend for this?

I want to avoid going out to the Internet only to come back in again to access the database from the processes. Speed is of essence and all machines are in the same region.

All machines are running Ubuntu 15.10 if that's of any help.


Your subnets are perfect the way they are. No change needed there. What you need is an internal load balancer sitting in from your database servers.

If you are using Azure Resource Manager, here are the steps to set this up?

If you are using the older/classic networks and virtual machines, then here are the steps to configure in that environment.

  • Thanks I'm trying it now, will accept once I've verified it all works Nov 13 '15 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.