GithubHelp home page GithubHelp logo

ivandavidov / learn-bosh2 Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 11 KB

Shell scripts which configure bosh-lite VM (by using bosh CLI v2) and deploy simple web server (nWeb). The scripts and the nWeb release have been designed with simplicity in mind and you can easily reverse engineer the structural dependencies.

License: MIT License

Shell 100.00%
bosh bosh-lite bosh-deployment learning-by-doing

learn-bosh2's Introduction

Learn BOSH v2 (CLI, relase & deployment)

This project demosntstrates the following:

  • How to use BOSH CLI v2 in order to setup bosh-lite VM based on bosh-deployment manifest files.
  • How to create, upload and deploy the nWeb release. This release has very simple structure and you can easily reverse engineer the connections between its components.

Prerequisites

  • Linux OS - all scripts are designed to run on Linux. The scripts have been tested on Linux Mint but they should work fine on pretty much all major Linux distributions.
  • Sudo - in order to create routing rule between your network and the nWeb release network via the BOSH director.
  • VirtualBox - you need at least version 5.0.
  • BOSH CLI v2 - the CLI should be accessible via bosh.
  • Git - for obvious reasons.

Tutorial

Long story short - run the all.sh script, sit down and observe the output. Also, take a look at the script and read the comments. They are quite descriptive. You won't learn anything if you just run the script - you actually need to go through the script, examine the commands and experiment.

At some point you may want to save your work. The bosh-lite VM runs in headless mode and by default you don't get UI. You can manually run virtualbox and then choose Machine => Close => Save State. Then you can run the VM by choosing Machine => Start => Headless Start.

Other resources

Perhaps you'd like to take a look at Maria Shaldibina's BOSH guide. Her tutorial is focused around learn-bosh-release.

learn-bosh2's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

msgpo

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.