Best Minimal Setup to Simulate Load Balancing in Test Environment

InfraSolutions 691 Reputation points
2025-04-15T11:17:27.9366667+00:00

In our production environment, we have a load balancer in place distributing traffic across multiple backend servers, each serving distinct roles.

In non-production, we currently have only one server per role (two servers total), each handling a different function. We’re considering introducing a load balancer in this environment to better simulate production behavior for testing and troubleshooting purposes.

Given the limited scale and budget, what would be the minimum recommended setup to effectively validate load balancing configuration and behavior in this kind of scenario? Would a Basic SKU load balancer with one instance per backend role be sufficient, or are there other considerations we should keep in mind?

Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
497 questions
{count} votes

Accepted answer
  1. Andreas Baumgarten 120.6K Reputation points MVP
    2025-04-15T11:43:49.6633333+00:00

    Hi @InfraSolutions ,

    to successfully test every feature of an Azure Load Balancer in my opinion you need at least 2 backend instances (could be the smallest VM SKU that your backend role requires). This way it's possible to test the "automated failover" if one backend device is going down and also this offers to verify the the workload is properly balanced between both backend devices.

    If you don't need the backend VMs it's possible to stop the VMs to reduce costs. You will be charged for the disk resources only, if the Azure VMs are all deallocated. For testing based on the required tests you can start one or both VMs.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.