<commit_before># Deploy Cloud Foundry

>**NOTE:**
  * All the following commands must be run in your dev-box.
  * By default, this setction uses [xip.io](http://xip.io/) to resolve the system domain. More information, please click [**HERE**](../../advanced/deploy-azuredns).

## 1 Prepare the manifest for Cloud Foundry

>**NOTE:**
  * The section shows how to configure a get-started manifest to deploy Cloud Foundry. For a more robust deployment, please refer to [**deploy-cloudfoundry-for-enterprise**](../../advanced/deploy-cloudfoundry-for-enterprise/)

A manifest is needed to deploy Cloud Foundry. In this section, we will show how to configure the manifest.

We provide two sample configurations. You can choose one of them based on your needs.

* [**single-vm-cf.yml**](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/abelhu/bosh-setup/manifests/single-vm-cf.yml): Configuration to deploy Single-VM Cloud Foundry.
* [**multiple-vm-cf.yml**](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/abelhu/bosh-setup/manifests/multiple-vm-cf.yml): Configuration to deploy Multi-VM Cloud Foundry.

The following steps uses `single-vm-cf.yml` for an example.

1. Download the manifest.

  ```
  wget -O ~/single-vm-cf.yml https://raw.githubusercontent.com/Azure/azure-quickstart-templates/abelhu/bosh-setup/manifests/single-vm-cf.yml
  ```

2. Specify **REPLACE_WITH_DIRECTOR_ID**.

  Logon your BOSH director with below command.
  
  ```
  bosh target <BOSH-DIRECTOR-IP> # Username: admin, Password: <PASSWORD><commit_msg>DOCS: Fix wrong links. Close #104.<commit_after># Deploy Cloud Foundry

>**NOTE:**
  * All the following commands must be run in your dev-box.
  * By default, this setction uses [xip.io](http://xip.io/) to resolve the system domain. More information, please click [**HERE**](../../advanced/deploy-azuredns).

## 1 Prepare the manifest for Cloud Foundry

>**NOTE:**
  * The section shows how to configure a get-started manifest to deploy Cloud Foundry. For a more robust deployment, please refer to [**deploy-cloudfoundry-for-enterprise**](../../advanced/deploy-cloudfoundry-for-enterprise/)

A manifest is needed to deploy Cloud Foundry. In this section, we will show how to configure the manifest.

We provide two sample configurations. You can choose one of them based on your needs.

* [**single-vm-cf.yml**](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/bosh-setup/manifests/single-vm-cf.yml): Configuration to deploy Single-VM Cloud Foundry.
* [**multiple-vm-cf.yml**](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/bosh-setup/manifests/multiple-vm-cf.yml): Configuration to deploy Multi-VM Cloud Foundry.

The following steps uses `single-vm-cf.yml` for an example.

1. Download the manifest.

  ```
  wget -O ~/single-vm-cf.yml https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/bosh-setup/manifests/single-vm-cf.yml
  ```

2. Specify **REPLACE_WITH_DIRECTOR_ID**.

  Logon your BOSH director with below command.
  
  ```
  bosh target <BOSH-DIRECTOR-IP> # Username: admin, Password: <PASSWORD>
{'fraction_non_alphanumeric': 0.13133567102327065, 'fraction_numerical': 0.0028689831048772712, 'mean_word_length': 4.26510067114094, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2888813', 'n_tokens_mistral': 1000, 'n_tokens_neox': 947, 'n_words': 288}