Skip to content

Instantly share code, notes, and snippets.

@drnic
Last active August 29, 2015 14:18
Show Gist options
  • Save drnic/f30882ed254d3e50a6c6 to your computer and use it in GitHub Desktop.
Save drnic/f30882ed254d3e50a6c6 to your computer and use it in GitHub Desktop.
---
name: redis-from-scratch
resource_pools:
- name: default
network: default
cloud_properties:
instance_type: m3.medium
jobs:
- name: redis
instances: 1
templates:
- {name: redis, release: redis}
networks:
- name: vip
static_ips: [54.174.112.47]
- name: default
properties:
redis:
address: "127.0.0.1"
password: "redis"
port: 25255
networks:
- name: default
type: manual
ip: 10.10.0.4
netmask: 255.255.255.0
cloud_properties: {subnet: subnet-37086b40}
- name: vip
type: vip
cloud_provider:
template: {name: cpi, release: bosh-aws-cpi}
ssh_tunnel:
host: 54.174.112.47
port: 22
user: vcap
private_key: /Users/drnic/.ssh/sw-bosh-us-east-1.pem
registry: &registry
username: admin
password: admin
port: 6901
host: localhost
# Tells bosh-micro how to contact remote agent
mbus: https://nats:[email protected]:6868
properties:
aws:
access_key_id: XXX
secret_access_key: YYY
default_key_name: sw-bosh-us-east-1
default_security_groups: [redis-micro-default-vpc]
region: us-east-1
# Tells CPI how agent should listen for requests
agent: {mbus: "https://nats:[email protected]:6868"}
registry: *registry
blobstore:
provider: local
path: /var/vcap/micro_bosh/data/cache
ntp: [0.north-america.pool.ntp.org]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment