Using Your Own Load Balancer
Page last updated:
This guide describes how to use your own load balancer and forward traffic to your Elastic Runtime router IP address.
Pivotal Cloud Foundry (PCF) deploys with a single instance of HAProxy for use in lab and test environments. Production environments should use a highly-available customer-provided load balancing solution that does the following:
- Provides load balancing to each of the PCF Router IPs
- Supports SSL termination with wildcard DNS location
- Adds appropriate
x-forwarded-protoHTTP headers to incoming requests
- (Optional) Supports WebSockets
To integrate your own load balancer with PCF, you must ensure the following:
- WebSocket connections are not blocked for Loggregator functionality.
- The load balancer must be able to reach the Gorouter IP addresses.
Follow the instructions below to use your own load balancer.
Deploy a PCF Installation virtual machine. See the topic Deploying Operations Manager to vSphere for more information.
In your load balancer, register the IP addresses that you assigned to PCF.
Configure your Pivotal Operations Manager and Ops Manager Director as described in Installing Pivotal Cloud Foundry, then add Elastic Runtime.
Do not click Install after adding Elastic Runtime.
Complete the Networking configuration page in Elastic Runtime. Load balancer configuration in Elastic Runtime varies depending on which IaaS you are using for PCF. See the configuration procedure for your deployment IaaS– either AWS, Azure, GCP, OpenStack or vSphere.
Return to the Ops Manager Installation Dashboard