Skip to content

Instantly share code, notes, and snippets.

View drnic's full-sized avatar
🏆
Platinum Status Level

Dr Nic Williams drnic

🏆
Platinum Status Level
View GitHub Profile
---
jobs:
- name: job-bosh-create-release-upload
public: true
serial: true
plan:
- get: bosh-release
resource: git-bosh-release2
- task: create-release
config:
@drnic
drnic / blog-bosh-init.md
Last active August 29, 2015 14:19
New bosh-init can deploy anything to a single server

You can now deploy/scale/upgrade a single server using anyone of dozens of community BOSH releases WITHOUT needing BOSH server running.

At the time of writing there are 33 community releases at https://bosh.io/releases. Many are suitable candidates for deploying to a single server.

release

Why don't we need a running BOSH server? There is a new CLI coming soon called bosh-init - it can deploy a single server into any BOSH-supporting infrastructure (e.g. AWS, OpenStack, vSphere, vCloud...), install and run one or more BOSH releases' job templates.

bosh-init can do more than that - it will attach a persistent disk; it can resize the disk later; and it can even resize the entire server - change to any instance type over time.

---
name: concourse
resource_pools:
- name: default
network: default
cloud_properties:
instance_type: m3.large
---
name: concourse
director_uuid: <%= `bosh status --uuid` %>
releases:
- name: concourse
version: latest
- name: garden-linux
version: latest
@drnic
drnic / manifest.yml
Last active August 29, 2015 14:19
concourse tutorial example stub for redis deployment to bosh-lite
compilation:
cloud_properties:
name: random
network: redis1
reuse_compilation_vms: true
workers: 6
director_uuid: 7acfe0e0-e876-4d90-ba3f-7b552a20461e
jobs:
- instances: 1
name: redis_leader_z1
@drnic
drnic / manifest.yml
Last active January 8, 2017 20:05
bosh manifest for redis to bosh-lite
compilation:
cloud_properties:
name: random
network: redis1
reuse_compilation_vms: true
workers: 6
director_uuid: 7acfe0e0-e876-4d90-ba3f-7b552a20461e
jobs:
- instances: 1
name: redis_leader_z1
@drnic
drnic / Dockerfile
Last active August 29, 2015 14:19
bosh-init for aws
FROM progrium/busybox
ADD bosh-init /bin/bosh-init
@drnic
drnic / stub.yml
Last active January 8, 2017 19:39
spiff merge stub for redis deployment to aws ec2
---
meta:
environment: NAME
service_name: NAME
security_groups:
- default
job_templates:
- name: redis
release: redis
stemcell:
@drnic
drnic / manifest.yml
Last active November 29, 2017 10:19
BOSH deployment manifest - AWS
name: redis
director_uuid: 2ce88742-5da6-406e-93da-8d4fa9b8fa27
releases:
- name: redis
version: latest
compilation:
workers: 6
network: redis1
reuse_compilation_vms: true
cloud_properties:
jobs:
- name: job-traveling-cf-admin
plan:
- get: traveling-cf-admin
- task: build-traveling-cf-admin
file: traveling-cf-admin/ci/build.yml
- put: github-release
resources:
- name: repo-traveling-cf-admin