Created
July 20, 2012 03:23
-
-
Save BrianMMcClain/3148465 to your computer and use it in GitHub Desktop.
Cloud Foundry BOSH Manifest Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: cloudfoundry | |
director_uuid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx | |
release: | |
name: cloudfoundry | |
version: 86.1-dev | |
compilation: | |
workers: 4 | |
network: dynamic | |
cloud_properties: | |
ram: 2048 | |
disk: 8096 | |
cpu: 4 | |
update: | |
canaries: 1 | |
canary_watch_time: 3000-90000 | |
update_watch_time: 3000-90000 | |
max_in_flight: 2 | |
max_errors: 1 | |
networks: | |
- name: default | |
subnets: | |
- reserved: | |
- 192.168.0.2 - 192.168.0.49 | |
- 192.168.0.90 - 192.168.0.254 | |
static: | |
- 192.168.0.50 - 192.168.0.89 | |
range: 192.168.0.0/24 | |
gateway: 192.168.0.1 | |
dns: | |
- 192.168.0.2 | |
- 192.168.0.3 | |
cloud_properties: | |
name: Static VLAN | |
- name: lb | |
subnets: | |
- static: | |
- 192.168.0.90 - 192.168.0.98 | |
range: 192.168.0.0/24 | |
gateway: 192.168.0.1 | |
dns: | |
- 192.168.0.2 | |
- 192.168.0.3 | |
cloud_properties: | |
name: Static VLAN | |
- name: dynamic | |
subnets: | |
- reserved: 192.168.1.2 - 192.168.1.50 | |
range: 192.168.1.0/24 | |
gateway: 192.168.1.1 | |
dns: | |
- 192.168.0.2 | |
- 192.168.0.3 | |
cloud_properties: | |
name: Dynamic VLAN | |
resource_pools: | |
- name: infrastructure | |
network: dynamic | |
size: 29 | |
stemcell: | |
name: bosh-stemcell | |
version: 0.6.2 | |
cloud_properties: | |
ram: 4096 | |
disk: 8192 | |
cpu: 1 | |
env: | |
bosh: | |
password: c1oudc0w | |
# c1oudc0w - password generated using mkpasswd -m sha-512 | |
- name: deas | |
network: dynamic | |
size: 4 | |
stemcell: | |
name: bosh-stemcell | |
version: 0.6.2 | |
cloud_properties: | |
ram: 4096 | |
disk: 16384 | |
cpu: 4 | |
env: | |
bosh: | |
password: c1oudc0w | |
# c1oudc0w - password generated using mkpasswd -m sha-512 | |
jobs: | |
- name: debian_nfs_server | |
template: debian_nfs_server | |
instances: 1 | |
resource_pool: infrastructure | |
persistent_disk: 8192 | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.50 | |
- name: syslog_aggregator | |
template: syslog_aggregator | |
instances: 1 | |
resource_pool: infrastructure | |
persistent_disk: 600 | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.51 | |
- name: nats | |
template: nats | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.52 | |
- name: opentsdb | |
template: opentsdb | |
instances: 1 | |
resource_pool: infrastructure | |
persistent_disk: 16384 | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.53 | |
- name: collector | |
template: collector | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.54 | |
- name: dashboard | |
template: dashboard | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.55 | |
- name: ccdb | |
template: postgres | |
properties: | |
db: ccdb | |
instances: 1 | |
resource_pool: infrastructure | |
persistent_disk: 8192 | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.83 | |
- name: uaadb | |
template: postgres | |
instances: 1 | |
resource_pool: infrastructure | |
persistent_disk: 8192 | |
properties: | |
db: uaadb | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.57 | |
- name: vcap_redis | |
template: vcap_redis | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.58 | |
- name: uaa | |
template: uaa | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.59 | |
- name: cloud_controller | |
template: cloud_controller | |
instances: 2 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.60 | |
- 192.168.0.61 | |
- name: stager | |
template: stager | |
instances: 2 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.62 | |
- 192.168.0.63 | |
- name: routerv2 | |
template: router_next | |
instances: 2 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
default: [dns, gateway] | |
static_ips: | |
- 192.168.0.64 | |
- 192.168.0.65 | |
- name: lb | |
static_ips: | |
- 192.168.0.90 | |
- 192.168.0.91 | |
- name: health_manager | |
template: health_manager | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.66 | |
- name: dea | |
template: dea | |
instances: 4 | |
resource_pool: deas | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.67 | |
- 192.168.0.68 | |
- 192.168.0.69 | |
- 192.168.0.70 | |
- name: mysql_node | |
template: mysql_node | |
instances: 1 | |
resource_pool: infrastructure | |
persistent_disk: 800 | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.71 | |
- name: mysql_gateway | |
template: mysql_gateway | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.72 | |
- name: mongodb_node | |
template: mongodb_node | |
instances: 1 | |
resource_pool: infrastructure | |
persistent_disk: 600 | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.73 | |
- name: mongodb_gateway | |
template: mongodb_gateway | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.74 | |
- name: redis_node | |
template: redis_node | |
instances: 1 | |
resource_pool: infrastructure | |
persistent_disk: 600 | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.75 | |
- name: redis_gateway | |
template: redis_gateway | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.76 | |
- name: rabbit_node | |
template: rabbit_node | |
instances: 1 | |
resource_pool: infrastructure | |
persistent_disk: 4096 | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.77 | |
- name: rabbit_gateway | |
template: rabbit_gateway | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.78 | |
- name: postgresql_node | |
template: postgresql_node | |
instances: 1 | |
resource_pool: infrastructure | |
persistent_disk: 650 | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.79 | |
- name: postgresql_gateway | |
template: postgresql_gateway | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.80 | |
- name: backup_manager | |
template: backup_manager | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.81 | |
- name: service_utilities | |
template: service_utilities | |
instances: 1 | |
resource_pool: infrastructure | |
networks: | |
- name: default | |
static_ips: | |
- 192.168.0.82 | |
properties: | |
domain: cfbosh.local | |
env: {} | |
networks: | |
apps: default | |
management: default | |
nats: | |
user: nats | |
password: aaa3ij3122 | |
address: 192.168.0.52 | |
port: 4222 | |
uaadb: | |
address: 192.168.0.57 | |
port: 2544 | |
roles: | |
- tag: admin | |
name: uaaadmin | |
password: aaa39c8e3f34bc201351ba7a | |
databases: | |
- tag: uaa | |
name: uaa | |
ccdb: | |
user: ccadmin | |
password: aaaBauWauZZb2 | |
address: 192.168.0.83 | |
port: 5524 | |
pool_size: 10 | |
dbname: appcloud | |
roles: | |
- tag: admin | |
name: ccadmin | |
password: aaaBauWauZZb2 | |
databases: | |
- tag: cc | |
name: appcloud | |
cc: | |
srv_api_uri: http://api.cfbosh.local | |
password: aaauuLaap44jadlas2l312lk | |
token: aaaf4eaa8c1758f66d5cb7adcb24adb9d7 | |
use_nginx: true | |
new_stager_percent: 25 | |
new_stager_email_regexp: '.*@email.local' | |
staging_upload_user: aaafhgjg | |
staging_upload_password: AAAfdase9 | |
allow_registration: true | |
uaa: | |
enabled: true | |
resource_id: cloud_controller | |
client_secret: aaaNxRJcx6cpv | |
admins: | |
- [email protected] | |
vcap_redis: | |
address: 192.168.0.58 | |
port: 5454 | |
password: aaaxbL98RWpwBuUJvKNojnpIcRb1ot2 | |
maxmemory: 2000000000 # 2GB | |
router: | |
status: | |
port: 8080 | |
user: aaaUxXlS0pc71wVef | |
password: aaamaIf9vPV4mJyBe | |
dashboard: | |
users: | |
- [dash, admin] | |
dea: | |
max_memory: 4096 | |
nfs_server: | |
address: 192.168.0.50 | |
network: 192.168.0.0/24 | |
opentsdb: | |
address: 192.168.0.53 | |
port: 4242 | |
service_plans: | |
mysql: | |
free: | |
job_management: | |
high_water: 1400 | |
low_water: 100 | |
configuration: | |
allow_over_provisioning: true | |
capacity: 200 | |
max_db_size: 128 | |
max_long_query: 3 | |
max_long_tx: 0 | |
max_clients: 20 | |
postgresql: | |
free: | |
job_management: | |
high_water: 1400 | |
low_water: 100 | |
configuration: | |
capacity: 200 | |
max_db_size: 128 | |
max_long_query: 3 | |
max_long_tx: 30 | |
max_clients: 20 | |
mongodb: | |
free: | |
job_management: | |
high_water: 3000 | |
low_water: 100 | |
configuration: | |
allow_over_provisioning: true | |
capacity: 200 | |
quota_files: 4 | |
max_clients: 500 | |
redis: | |
free: | |
job_management: | |
high_water: 1400 | |
low_water: 100 | |
configuration: | |
capacity: 200 | |
max_memory: 16 | |
max_swap: 32 | |
max_clients: 500 | |
rabbit: | |
free: | |
job_management: | |
low_water: 100 | |
high_water: 1400 | |
configuration: | |
max_memory_factor: 0.5 | |
max_clients: 512 | |
capacity: 200 | |
mysql_gateway: | |
check_orphan_interval: 7200 | |
token: "0xfeedface" | |
mysql_node: | |
production: true | |
password: aaa13djkas | |
redis_gateway: | |
token: "0xfeedface" | |
check_orphan_interval: 7200 | |
redis_node: | |
command_rename_prefix: sample | |
mongodb_gateway: | |
check_orphan_interval: 7200 | |
token: "0xfeedface" | |
mongodb_node: | |
{} | |
rabbit_gateway: | |
token: AAA430A8BAED490B1240338DA34B10D | |
rabbit_node: | |
{} | |
postgresql_gateway: | |
check_orphan_interval: 7200 | |
token: aaaeAh4BXFBXwLrrWJCpQTfeDnaCn7m | |
postgresql_node: | |
production: true | |
syslog_aggregator: | |
address: 192.168.0.51 | |
port: 54321 | |
stager: | |
max_staging_duration: 120 | |
max_active_tasks: 20 | |
queues: | |
- staging | |
uaa: | |
db: | |
user: root | |
password: aaa39c8e3f34bc201351ba7a | |
address: 192.168.0.57 | |
port: 2544 | |
dbname: uaa | |
bootstrap: | |
username: [email protected] | |
# BCrypt::Password.create('foobar', :cost => 8) | |
password: c1oudc0w | |
given_name: UAA Administrator | |
family_name: UAA Administrator | |
email: [email protected] | |
cc: | |
token_secret: aaabxaiC371JM | |
client_secret: $2a$08$dahioBqSkqa1AbLvaqkLoe5W0aOPN3Ia9W0xkeB926G.AZJhq1SsK | |
admin: | |
client_secret: $2a$08$dahioBqSkqa1AbLvaqkLoe5W0aOPN3Ia9W0xkeB926G.AZJhq1SsK | |
batch: | |
username: do0H2AKay2jAc | |
password: FSCTiplI5Q83n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment