Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Steps to recreate
# In your BUCC folder:
bucc $ bin/bucc up
bucc $ bin/bucc env > bucc.env
bucc $ source bucc.env
bucc $ bosh update-cloud-config ~/projects/bucc/src/bosh-deployment/warden/cloud-config.yml
bucc $ bosh upload-stemcell --sha1 9190e1d20dcb937e007abbb4054e19b1daa8d0a4 \
$ git clone
$ cd akoranga-nginx-boshrelease
akoranga-nginx-boshrelease $ git checkout deploying-web-application
akoranga-nginx-boshrelease $ bosh create-release --force
akoranga-nginx-boshrelease $ bosh upload-release
$ git clone
$ cd akoranga-go-boshrelease
akoranga-go-boshrelease $ git checkout deploying-web-application
akoranga-go-boshrelease $ bosh create-release --force
akoranga-go-boshrelease $ bosh upload-release
$ git clone
$ cd akoranga-deployment
akoranga-deployment $ git checkout deploying-web-application
akoranga-deployment $ bosh -d akoranga deploy akoranga-deployment.yml
# Expose BOSH Lite VM network
$ sudo route add -net
# Find the web application instance IP address
$ bosh instances
Using environment '' as user 'admin' (openid, bosh.admin)
Task 5. Done
Deployment 'akoranga'
Instance Process State AZ IPs
akoranga-app/0b68d9c4-ab21-4ea2-98cd-636774289e59 running z2
akoranga-app/36730ac0-a52e-4b8f-9280-ae986b3544b6 running z1
akoranga-nginx/7f15ccfc-9659-435e-8898-e36f703837bb running z1
# Ta-Da!
$ curl -i
HTTP/1.1 200 OK
Server: nginx/1.14.0
Date: Sun, 10 Feb 2019 01:25:09 GMT
Content-Type: application/octet-stream
Content-Length: 10
Connection: keep-alive
Kia Ora!
$ curl -i
HTTP/1.1 200 OK
Date: Sun, 10 Feb 2019 01:25:20 GMT
Content-Length: 48
Content-Type: text/plain; charset=utf-8
[73a6ff0b-b7b6-42e4-b441-248b2f1fdf51] Kia ora!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment