Using Your Own Load Balancer
This guide describes how to use your own load balancer and forward traffic to your Pivotal Application Service (PAS) 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 IP addresses
- Supports SSL termination with wildcard DNS location
- Adds appropriate
x-forwarded-protoHTTP headers to incoming requests
- Sets an HTTP keepalive connection timeout greater than five seconds
- (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 BOSH Director as described in Installing Pivotal Cloud Foundry, then add PAS.
Do not click Install after adding PAS.
Complete the Networking configuration page in PAS. Load balancer configuration in PAS varies depending on which IaaS you are using for PCF. See the configuration procedure for your deployment IaaS:
Return to the Ops Manager Installation Dashboard