Skip to content

Commit

Permalink
Update the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
calj committed Oct 18, 2017
1 parent 26b51d5 commit cab1f7f
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions tpl/gcp/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
## GCP Cloud
# GCP Cloud

### Setup
## Setup

### Prerequisites
Set path to your service account credentials:
```
export GOOGLE_CREDENTIALS=*~/credentials/service-account.json*
```


### Setup the basic infrastructure and bastion
Apply terraform code
```
pushd terraform && terraform init && terraform apply && popd
Expand All @@ -16,20 +17,26 @@ pushd terraform && terraform init && terraform apply && popd
[Note]
To destroy Bastion later, use `terraform destroy -target google_compute_instance.bastion`

### Setup BOSH
Render BOSH manifest and related files
```
kite render manifest bosh --cloud gcp
```

Prepare BOSH environment using instructions from [docs/bosh.md](docs/bosh.md)

### Setup VAULT
Render Vault deployment
```
kite render manifest vault --cloud gcp
```

Follow instructions from [docs/vault.md](docs/vault.md) to deploy Vault

### Setup CONCOURSE
[Note]
To expose concourse publicly, you must create first (manually) a virtual IP in GCP and create a DNS A entry for the hostname for this IP. Set the IP into config/cloud.yml (concourse.vip).

Render Concourse manifest
```
kite render manifest concourse --cloud gcp
Expand Down

0 comments on commit cab1f7f

Please sign in to comment.