Slide 1

Slide 1 text

Title Text Body Level One Body Level Two Body Level Three Body Level Four Body Level Five BOSH - A year in review 2017/18 CF Summit Boston MA April 2018 Dr Nic Williams @drnic

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Director environments Ɏ Deployment manifests Education, Getting Started BOSH Review Backup & restore  bosh CLI ɑ > @drnic

Slide 5

Slide 5 text

Director environments Ɏ Deployment manifests Education, Getting Started Backup & restore  bosh CLI ɑ > @drnic BOSH Review

Slide 6

Slide 6 text

bosh.io @drnic

Slide 7

Slide 7 text

bosh.io @drnic

Slide 8

Slide 8 text

ultimateguidetobosh.com @drnic

Slide 9

Slide 9 text

https://www.youtube.com/starkandwayne @drnic

Slide 10

Slide 10 text

v2/v3 $ bosh -v version 3.0.1… $ gem uninstall bosh_cli Are you sure? > Definitely @drnic

Slide 11

Slide 11 text

CLI > Environment variables $ $BOSH_ENVIRONMENT, $BOSH_CA_CERT, $BOSH_CLIENT, $BOSH_CLIENT_SECRET $BOSH_DEPLOYMENT $BOSH_GW_HOST $BOSH_GW_USER $BOSH_GW_PRIVATE_KEY Rather than bosh alias-env bosh login Rather than bosh -d name bosh ssh --gw-host --gw-user --gw-private-key @drnic

Slide 12

Slide 12 text

SOCKS5 -> dmz private subnet BOSH UAA CredHub Jumpbox NAT $BOSH_ALL_PROXY Ǻ

Slide 13

Slide 13 text

SOCKS5 -> BOSH UAA CredHub Jumpbox $BOSH_ALL_PROXY Ǻ ssh -4 -D 9999 --fNC user@jumpbox -i jumpbox.key export BOSH_ALL_PROXY=socks://localhost:9999 export CREDHUB_PROXY=socks://localhost:9999 bosh env bosh.io/docs/cli-tunnel/ @drnic

Slide 14

Slide 14 text

BOSH envs BOSH UAA CredHub Jumpbox github.com/cloudfoundry/bosh-deployment bosh create-env bosh.yml \ -o aws/cpi.yml \ --state state.json --vars-store creds.yml \ -o uaa.yml -o credhub.yml \ -o jumpbox-user.yml @drnic

Slide 15

Slide 15 text

Jumpbox Ǻ Jumpbox bosh create-env jumpbox.yml Ǻ bosh create-env jumpbox.yml \ -o aws/cpi.yml \ --state state.json --vars-store creds.yml ... github.com/cppforlife/jumpbox-deployment @drnic

Slide 16

Slide 16 text

bbl ɑ Jumpbox bbl up B bbl up \ --iaas aws \ --aws-access-key-id KEY \ --aws-secret-access-key SECRET \ --aws-region us-east-2 github.com/cloudfoundry/bosh-bootloader BOSH UAA CredHub @drnic

Slide 17

Slide 17 text

BUCC bucc up bucc up bucc up --cpi aws bucc up --cpi vsphere --lite github.com/starkandwayne/bucc BOSH UAA CredHub Concourse @drnic

Slide 18

Slide 18 text

Multi CPI bosh cpi-config starkandwayne.com/blog/multi-cpi-bosh-one-bosh-to-rule-them-all/ BOSH @drnic

Slide 19

Slide 19 text

Multi CPI bosh cpi-config starkandwayne.com/blog/multi-cpi-bosh-one-bosh-to-rule-them-all/ BOSH warden-cpi gcp-cpi garden @drnic

Slide 20

Slide 20 text

BOSH
 DNS 0.pg.default.my-psql.bosh bosh.io/docs/dns/ :53 addons: - name: bosh-dns jobs: - name: bosh-dns release: bosh-dns Aliases via aliases property via dns/aliases.json template inside your job @drnic

Slide 21

Slide 21 text

Deploy manifests $ bosh deploy cf-deployment.yml \ -v system_domain=mycompany.com ɑ github.com/cloudfoundry/cf-deployment @drnic

Slide 22

Slide 22 text

Variables $ bosh deploy cf-deployment.yml \ -v system_domain=mycompany.com Ǻ bosh.io/docs/cli-int/ - name: uaa release: uaa properties: uaa: url: https://uaa.((system_domain)) @drnic

Slide 23

Slide 23 text

variables: - name: cf_admin_password type: password - name: blobstore_tls options: ca: service_cf_internal_ca common_name: blobstore.service.cf.internal type: certificate Variables $ bosh deploy cf-deployment.yml \ -v system_domain=mycompany.com Ǻ bosh.io/docs/cli-int/ 80 secrets @drnic

Slide 24

Slide 24 text

Variables Ǻ bosh.io/docs/cli-int/ bosh int bosh deploy bosh create-env $ -v, --var=VAR=VALUE Set variable --var-file=VAR=PATH Set variable to file contents -l, --vars-file=PATH Load variables from a YAML file --vars-env=PREFIX Load variables from env vars --vars-store=PATH Load/save vars from/to YAML @drnic

Slide 25

Slide 25 text

Config Server docs.cloudfoundry.org/credhub bosh int bosh deploy bosh create-env $ Ǻ variables: - name: cf_admin_password type: password BOSH UAA CredHub @drnic

Slide 26

Slide 26 text

Operator files bosh.io/docs/cli-ops-files/ @drnic --- name: cf releases: […] type: replace path: /name value: cf-staging ɑ Operator file $ bosh int base.yml -o rename.yml name: cf-staging releases: […] -o flag

Slide 27

Slide 27 text

Authoring releases @drnic version: create Ɏ bosh-gen BOSH Process Manager  bosh vendor-package > bosh export-release Ȝ

Slide 28

Slide 28 text

Backup & restore Ʊ @drnic SHIELD
 shieldproject.io github.com/shieldproject BOSH Backup & Restore github.com/cloudfoundry-incubator/bosh-backup-and-restore Ȝ

Slide 29

Slide 29 text

No content