*.domain.com
For SSL, could SAN or NOT :
*.domain.com
*.apps.domain.com
*.system.domain.com
*.uaa.system.domain.com
*.login.system.domain.com
3 internal network /24
- 1 for Elastic runtime
- 1 for Service Network for PCF
- 1 for Other bosh deployment
Port
- 80(LB) ==> 80(floating ip)
- 443(LB) ==> 80(floating ip)
Reservce 2 floating ip for 2 PCF router (HA / no downtime deployment)
Healthcheck:
- type http
- service port 8080
- endpoint "GET /health"
- interval 5sec threshold 16sec
LB method
- Least connexion
You need headers:
- X-Forwarded-For
- X-Forwarded-Proto
You can create iRules if needed
iRules Name: cf-xforward-for
Definition: when HTTP_REQUEST { HTTP::header insert X-Forwarded-For [IP::remote_addr] }
iRule Name: cf-xforward-proto-https
Definition: when HTTP_REQUEST { HTTP::header insert X-Forwarded-Proto "https" }
iRule Name: cf-xforward-proto-http
Definition: `when HTTP_REQUEST { HTTP::header insert X-Forwarded-Proto "http" }``