Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# 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-nginx
akoranga-nginx-boshrelease $ bosh create-release --force
akoranga-nginx-boshrelease $ bosh upload-release
$ git clone
$ cd akoranga-deployment
akoranga-deployment $ git checkout deploying-nginx
akoranga-deployment $ bosh -d akoranga deploy akoranga-deployment.yml
# Expose BOSH Lite VM network
$ sudo route add -net
# Find the Nginx instance IP address
$ bosh instances
Using environment '' as user 'admin' (openid, bosh.admin)
Task 4. Done
Deployment 'akoranga'
Instance Process State AZ IPs
akoranga-nginx/fc563b20-e767-45a5-bb31-b49aeb065c64 running z1
1 instances
# Ta-Da!
$ curl -i
HTTP/1.1 200 OK
Server: nginx/1.14.0
Date: Thu, 17 Jan 2019 01:26:39 GMT
Content-Type: application/octet-stream
Content-Length: 10
Connection: keep-alive
Kia Ora!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment