Giter Club home page Giter Club logo

bosh-bootloader's Introduction

bosh-bootloader


This is a command line utility for standing up a CloudFoundry or Concourse installation on an IAAS. This CLI supports bootstrapping a CloudFoundry or Concourse installation on AWS and GCP. Azure support is in progress.

Guides

Prerequisites

Install Dependencies

The following should be installed on your local machine

Install bosh-bootloader using a package manager

Mac OS X

$ brew tap cloudfoundry/tap
$ brew install bosh-cli
$ brew install bbl

IAAS Configuration

AWS

Create an IAM user.

GCP

Create a service account.

Usage

The bbl command can be invoked on the command line and will display its usage.

$ bbl
Usage:
  bbl [GLOBAL OPTIONS] COMMAND [OPTIONS]

Global Options:
  --help      [-h]       Prints usage
  --state-dir            Directory containing bbl-state.json
  --debug                Prints debugging output
  --version              Prints version

Commands:
  help                    Prints usage
  version                 Prints version
  up                      Deploys BOSH director on an IAAS
  destroy                 Tears down BOSH director infrastructure
  lbs                     Prints attached load balancer(s)
  create-lbs              Attaches load balancer(s)
  update-lbs              Updates load balancer(s)
  delete-lbs              Deletes attached load balancer(s)
  rotate                  Rotates SSH key for the jumpbox user
  bosh-deployment-vars    Prints required variables for BOSH deployment
  jumpbox-deployment-vars Prints required variables for jumpbox deployment
  cloud-config            Prints suggested cloud configuration for BOSH environment
  jumpbox-address         Prints BOSH jumpbox address
  director-address        Prints BOSH director address
  director-username       Prints BOSH director username
  director-password       Prints BOSH director password
  director-ca-cert        Prints BOSH director CA certificate
  env-id                  Prints environment ID
  latest-error            Prints the output from the latest call to terraform
  print-env               Prints BOSH friendly environment variables
  ssh-key                 Prints SSH private key

  Use "bbl [command] --help" for more information about a command.

Generic steps to a Cloud Foundry deployment

  1. Create the necessary IAAS user/account for bbl.

  2. bbl up with IAAS credentials as flags or environment variables.

  3. bbl create-lbs --type cf with a certificate and key as flags or environment variables. (Continue to provide the IAAS credentials from Step 1 as flags or environment variables.)

  4. eval "$(bbl print-env)" to export environment variables for the bosh-cli and to create an SSH tunnel to the BOSH director for Step 5.

  5. bosh deploy with a CF deployment manifest!

To tear down load balancers, run bbl delete-lbs.

To tear it all down, run bbl destroy.

Note: You must delete your BOSH deployments before running bbl destroy.

bosh-bootloader's People

Contributors

angelachin avatar bsnchan avatar cf-infra-bot avatar christianang avatar conamex avatar crhino avatar cunnie avatar davewalter avatar drab avatar dsabeti avatar evanfarrar avatar flavorjones avatar gcapizzi avatar gdean123 avatar iplay88keys avatar jtarchie avatar keaty avatar kkallday avatar lancefrench avatar lexsys27 avatar mavenraven avatar mcwumbly avatar micahyoung avatar niroyb avatar rizwanreza avatar rosenhouse avatar rowanjacobs avatar ryanmoran avatar valeriap avatar zankich avatar

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.