Skip to content

Instantly share code, notes, and snippets.

View timani's full-sized avatar

Timani Tunduwani timani

View GitHub Profile
@timani
timani / bosh-cheatsheet.md
Created November 23, 2017 03:16 — forked from allomov-altoros/bosh-cheatsheet.md
BOSH CLI cheatsheet

BOSH command line interface cheatsheet

Introduction

BOSH is a powerful tool to install and manage your deployments. You can find docs on https://bosh.io/docs. Consider using bosh-init tool to install to a cloud of your choice MicroBOSH instance (MicroBOSH is a single VM BOSH installation, it has everything that you need to deploy and manage).

Installing of BOSH CLI

BOSH command line interface is implemented as a ruby gem and can be run on every platform that supports ruby, you'll need to have ruby 2.1.x or higher to run it. To install it you can run gem install bosh_cli and gem update bosh_cli to update to a newer version.

@timani
timani / Makefile
Created June 5, 2017 03:32 — forked from pgporada/Makefile
Terraform Makefile
.ONESHELL:
.PHONEY: help set-env init update plan plan-destroy show graph apply output taint
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
set-env:
@if [ -z $(ENVIRONMENT) ]; then\
echo "ENVIRONMENT was not set"; exit 10;\
fi
# Makefile
# Author: Pivotal Support
# Modify the includes, sources, headers, executable and
# other flags accordingly!
INCLUDES = -I ./ -I/usr/local/include
LIBS = -L/usr/lib/ -lm
CC = g++
DEBUG = -g
@timani
timani / RUNBOOK.md
Created March 30, 2017 07:01 — forked from voxxit/RUNBOOK.md
Example of a solid run book/operations manual

Run Book / Operations Manual

  1. Table of Contents
  2. System Overview
    • Service Overview
    • Contributing Applications, Daemons, and Windows Services
    • Hours of Operation
    • Execution Design
    • Infrastructure and Network Design
    • Resilience, Fault Tolerance and High-Availability
@timani
timani / RUNBOOK.md
Created March 30, 2017 07:01 — forked from voxxit/RUNBOOK.md
Example of a solid run book/operations manual

Run Book / Operations Manual

  1. Table of Contents
  2. System Overview
    • Service Overview
    • Contributing Applications, Daemons, and Windows Services
    • Hours of Operation
    • Execution Design
    • Infrastructure and Network Design
    • Resilience, Fault Tolerance and High-Availability
```
$ bosh target 192.168.50.4 lite
Target set to 'Bosh Lite Director'
$ bosh targets
+--------------------------------------+----------------------------+
| Name | Director URL |
+--------------------------------------+----------------------------+
| lite | https://192.168.50.4:25555 |
+--------------------------------------+----------------------------+
$ bosh vms
Acting as user 'admin' on 'Bosh Lite Director'
Deployment 'bui-warden'

Director task 17

Task 17 done
$ bosh vms
Acting as user 'admin' on 'Bosh Lite Director'
Deployment 'bui-warden'

Director task 12

Task 12 done

+----------------------------------------------+---------+-----+----------+--------------+
$ git clone https://github.com/cloudfoundry/bosh-lite && cd bosh-lite
Cloning into 'bosh-lite'...
remote: Counting objects: 5070, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5070 (delta 1), reused 0 (delta 0), pack-reused 5065
Receiving objects: 100% (5070/5070), 886.53 KiB | 1.03 MiB/s, done.
Resolving deltas: 100% (2949/2949), done.