{"id":17877136,"url":"https://github.com/herrjulz/bosh-lite-softlayer","last_synced_at":"2026-01-16T00:48:12.788Z","repository":{"id":69923577,"uuid":"124206132","full_name":"herrjulz/bosh-lite-softlayer","owner":"herrjulz","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-08T16:20:02.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T15:14:07.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/herrjulz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-07T08:44:28.000Z","updated_at":"2018-03-07T13:42:31.000Z","dependencies_parsed_at":"2023-05-05T00:47:09.868Z","dependency_job_id":null,"html_url":"https://github.com/herrjulz/bosh-lite-softlayer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fbosh-lite-softlayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fbosh-lite-softlayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fbosh-lite-softlayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fbosh-lite-softlayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/herrjulz","download_url":"https://codeload.github.com/herrjulz/bosh-lite-softlayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246916743,"owners_count":20854511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T11:45:24.708Z","updated_at":"2026-01-16T00:48:12.779Z","avatar_url":"https://github.com/herrjulz.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bosh-Lite on Softlayer\n\n## Prereq's\n\n- [Bosh-Deployment](https://github.com/cloudfoundry/bosh-deployment)\n- [CF-Deployment](https://github.com/cloudfoundry/cf-deployment)\n- Softlayer Account with the correct rights to create VMs and upload stuff\n- [SL VPN](https://www.softlayer.com/VPN-Access)\n\n## Deploy the Director\n\n0. **Connect to SL VPN!**\n\n1. **Deploy Director**\n\nNavigate to the `bosh-deployment` repository. \n\n```\nbosh create-env bosh.yml \\\n  -o jumpbox-user.yml \\\n  -o softlayer/cpi-dynamic.yml \\\n  -o bosh-lite.yml \\\n  -o bosh-lite-runc.yml \\\n  -o \u003cbosh-lite-softlayer\u003e/operations/softlayer/add-hosts-entry.yml \\\n  --vars-store creds.yml \\\n  -v director_name=\u003cyour-choice\u003e \\\n  -v sl_vm_name_prefix=\u003cyour-choice\u003e \\\n  -v sl_vm_domain=softlayer.com \\\n  -v sl_username=\u003cyour-sl-user\u003e \\\n  -v sl_api_key=\u003cyour-sl-api-key\u003e \\\n  -v sl_datacenter=\u003cdatacenter\u003e \\\n  -v sl_vlan_public=\u003cpublic-vlan\u003e \\\n  -v sl_vlan_private=\u003cprivate-vlan\u003e \\\n  -v internal_ip=\u003csl_vm_name_prefix\u003e.\u003csl_vm_domain\u003e\n```\n*NOTE: The order for the ops files is important, as it ensures that the correct cpi is used for the director (`warden_cpi`)*\n\n_add-hosts-entry.yml_ is required to enable bosh-ssh. (TODO: PR this into bosh-deployment `softlayer/`)\n\n2. Set Alias\n\n`$ bosh -e \u003cinternal_ip\u003e --ca-cert \u003c(bosh int ./creds.yml --path /director_ssl/ca) alias-env \u003cyour-alias\u003e`\n\n3. Bosh Auth\n\n`$ export BOSH_CLIENT=admin  \u0026\u0026 export BOSH_CLIENT_SECRET=`bosh int ./creds.yml --path /admin_password`\n\nor\n\n`$ bosh login --environment \u003cbosh-alias\u003e --client=admin --client-secret=$(bosh int ./creds.yml --path /admin_password)`\n\n---\n\n## Deploy CF\n\nNavigate to the `cf-deployment` repo on your machine. \n\n1. Apply Cloud Config \n\n`bosh -e \u003cyour-alias\u003e update-cloud-config ./iaas-support/bosh-lite/cloud-config.yml`\n\n2. Upload the right stemcell\n\ne.g.\n\n`bosh -e \u003cyour-alias\u003e upload-stemcell https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent\\?v\\=3541.5`\n\n3. Deploy CF\n\n```\nbosh -e \u003cyour-alias\u003e deploy -d cf ./cf-deployment.yml \\\n    --vars-store deployment-vars.yml \\\n    -o ./operations/use-compiled-releases.yml \\\n    -o ./operations/bosh-lite.yml \\\n    -o ./operations/experimental/use-bosh-dns.yml \\\n    -o \u003csoftlayer-bosh-lite\u003e/operations/cf-deployment/add-dns-entry.yml \\\n    -v system_domain=\u003cyour-dynamic-dns-entry\u003e \\\n    --no-redact\n```\n\n*For the system_domain we added a dyn-dns entry at [changeip.com](http://changeip.com) or you can use [nip.io](http://nip.io/)\n\n\n## Target CF with CF-CLI\n\n1. Set API Endpoint\n\n`cf api \u003csystem-domain\u003e`\n\n2. Auth\n\nNavigate to `cf-deployment`\n\n`$ cf auth admin $(bosh int ./deployment-vars.yml --path /cf_admin_password)`\n\n## Bosh SSH\n\nNavigate to `bosh-deployment`\n\n1. Generate `jumpbox.key` \n\n`$ bosh int creds.yml --path /jumpbox_ssh/private_key \u003e jumpbox.key`\n\n2. chmod the key\n\n`$ chmod 0600 jumpbox.key`\n\n3. Setup socks5 ssh tunnel\n\n`$ ssh -4 -D 5000 -fNC jumpbox@\u003cinternal_ip\u003e -i ./jumpbox.key`\n\n4. ssh to a component\n\n`$ BOSH_ALL_PROXY=socks5://localhost:5000 bosh -e \u003cyour-alias\u003e -d cf ssh \u003cinstance\u003e`\n\n(*note that \u003cinternal_ip\u003e is the property you defined when used bosh `create-env` command)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherrjulz%2Fbosh-lite-softlayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fherrjulz%2Fbosh-lite-softlayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherrjulz%2Fbosh-lite-softlayer/lists"}