Setup BOSH Director
The BOSH director can be set up using bosh-deployment, as is officially documented here: https://bosh.io/docs/init.html.
There are some additions:
Please add these Options to your create-env call:
-o bosh-deployment/jumpbox-user.yml
-o bosh-deployment/local-dns.yml
The first ops file will enable you to ssh to the BOSH director. While this is already possible on IaaS providers like AWS, you would not be able to become root on the VM without it. The second ops file enables local-dns, which improves the behavior of BOSH links in dynamic networks.
Adding a Cloud Config
The Cloud config is relatively straightforward. If there is already a cloud config with the same IaaS underneath, you can base your cloud-config on this cloud config. If you write a new one, please make sure the following resources are defined:
avzs
z1
,z2
andz3
disk types
:small
,medium
andlarge
vm types
:small
,medium
,large
andxlarge
networks
public
(not necessary when only deploying Service framework)elastic
(not necessary when only deploying Service framework)static
(network for staticly assigned IPs)dynamic
(network for dynamically allocated IPs)
Hint: You do not need to make completely separated networks. If the network dynamic
is from the type manual
, then static
and dynamic
can have the same netmask with non-overlapping IP ranges.