GithubHelp home page GithubHelp logo

bosh-playground's Introduction

deploy zookeeper cluster with bosh-lite

resource

tutorial

troubleshoot

  • more logs: export BOSH_LOG_LEVEL=debug

create bosh director

  • create bosh environment: $ bosh create-env bosh.yml --state generated/state.json -o cpi.yml -o outbound-network.yml -o bosh-lite.yml -o bosh-lite-runc.yml -o jumpbox-user.yml --vars-store generated/creds.yml -l variables.yml
    • idempotently converge VM to desired state in bosh.yml
    • -o: include manifest
  • set alias: $ bosh alias-env vbox -e 192.168.50.6 --ca-cert <(bosh int ./creds.yml --path /director_ssl/ca)
  • log in:
export BOSH_CLIENT=admin
export BOSH_CLIENT_SECRET=`bosh int ./creds.yml --path /admin_password`
  • set alias
  • log into bosh director

create bosh release

  • create a release: $ bosh create-release
  • upload a release to bosh director: $ bosh -e <envt> upload-release
  • upload a stemcell downloaded from bosh.io: $ bosh -e <envt> upload-stemcell <stemcell package>

run a bosh deployment

  • deploy: $ bosh -e <envt> -d <deployment name> deploy manifest.yml
  • list deployed instances: $ bosh -e <envt> instances

[local] add route to VirtualBox network

$ sudo route add -net 10.244.0.0/16 192.168.50.6
# for webapp running on :8080, can `$ curl 10.244.0.2:8080`

AWS

deploy jumpbox on AWS

  1. create ssh key using ssh-keygen
  2. use aws_key_pair resource. must include public key.
  3. create ec2 instance using above key pair.
  4. ssh into jumpbox: ssh -i ~/.ssh/aws ubuntu@$(terraform output jumpbox_ip)

bosh-playground's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.