Skip to content

Instantly share code, notes, and snippets.

@drnic
Created April 4, 2015 03:33
Show Gist options
  • Save drnic/f953407db9fcbb24a050 to your computer and use it in GitHub Desktop.
Save drnic/f953407db9fcbb24a050 to your computer and use it in GitHub Desktop.
---
name: micro-aws-redis
networks:
- name: default
type: manual
cloud_properties:
subnet: subnet-4e01852b
range: 10.10.1.0/24
reserved: [10.10.1.1-10.10.1.3]
static: [10.10.1.4]
resource_pools:
- name: default
network: default
cloud_properties:
instance_type: m3.medium
cloud_provider:
template:
name: cpi
release: bosh-aws-cpi
ssh_tunnel:
host: 10.10.1.4
port: 22
user: vcap
private_key: /home/ubuntu/.ssh/sw-bosh-us-west-2.pem
registry: &registry
username: admin
password: admin
port: 6901
host: localhost
mbus: https://admin:admin@10.10.1.4:6868
properties: # properties that are saved in registry by CPI for the agent
blobstore:
provider: local
path: /var/vcap/micro_bosh/data/cache
registry: *registry
ntp: ["0.amazon.pool.ntp.org", "time1.google.com"]
aws:
access_key_id: XXXX
secret_access_key: YYY
default_key_name: sw-bosh-us-west-2
default_security_groups: [bastion]
region: us-west-2
ec2_private_key: ~/.ssh/sw-bosh-us-west-2.pem
agent:
mbus: https://admin:admin@0.0.0.0:6868
jobs:
- name: redis
instances: 1
templates:
- name: redis
release: bosh
networks:
- name: default
static_ips:
- 10.10.1.4
properties:
properties:
redis:
address: "127.0.0.1"
password: "redis"
port: 25255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment