This document will walk through deploying a concourse clustered install to AWS using bbl
and bosh
.
- Install
bbl
CLI - Completed BOSH installation to AWS
- Bosh v2 CLI installed
First you need to generate self-signed certificates for your domain.
openssl req \
-newkey rsa:2048 -nodes -keyout concourse.example.com.key \
-x509 -days 365 -out concourse.example.com.crt
For now you need to convert RSA key to be usable by bbl
(see issue):
openssl rsa -in concourse.example.com.key -out rsakey.pem
Finally, create load balancers and update cloud config:
bbl create-lbs \
--type concourse \
--cert concourse.eminens.io.crt \
--key rsakey.pem
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: t2.small
. - Add the vm_extension
lb
to the instance_group "web" - Delete
tls_cert
andtls_key
from the properties of the job namedatc
- Add the vm_extension
50GB_ephemeral_disk
to the instance_group "worker" - Replace all
persistent_disk_type: REPLACE_ME
withpersistent_disk_type: 5GB
- Replace
director_uuid: REPLACE_ME
withuuid
frombosh env
- Fill
external_url: REPLACE_ME
with Concourse external URL
- Upload latest stemcell
bosh upload-stemcell https://bosh.io/d/stemcells/bosh-aws-xen-hvm-ubuntu-trusty-go_agent
- Upload latest concourse BOSH Releases
bosh upload-release https://github.com/concourse/concourse/releases/download/v2.7.3/concourse-2.7.3.tgz
bosh upload-release https://github.com/concourse/concourse/releases/download/v2.7.3/garden-runc-1.4.0.tgz
bosh -d concourse deploy concourse.yml
Point your browser to $external_url
.