This document will walk through deploying a concourse clustered install to GCP using bbl and bosh.
- bbl
- A GCP Service Account key as described in README.md
- BBL up. e.g.
bbl up --gcp-zone us-west1-a --gcp-region us-west1 --gcp-service-account-key service-account.key.json --gcp-project-id my-gcp-project-id --iaas gcp
- This guide will assume the Bosh v2 CLI is installed, but bosh v1 CLI will work, with some minor changes.
bbl create-lbs --type concourse
Scale instance types, disks and instance count based on your needs. Other sizes are available, see bosh cloud-config
.
- Start with the sample manifest from the Concourse documentation
- Replace all
vm_type: REPLACE_ME
withvm_type: n1-standard-1
. - Add the vm_extension
lb
to the instance_group "web" - Add the property
tls_bind_port: 443
to the instance_group "web" - Add the vm_extension
50GB_ephemeral_disk
to the instance_group "worker" - Replace all
persistent_disk_type: REPLACE_ME
withpersistent_disk_type: 5GB
- Fill out the remaining REPLACE_ME in the sample manifest with your own data, such as auth groups, SSL certs, and external URL
export BOSH_CLIENT=`bbl director-username`
export BOSH_CLIENT_SECRET=`bbl director-password`
export BOSH_CA_CERT=`bbl director-ca-cert`
export BOSH_ENVIRONMENT=`bbl director-address`
- Download and upload latest (Google stemcell)[http://bosh.io/stemcells]
bosh upload-stemcell ~/Downloads/light-bosh-stemcell-XXXX.X-google-kvm-ubuntu-trusty-go_agent.tgz
- Download and upload latest concourse (BOSH Releases)[http://concourse.ci/downloads.html]
bosh upload-release ~/Downloads/garden-runc-X.X.X.tgz
bosh upload-release ~/Downloads/concourse-2.5.1.tgz
bosh -n concourse deploy concourse.yml