Creating load-balanced VMs in an organization

We will now use the Edge to create load-balanced VMs.

Getting ready

You will need a deployed organizational Edge with a suballocation of at least one IP.

Please also create an Organization Network that connects to the Edge device (if you have problems, have a look at the Giving your networks an Edge recipe in Chapter 1, Setting Up Networks).

Create a vApp with two VMs in it. You will need two VMs (Windows or Linux) with a web server installed (IIS or Apache). The VMs should have IPs from the Organization Network (pool or manual). Make sure your web server is prepared and tested for load balancing. Due to the limited space, I cannot go into details on how to configure IIS or Apache for load balancing. But ...

Get VMware vCloud Director Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.