This repo contains the source for the BOSH deployment manifest and deployment pipeline for the 18F BOSH deployments.
For your first installation of BOSH, you will want to use bosh-init.
- Install
spiff
- Copy the secrets example to secrets file:
cp bosh-init-secrets.example.yml bosh-init-secrets.yml
- Change all the variables in CAPS in
bosh-init-secrets.yml
to proper values - Run
./bootstrap.sh
You can now deploy with this BOSH, including other BOSH instances.
- Install
spiff
- Copy the secrets example to secrets file:
cp secrets.example.yml secrets.yml
- Change all the variables in CAPS in
secrets.yml
to proper values - Run
./generate.sh
Wherever you have your bosh installation run:
bosh deployment manifest.yml
bosh deploy
You will need to create root-signed certificates because of the SSL validation of bosh-cli v2.
Use the generate-master-bosh-certs.sh
script to generate the root certificate
used for signing other certificates and the master director certificate and key.
Because of the SSL validation, we also use the certificate and the key in the
deployment for bosh-init
in order to avoid bosh creating it's own certificate
and key.
Use the generate-bosh-certs.sh
script to generate other director certificate
and key pairs.
Update the deployment manifests with the values generated from the two scripts.
In order to run these scripts you must have openssl and certstrap installed.