<commit_before># Run Cloud Foundry on AWS or OpenStack

This is a simple `bosh` CLI plugin to boot up Cloud Foundry and then grow and upgrade and maintain it. Initially runs on AWS or OpenStack via bosh.

Example create/scale/delete scenario:

```
$ bosh prepare cf
$ bosh create cf --public-ip 1.2.3.4
...
$ bosh change cf attributes persistent_disk=8192
...
$ bosh delete cf
```

The deployed Cloud Foundry does not include any data or messaging services for the user applications. These are available as add-ons coming soon.

[![Build Status](https://travis-ci.org/cloudfoundry-community/bosh-cloudfoundry.png?branch=v0.7)](https://travis-ci.org/cloudfoundry-community/bosh-cloudfoundry) [![Stories in Ready](https://badge.waffle.io/cloudfoundry-community/bosh-cloudfoundry.png)](https://waffle.io/cloudfoundry-community/bosh-cloudfoundry) [![Code Climate](https://codeclimate.com/github/cloudfoundry-community/bosh-cloudfoundry.png)](https://codeclimate.com/github/cloudfoundry-community/bosh-cloudfoundry)

## What gets created?

The amount of resources used to run Cloud Foundry is determined by the `--deployment-size` you choose (defaults to medium) and the scale you grow it to over time.

Currently there are two deployment sizes supported: medium & large.

For a medium deployment the following VMs are created and have the following vitals after creation:

```
$ bosh create cf ... --deployment-size medium
$ bosh vms
+-----------+---------+---------------+-------------------------------+
| Job/index | State   | Resource Pool | IPs                           |
+-----------+---------+---------------+-------------------------------+
| api/0     | running | small         | 10.143.165.48, 172.16.31.10 |
| core/0    | running | small         | 10.141.164.174                |
| data/0    | running | small         | 10.139.11.105                 |
| dea/0     | running | small         | 10.139.14.146                 |
+-----------+---------+---------------+-------------------------------+

```

For a large deployment, all jobs (moving parts) of Cloud Foundry are isolated into their own VMs, and it includes a syslog aggregator:

```
$ bosh create cf ... --deployment-size large
$ bosh vms --vitals
+---------------------+---------+---------------+------------------------------+-----------------------+------+------+-------+----------------+------------+------------+------------+------------+
| Job/index           | State   | Resource Pool | IPs                          |         Load          | CPU  | CPU  | CPU   | Memory Usage   | Swap Usage | System     | Ephemeral  | Persistent |
|                     |         |               |                              | (avg01, avg05, avg15) | User | Sys  | Wait  |                |            | Disk Usage | Disk Usage | Disk Usage |<commit_msg>travis build status based on master instead of old v0.7 branch<commit_after># Run Cloud Foundry on AWS or OpenStack

This is a simple `bosh` CLI plugin to boot up Cloud Foundry and then grow and upgrade and maintain it. Initially runs on AWS or OpenStack via bosh.

Example create/scale/delete scenario:

```
$ bosh prepare cf
$ bosh create cf --public-ip 1.2.3.4
...
$ bosh change cf attributes persistent_disk=8192
...
$ bosh delete cf
```

The deployed Cloud Foundry does not include any data or messaging services for the user applications. These are available as add-ons coming soon.

[![Build Status](https://travis-ci.org/cloudfoundry-community/bosh-cloudfoundry.png)](https://travis-ci.org/cloudfoundry-community/bosh-cloudfoundry) [![Stories in Ready](https://badge.waffle.io/cloudfoundry-community/bosh-cloudfoundry.png)](https://waffle.io/cloudfoundry-community/bosh-cloudfoundry) [![Code Climate](https://codeclimate.com/github/cloudfoundry-community/bosh-cloudfoundry.png)](https://codeclimate.com/github/cloudfoundry-community/bosh-cloudfoundry)

## What gets created?

The amount of resources used to run Cloud Foundry is determined by the `--deployment-size` you choose (defaults to medium) and the scale you grow it to over time.

Currently there are two deployment sizes supported: medium & large.

For a medium deployment the following VMs are created and have the following vitals after creation:

```
$ bosh create cf ... --deployment-size medium
$ bosh vms
+-----------+---------+---------------+-------------------------------+
| Job/index | State   | Resource Pool | IPs                           |
+-----------+---------+---------------+-------------------------------+
| api/0     | running | small         | 10.143.165.48, 172.16.31.10 |
| core/0    | running | small         | 10.141.164.174                |
| data/0    | running | small         | 10.139.11.105                 |
| dea/0     | running | small         | 10.139.14.146                 |
+-----------+---------+---------------+-------------------------------+

```

For a large deployment, all jobs (moving parts) of Cloud Foundry are isolated into their own VMs, and it includes a syslog aggregator:

```
$ bosh create cf ... --deployment-size large
$ bosh vms --vitals
+---------------------+---------+---------------+------------------------------+-----------------------+------+------+-------+----------------+------------+------------+------------+------------+
| Job/index           | State   | Resource Pool | IPs                          |         Load          | CPU  | CPU  | CPU   | Memory Usage   | Swap Usage | System     | Ephemeral  | Persistent |
|                     |         |               |                              | (avg01, avg05, avg15) | User | Sys  | Wait  |                |            | Disk Usage | Disk Usage | Disk Usage |
{'fraction_non_alphanumeric': 0.23159752868490732, 'fraction_numerical': 0.02471315092674316, 'mean_word_length': 1.5836753305973552, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 12, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 13, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1476758', 'n_tokens_mistral': 1606, 'n_tokens_neox': 1448, 'n_words': 468}