{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/bosh-bootloader/issues/285","repository_url":"https://api.github.com/repos/cloudfoundry/bosh-bootloader","labels_url":"https://api.github.com/repos/cloudfoundry/bosh-bootloader/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh-bootloader/issues/285/comments","events_url":"https://api.github.com/repos/cloudfoundry/bosh-bootloader/issues/285/events","html_url":"https://github.com/cloudfoundry/bosh-bootloader/issues/285","id":307147993,"number":285,"title":"BBL cloud-config yaml for deployment on AWS with Bosh 2.0 and cf-deployment","user":{"login":"apsraps","id":33860702,"avatar_url":"https://avatars1.githubusercontent.com/u/33860702?v=4","gravatar_id":"","url":"https://api.github.com/users/apsraps","html_url":"https://github.com/apsraps","followers_url":"https://api.github.com/users/apsraps/followers","following_url":"https://api.github.com/users/apsraps/following{/other_user}","gists_url":"https://api.github.com/users/apsraps/gists{/gist_id}","starred_url":"https://api.github.com/users/apsraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apsraps/subscriptions","organizations_url":"https://api.github.com/users/apsraps/orgs","repos_url":"https://api.github.com/users/apsraps/repos","events_url":"https://api.github.com/users/apsraps/events{/privacy}","received_events_url":"https://api.github.com/users/apsraps/received_events","type":"User","site_admin":false},"labels":[{"id":371026827,"url":"https://api.github.com/repos/cloudfoundry/bosh-bootloader/labels/unscheduled","name":"unscheduled","color":"D9D9D9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-21T07:58:43Z","updated_at":"2018-03-21T16:06:15Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am deploying CF using BBL, BOSH 2.0 and cf-deployment on AWS.\r\nFollowing all steps from\r\nhttps://docs.cloudfoundry.org/deploying/cf-deployment/index.html\r\n\r\nUsing bbl 6.4.7 (linux/amd64)\r\n\r\nDoing a BBL up using \r\nbbl up \\\r\n    --iaas aws \\\r\n    --aws-access-key-id YOUR-ACCESS-KEY-ID \\\r\n    --aws-secret-access-key YOUR-SECRET-ACCESS-KEY \\\r\n    --aws-region YOUR-AWS-REGION \\\r\n    --lb-type cf \\\r\n    --lb-cert YOUR-CERT.crt \\\r\n    --lb-key YOUR-KEY.key \\\r\n    --lb-domain YOUR-SYSTEM-DOMAIN\r\n\r\n1) After Deploying Bosh\r\n$bbl print-env shows the output correctly, able to login to bosh using bosh log-in\r\nAWS console shows the jumpbox/0, bosh/0 and bbl nat instance as running\r\n\r\n2) This creates cloud-config.yml and ops.yml and after uploading the stemcell, we try to deploy CF using\r\nbosh -e cloudconfig-env -d cf deploy cf-deployment/cf-deployment.yml --vars-store vars/cloud-config-vars.yml -v system_domain=test.com\r\n\r\nThis works partially OK and creates the CF components on AWS with vm_type as m4.large (as that is the default in ops.yml) Some instances are not created as we run out of AWS quota for m4.large\r\n\r\n3) We wanted to change the m4.large to another value during the deployment to manage quota on AWS and have changed the ops.yml file for the same. Change vm_type minimal and vm_type small to other values\r\n\r\n4) repeated the steps for bosh deploy but it doesnt pick up the updated ops.yml. We tried bosh update cloud-config cloud-config.yml. But this messes up the bosh deploy as the cloud-config.yml generated by bbl is still the template and doesnt have the aws specific replacements from ops.yml\r\n\r\n5) If we try to change the instance type from AWS EC2 console and restart, the VMs go into unresponsive state\r\n\r\nCan you please suggest what options we have to update the vm_type for instances when doing a bosh-deploy?\r\n\r\nThanks,"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/bosh-bootloader/issues/comments/374995906","html_url":"https://github.com/cloudfoundry/bosh-bootloader/issues/285#issuecomment-374995906","issue_url":"https://api.github.com/repos/cloudfoundry/bosh-bootloader/issues/285","id":374995906,"user":{"login":"genevieve","id":12158641,"avatar_url":"https://avatars2.githubusercontent.com/u/12158641?v=4","gravatar_id":"","url":"https://api.github.com/users/genevieve","html_url":"https://github.com/genevieve","followers_url":"https://api.github.com/users/genevieve/followers","following_url":"https://api.github.com/users/genevieve/following{/other_user}","gists_url":"https://api.github.com/users/genevieve/gists{/gist_id}","starred_url":"https://api.github.com/users/genevieve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genevieve/subscriptions","organizations_url":"https://api.github.com/users/genevieve/orgs","repos_url":"https://api.github.com/users/genevieve/repos","events_url":"https://api.github.com/users/genevieve/events{/privacy}","received_events_url":"https://api.github.com/users/genevieve/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T16:06:15Z","updated_at":"2018-03-21T16:06:15Z","author_association":"MEMBER","body":"In order to change the cloud-config uploaded to the director with bbl, you want to provide your own ops-file in `bbl-state-dir/cloud-config/your-ops-file.yml`. Then you can run `bbl up`. \r\n\r\nAt the end of bbl up, bbl will run `bosh update-cloud-config cloud-config/cloud-config.yml -o cloud-config/ops.yml -o cloud-config/your-ops-file.yml`"}}
{"actor":{"display_login":"genevieve"}}