Continuously broadcast a route using NATS to the CF router.
Colocate the route-registrar
job template with any process that wants to have an HTTP hostname routed to it via the Cloud Foundry router.
To use this bosh release, first upload it to your bosh:
bosh target BOSH_HOST
git clone https://github.com/cloudfoundry-community/route-registrar-boshrelease.git
cd route-registrar-boshrelease
bosh upload release releases/route-registrar-1.yml
For bosh-lite, you can quickly create a deployment manifest & deploy a cluster:
templates/make_manifest warden
bosh -n deploy
For AWS EC2, create a single VM:
templates/make_manifest aws-ec2
bosh -n deploy
For AWS & Openstack, the default deployment assumes there is a default
security group. If you wish to use a different security group(s) then you can pass in additional configuration when running make_manifest
above.
Create a file my-networking.yml
:
---
networks:
- name: route-registrar1
type: dynamic
cloud_properties:
security_groups:
- route-registrar
Where - route-registrar
means you wish to use an existing security group called route-registrar
.
You now suffix this file path to the make_manifest
command:
templates/make_manifest openstack-nova my-networking.yml
bosh -n deploy