GithubHelp home page GithubHelp logo

bosh-training-infra's Introduction

BOSH Training Infra

Welcome!! This repository contains the resources and pipeline for setting up the training infrastructure and environments for students to participate in the BOSH Training.

Architecture

Infra

Adding a student

To add a student you'll need to add the following entry into the students list stored within the student.auto.tfvars.json file.

{
  "students": [
    {
      "name": "test_user1",
      "ips": [
        "127.0.0.1",
        "255.255.255.0"
      ],
      "subnet_cidr": 10.0.1.0/24"
    },
+   {
+     "name": "test_user2",
+     "ips": [
+       "<HOME_IP_ADDRESS>",
+       "<ADMIN/TUTOR_IP_ADDRESS>"
+     ],
+     "subnet_cidr": "10.0.2.0/24"  <---- Increment the third octet since we're using /24
+   }
  ]
}

Accessing the BOSH Training Environment

Each student listed in students file should have an archive within the eb-bosh-training-infra bucket. The link for a student should be as follows https://eb-bosh-training-infra.s3.eu-west-2.amazonaws.com/student-packs/<student-name>.tgz.

Once downloaded, each student would need to:

## decompress and unarchive the file
$ tar zxvf <student-name>.tgz

## ensure all env variables
## are set in your shell environment
# linux/macos
$ eval "$(cat bosh_env_vars)"

# windows
$ call bosh_env_vars.bat

## test student credentials work
$ bosh login
Successfully authenticated with UAA

$ bosh env
Using environment '<ip-address>' as client 'admin'

Name               bosh-training-<student-name>
UUID               e3957fa4-1471-44a6-9a97-1579c99c64fc
Version            273.0.0 (00000000)
Director Stemcell  -/0.3
CPI                warden_cpi
Features           config_server: enabled
                   local_dns: enabled
                   power_dns: disabled
                   snapshots: disabled
User               admin

Succeeded

bosh-training-infra's People

Contributors

cagiti avatar infobyadrienne avatar lildann avatar william-young-97 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.