{"action":"created","issue":{"url":"https://api.github.com/repos/convox/rack/issues/472","repository_url":"https://api.github.com/repos/convox/rack","labels_url":"https://api.github.com/repos/convox/rack/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/convox/rack/issues/472/comments","events_url":"https://api.github.com/repos/convox/rack/issues/472/events","html_url":"https://github.com/convox/rack/issues/472","id":142786349,"number":472,"title":"Destroy ELB when process scaled to `0`","user":{"login":"mwarkentin","id":67560,"avatar_url":"https://avatars.githubusercontent.com/u/67560?v=3","gravatar_id":"","url":"https://api.github.com/users/mwarkentin","html_url":"https://github.com/mwarkentin","followers_url":"https://api.github.com/users/mwarkentin/followers","following_url":"https://api.github.com/users/mwarkentin/following{/other_user}","gists_url":"https://api.github.com/users/mwarkentin/gists{/gist_id}","starred_url":"https://api.github.com/users/mwarkentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwarkentin/subscriptions","organizations_url":"https://api.github.com/users/mwarkentin/orgs","repos_url":"https://api.github.com/users/mwarkentin/repos","events_url":"https://api.github.com/users/mwarkentin/events{/privacy}","received_events_url":"https://api.github.com/users/mwarkentin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-22T21:28:31Z","updated_at":"2016-03-22T21:44:25Z","closed_at":null,"body":"When my `docker-compose.yml` has a `redis` or `postgres` service defined, but I'm using an external service on convox, I scale that process to `0`, as I don't need those containers running.\r\n\r\nHowever, the ELB which has been created for these processes sticks around, and costs me money (I believe $18/month/ELB).\r\n\r\nThe ELB should either be removed when I scale to `0`, or I should have some way of specifying that I want the ELB removed (option on `convox scale`?)."},"comment":{"url":"https://api.github.com/repos/convox/rack/issues/comments/200042854","html_url":"https://github.com/convox/rack/issues/472#issuecomment-200042854","issue_url":"https://api.github.com/repos/convox/rack/issues/472","id":200042854,"user":{"login":"mwarkentin","id":67560,"avatar_url":"https://avatars.githubusercontent.com/u/67560?v=3","gravatar_id":"","url":"https://api.github.com/users/mwarkentin","html_url":"https://github.com/mwarkentin","followers_url":"https://api.github.com/users/mwarkentin/followers","following_url":"https://api.github.com/users/mwarkentin/following{/other_user}","gists_url":"https://api.github.com/users/mwarkentin/gists{/gist_id}","starred_url":"https://api.github.com/users/mwarkentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwarkentin/subscriptions","organizations_url":"https://api.github.com/users/mwarkentin/orgs","repos_url":"https://api.github.com/users/mwarkentin/repos","events_url":"https://api.github.com/users/mwarkentin/events{/privacy}","received_events_url":"https://api.github.com/users/mwarkentin/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T21:44:25Z","updated_at":"2016-03-22T21:44:25Z","body":"I'm not too clear on where all we need to be able to reference the ELB id - is the issue that we need to be able to reference it in order to register our containers with the ELB in ECS if we scale it back up?"}}