<commit_before># bosh-deployment

Requires new BOSH CLI v2:

* [CLI v2](https://bosh.io/docs/cli-v2.html)
    * [`create-env` Dependencies](https://bosh.io/docs/cli-env-deps.html)
    * [Differences between CLI v2 vs v1](https://bosh.io/docs/cli-global-flags.html)
    * [Global Flags](https://bosh.io/docs/cli-global-flags.html)
    * [Environments](https://bosh.io/docs/cli-envs.html)
    * [Operations files](https://bosh.io/docs/cli-ops-files.html)
    * [Variable Interpolation](https://bosh.io/docs/cli-int.html)
    * [Tunneling](https://bosh.io/docs/cli-tunnel.html)

Sample installation instructions:

* [BOSH Lite on VirtualBox](docs/bosh-lite-on-vbox.md)
* AWS (below)

```
$ git clone https://github.com/cloudfoundry/bosh-deployment ~/workspace/bosh-deployment

# Create a directory to keep Director deployment
$ mkdir -p ~/deployments/bosh-1

$ cd ~/deployments/bosh-1
<commit_msg>add short ops file descriptions<commit_after># bosh-deployment

Requires BOSH CLI v2:

* [CLI v2](https://bosh.io/docs/cli-v2.html)
    * [`create-env` Dependencies](https://bosh.io/docs/cli-env-deps.html)
    * [Differences between CLI v2 vs v1](https://bosh.io/docs/cli-global-flags.html)
    * [Global Flags](https://bosh.io/docs/cli-global-flags.html)
    * [Environments](https://bosh.io/docs/cli-envs.html)
    * [Operations files](https://bosh.io/docs/cli-ops-files.html)
    * [Variable Interpolation](https://bosh.io/docs/cli-int.html)
    * [Tunneling](https://bosh.io/docs/cli-tunnel.html)

## Ops files

- `bosh.yml`: Base manifest that is meant to be used with different CPI configurations
- `<aws|azure|docker|gcp|openstack|softlayer|vcloud|vsphere|virtualbox>/cpi.yml`: CPI configuration for each IaaS
- `jumpbox-user.yml`: Adds user `jumpbox` for SSH-ing into the Director (see [Jumpbox User](docs/jumpbox-user.md))
- `uaa.yml`: Deploys UAA and enables UAA user management in the Director
- `credhub.yml`: Deploys CredHub and enables CredHub integration in the Director
- `bosh-lite.yml`: Configures Director to use Garden CPI within the Director VM (see [BOSH Lite](docs/bosh-lite-on-vbox.md))
- `config-server.yml`: Deploys config-server (see `credhub.yml`)
- `syslog.yml`: Configures syslog to forward logs to some destination
- `local-dns.yml`: Enables Director DNS beta functionality

See [test.sh](test.sh) for example usage of different ops files.

## Sample installation instructions

* [BOSH Lite on VirtualBox](docs/bosh-lite-on-vbox.md)
* AWS (below)

```
$ git clone https://github.com/cloudfoundry/bosh-deployment ~/workspace/bosh-deployment

# Create a directory to keep Director deployment
$ mkdir -p ~/deployments/bosh-1

$ cd ~/deployments/bosh-1

{'fraction_non_alphanumeric': 0.15519820493642483, 'fraction_numerical': 0.005235602094240838, 'mean_word_length': 4.164092664092664, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 18, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2381598', 'n_tokens_mistral': 1008, 'n_tokens_neox': 962, 'n_words': 200}