Coder Social home page Coder Social logo

chrisp-cbh / bosh-bootloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudfoundry/bosh-bootloader

0.0 2.0 0.0 10.95 MB

Command line utility for standing up a BOSH director on an IAAS of your choice.

License: Apache License 2.0

Go 76.53% HCL 23.14% Shell 0.33%

bosh-bootloader's Introduction

bosh-bootloader

Also known as bbl (pronounced: "bubble"), bosh-bootloader is a command line utility for standing up a CloudFoundry or Concourse installation on an IAAS. bbl currently supports AWS, GCP and Azure. Openstack and vSphere support are planned.

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

Usage

Generic getting started guide

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

  2. bbl up --iaas <MY IAAS> with IAAS credentials as flags or environment variables.

  3. eval "$(bbl print-env)" to target the director that you just created.

  4. bosh ssh, bosh deploy or bosh status should all just work with no further information needed from bbl.

For detailed, IAAS specific instructions see your preferred IAAS's getting started guide:

Generic steps for Cloud Foundry deployment

  1. Create an environment and target the BOSH director as described above

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

  3. bosh deploy cf.yml -o operations/<MY IAAS> using the CF deployment manifest!

Managing state

The bbl state directory contains all of the files that were used to create your bosh director. This should be checked in to version control, so that you have all the information necessary to later destroy or update this environment at a later date.

filename contents
bbl-state.json Environment name, and bbl version metadata
bosh-deployment The latest bosh-deployment that has been tested with your version of bbl
create-director.sh The BOSH cli command bbl will use to create your director when you run bbl up. See [docs/advanced]](docs/advanced.md#opsfile) for help with modifying this
create-jumpbox.sh The BOSH cli command bbl will use to create your jumpbox.
delete-director.sh The BOSH cli command bbl will use to delete your director.
delete-jumpbox.sh The BOSH cli command bbl will use to delete your jumpbox.
jumpbox-deployment The latest jumpbox-deployment that has been tested with your version of bbl.
terraform The terraform templates bbl used to pave your IaaS. See docs/advanced#terraform for information on modifying this.
vars This is where bbl will store environment specific variables. Consider storing this outside of version control.

Tearing down an environment

Once you are done kicking the tires on CF and BOSH, clean up your environment to save IAAS costs:

  1. You must first delete any deployments on BOSH. e.g. bosh -d cf delete-deployment

  2. bbl down with your IAAS user/account information.

bosh-bootloader's People

Contributors

genevieve avatar christianang avatar cf-infra-bot avatar rowanjacobs avatar evanfarrar avatar zankich avatar mcwumbly avatar angelachin avatar gdean123 avatar rizwanreza avatar davewalter avatar desmondrawls avatar kotlinrulez avatar niroyb avatar dsabeti avatar lexsys27 avatar conamex avatar jtarchie avatar flavorjones avatar ryanmoran avatar rosenhouse avatar reneighbor avatar valeriap avatar micahyoung avatar lancefrench avatar mavenraven avatar drab avatar crhino avatar ahhyunahn avatar arthomps avatar

Watchers

James Cloos avatar Chris 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.