{"action":"created","issue":{"url":"https://api.github.com/repos/tjinjin/try-stretcher/issues/55","repository_url":"https://api.github.com/repos/tjinjin/try-stretcher","labels_url":"https://api.github.com/repos/tjinjin/try-stretcher/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/tjinjin/try-stretcher/issues/55/comments","events_url":"https://api.github.com/repos/tjinjin/try-stretcher/issues/55/events","html_url":"https://github.com/tjinjin/try-stretcher/issues/55","id":137191207,"number":55,"title":"Auto healing発動時にサーバがサービスインするようにしたい","user":{"login":"tjinjin","id":10205123,"avatar_url":"https://avatars.githubusercontent.com/u/10205123?v=3","gravatar_id":"","url":"https://api.github.com/users/tjinjin","html_url":"https://github.com/tjinjin","followers_url":"https://api.github.com/users/tjinjin/followers","following_url":"https://api.github.com/users/tjinjin/following{/other_user}","gists_url":"https://api.github.com/users/tjinjin/gists{/gist_id}","starred_url":"https://api.github.com/users/tjinjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjinjin/subscriptions","organizations_url":"https://api.github.com/users/tjinjin/orgs","repos_url":"https://api.github.com/users/tjinjin/repos","events_url":"https://api.github.com/users/tjinjin/events{/privacy}","received_events_url":"https://api.github.com/users/tjinjin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-29T08:55:33Z","updated_at":"2016-02-29T10:05:57Z","closed_at":null,"body":"auto scalingには指定した台数のインスタンスを冗長構成で維持する仕組みがあり、意図しない形でインスタンスの起動・削除が行われる。そのため、サーバが起動したらchef -> app/frontのデプロイイベントを発火させサービスイン状態に持っていく必要がある。"},"comment":{"url":"https://api.github.com/repos/tjinjin/try-stretcher/issues/comments/190136635","html_url":"https://github.com/tjinjin/try-stretcher/issues/55#issuecomment-190136635","issue_url":"https://api.github.com/repos/tjinjin/try-stretcher/issues/55","id":190136635,"user":{"login":"tjinjin","id":10205123,"avatar_url":"https://avatars.githubusercontent.com/u/10205123?v=3","gravatar_id":"","url":"https://api.github.com/users/tjinjin","html_url":"https://github.com/tjinjin","followers_url":"https://api.github.com/users/tjinjin/followers","following_url":"https://api.github.com/users/tjinjin/following{/other_user}","gists_url":"https://api.github.com/users/tjinjin/gists{/gist_id}","starred_url":"https://api.github.com/users/tjinjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjinjin/subscriptions","organizations_url":"https://api.github.com/users/tjinjin/orgs","repos_url":"https://api.github.com/users/tjinjin/repos","events_url":"https://api.github.com/users/tjinjin/events{/privacy}","received_events_url":"https://api.github.com/users/tjinjin/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T10:05:57Z","updated_at":"2016-02-29T10:05:57Z","body":"chefはpackerで全部AMIで実行させといて、アプリだけconsulでとかにした方がいいのかな。chefもイベント受け取れるようにしておけば、あとから変更も可能。ただ、そうするとAMIをベースイメージをロール数分容易しないといけない気がする。"}}