-
Create an environment and target the BOSH director with
eval "$(bbl print-env)"
-
bbl plan --lb-type cf --lb-cert <PATH_TO_CERT_FILE> --lb-key <PATH_TO_KEY_FILE> && bbl up
. You can use existing certificate and key files, or generate new ones. See below for instructions on generating these files for Microsoft Azure. -
bosh deploy cf-deployment.yml -o operations/<MY IaaS>
using the CF deployment manifest!
To create Cloud Foundry load balancers for Microsoft Azure you must provide a certificate
in the .pfx
format:
openssl genrsa -out DOMAIN_NAME.key 2048
openssl req -new -x509 -days 365 -key DOMAIN_NAME.key -out DOMAIN_NAME.crt
openssl pkcs12 -export -out PFX_FILE -inkey DOMAIN_NAME.key -in DOMAIN_NAME.crt
Save the password you entered when prompted by openssl
to a file.
echo SuperSecretPassword > PFX_FILE_PASSWORD
To bbl plan
or bbl up
you can provide the .pfx
file and password:
bbl plan --lb-type cf --lb-cert PFX_FILE --lb-key PFX_FILE_PASSWORD