Skip to content

Instantly share code, notes, and snippets.

---
# bosh create-env empty-six.yml
name: empty
releases:
- name: bosh-vsphere-cpi
url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release?v=29
sha1: 1d56af20bbba21b9f79373b967b08caab1678161
resource_pools:
@cunnie
cunnie / f1-micro-vs-g1-small.txt
Created August 31, 2016 22:13
g1-small is 2x faster than f1-micro
Compiling package 's3cli/1c5a91f02feff8a0e3a506ac51c4a3140e86f049'... Finished (00:00:04)
Compiling package 'ruby/589d4b05b422ac6c92ee7094fc2a402db1f2d731'... Finished (00:08:39)
Compiling package 'mysql/b7e73acc0bfe05f1c6cbfd97bf92d39b0d3155d5'... Finished (00:02:11)
Compiling package 'libpq/09c8f60b87c9bd41b37b0f62159c9d77163f52b8'... Finished (00:01:18)
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:03:05)
Compiling package 'powerdns/256336d00b1689138490c385c03ad3a8f54b4a9e'... Finished (00:00:10)
Compiling package 'director/0f1b09ec6bb28ea13d2e919e71dd7ccd8ab49313'... Finished (00:06:14)
Compiling package 'nats/0155cf6be0305c9f98ba2e9e2503cd72da7c05c3'... Finished (00:01:04)
Compiling package 'registry/3aa0993cb8739fd4f5c6fc1e0da8e1cfdf6df247'... Finished (00:06:20)
Compiling package 'bosh-google-cpi/22b47cafcd455cb8f94e164e2049a4976f4dce1c'... Finished (00:02:48)
@cunnie
cunnie / evanbrown.txt
Created August 10, 2016 21:57
`bosh` deployment output for Evan Brown to troubleshoot
bosh create-env evanbrown.yml -l <(lpass show --note deployments)
Deployment manifest: '/Users/cunnie/workspace/deployments/evanbrown.yml'
Deployment state: '/Users/cunnie/workspace/deployments/evanbrown-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:01)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
@cunnie
cunnie / deploy.txt
Created August 10, 2016 04:09
8 BOSH GCE Deploys
while ! bosh create-env bosh-gce.yml -l <(lpass show --note deployments); do sleep 30; done
Deployment manifest: '/Users/cunnie/workspace/deployments/bosh-gce.yml'
Deployment state: '/Users/cunnie/workspace/deployments/bosh-gce-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:00)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
2015-10-30 03:19:50 ☆ ruby 2.2.3p173 tara in ~/workspace/deployments
± bc |master U:2 ✗| → bosh-init deploy concourse-aws.yml
Deployment manifest: '/Users/cunnie/workspace/deployments/concourse-aws.yml'
Deployment state: '/Users/cunnie/workspace/deployments/concourse-aws-state.json'
Started validating
Downloading release 'concourse'... Skipped [Found in local cache] (00:00:00)
Validating release 'concourse'... Finished (00:00:01)
Downloading release 'bosh-aws-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-aws-cpi'... Finished (00:00:00)
jobs:
job hello-world has been added:
name: hello-world
plan:
- task: say-hello
config:
platform: linux
tags:
- micro
image: docker:///ubuntu
@cunnie
cunnie / output.txt
Created October 24, 2015 19:43
output of `bosh-init deploy concourse-aws.yml
Deployment manifest: '/Users/cunnie/workspace/deployments/concourse-aws.yml'
Deployment state: '/Users/cunnie/workspace/deployments/concourse-aws-state.json'
Started validating
Downloading release 'concourse'... Skipped [Found in local cache] (00:00:00)
Validating release 'concourse'... Finished (00:00:01)
Downloading release 'bosh-aws-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-aws-cpi'... Finished (00:00:00)
Downloading release 'nginx'... Skipped [Found in local cache] (00:00:00)
Validating release 'nginx'... Finished (00:00:00)
Started deploying
Waiting for the agent on VM 'i-b5652361'... Finished (00:00:00)
Stopping jobs on instance 'unknown/0'... Finished (00:00:00)
Deleting VM 'i-b5652361'... Finished (00:00:40)
Creating VM for instance 'nginx_ntp_xip/0' from stemcell 'ami-cfb7fdaa light'... Finished (00:00:48)
Waiting for the agent on VM 'i-5d7e3889' to be ready... Finished (00:01:27)
Rendering job templates... Finished (00:00:01)
Compiling package 'pdns-3.4.6/daa1d3f85eca4b9333885512e68339c32e61232e'... Finished (00:07:10)
Compiling package 'nginx/b0c04179aa4702b24cca2456be3b8605e15bfb82'... Failed (00:00:51)
Failed deploying (00:11:07)
Command 'deploy' failed:
Deploying:
Building state for instance 'nginx_ntp_xip/0':
Compiling job package dependencies for instance 'nginx_ntp_xip/0':
Compiling job package dependencies:
Remotely compiling package 'nginx' with the agent:
Sending 'compile_package' to the agent:
Sending 'get_task' to the agent:
Agent responded with error: Action Failed get_task: Task 36c9459e-8a33-40e5-56c8-b3014807bec7 result: Compiling package nginx: Running packaging script: Command exited with 1; Truncated stdout: nginx-1.4.5/src/http/modules/perl/Makefile.PL
nginx-1.4.5/src/http/modules/perl/nginx.pm
@cunnie
cunnie / ca-bundle.pem
Last active September 8, 2015 12:34
*.sslip.io SSL key, certificate, and CA chain (ca-bundle)
-----BEGIN CERTIFICATE-----
MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUim7bo3yMBzANBgkqhkiG9w0BAQwFADCB
hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNV
BAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQwMjEy
MDAwMDAwWhcNMjkwMjExMjM1OTU5WjCBkDELMAkGA1UEBhMCR0IxGzAZBgNVBAgT
EkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMR
Q09NT0RPIENBIExpbWl0ZWQxNjA0BgNVBAMTLUNPTU9ETyBSU0EgRG9tYWluIFZh
bGlkYXRpb24gU2VjdXJlIFNlcnZlciBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAI7CAhnhoFmk6zg1jSz9AdDTScBkxwtiBUUWOqigwAwCfx3M28Sh