# Deploying BOSH for KUBO on vSphere

**Prerequisite:** The machine executing the commands below must be able to access VMs on the vSphere network.
Depending on your network topology, a bastion host (jumpbox) may be needed.

1. Get latest version of kubo-deployment:

    ```bash
    cd ~
    wget https://storage.googleapis.com/kubo-public/kubo-deployment-latest.tgz
    tar -xvf kubo-deployment-latest.tgz
    cd ~/kubo-deployment
    ```

1. Create a kubo environment to set the configuration for BOSH and Kubo.

    ```bash
    export kubo_env=~/kubo-env
    export kubo_env_name=kubo
    export kubo_env_path="${kubo_env}/${kubo_env_name}"

    mkdir -p "${kubo_env}"
    ./bin/generate_env_config "${kubo_env}" ${kubo_env_name} vsphere
    ```

    The `kubo_env_path` will point to the folder containing the Kubo settings,
    and will be referred to throughout this guide as `KUBO_ENV`.

1.  Populate the environment config skeleton created at `${kubo_env_path}/director.yml`
    Fill the vSphere user password in the `${kubo_env_path}/director-secrets.yml`.
    Make sure not to check that file into the VCS.

1. Deploy a BOSH director for Kubo

    ```bash
    ./bin/deploy_bosh "${kubo_env_path}"
    ```
    Credentials and SSL certificates for the environment will be generated and
    saved into the configuration path in a file called `creds.yml`. This file
    contains sensitive information and should not be stored in VCS. The file
    `state.json` contains
    [environment state for the BOSH environment](https://bosh.io/docs/cli-envs.html#deployment-state).

    Subsequent runs of `bin/bosh_deploy` will apply changes made to
    the configuration to an already existing BOSH installation, reusing
    the credentials stored in the `creds.yml`.

# Deploying BOSH for KUBO on vSphere

**This topic has been relocated to the new Kubo documentation site.**

**See [Deploying BOSH for Kubo on vSphere](https://docs-kubo.cfapps.io/installing/vsphere/deploying-bosh-vsphere/).**

**For an overview of how to deploy Kubo on vSphere, see [Preparing vSphere for Kubo](https://docs-kubo.cfapps.io/installing/vsphere/).**

Add deprecation notice to "Deploying BOSH for Kubo on vSphere"
Add deprecation notice to "Deploying BOSH for Kubo on vSphere"