{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6662","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6662/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6662/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6662/events","html_url":"https://github.com/NixOS/nixpkgs/issues/6662","id":59878272,"number":6662,"title":"Support sensible NixOS-on-EC2 startup from userdata","user":{"login":"copumpkin","id":2623,"avatar_url":"https://avatars.githubusercontent.com/u/2623?v=3","gravatar_id":"","url":"https://api.github.com/users/copumpkin","html_url":"https://github.com/copumpkin","followers_url":"https://api.github.com/users/copumpkin/followers","following_url":"https://api.github.com/users/copumpkin/following{/other_user}","gists_url":"https://api.github.com/users/copumpkin/gists{/gist_id}","starred_url":"https://api.github.com/users/copumpkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copumpkin/subscriptions","organizations_url":"https://api.github.com/users/copumpkin/orgs","repos_url":"https://api.github.com/users/copumpkin/repos","events_url":"https://api.github.com/users/copumpkin/events{/privacy}","received_events_url":"https://api.github.com/users/copumpkin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/feedback-requested","name":"feedback-requested","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T23:12:23Z","updated_at":"2015-03-04T23:16:45Z","closed_at":null,"body":"I know that lots of people use NixOps, but it'd also be nice to support EC2 autoscaling groups properly. To do that, we'd probably want some way to inject `configuration.nix` and channels into the machine via EC2 user-data. The obvious thing to do would be to just dump `configuration.nix` into the user-data, but unfortunately the field is limited to 16kb.\r\n\r\nAnyone have ideas on nice ways to do this? I'm putting it here because it seems largely like a NixOS feature independent of NixOps."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/77272073","html_url":"https://github.com/NixOS/nixpkgs/issues/6662#issuecomment-77272073","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/6662","id":77272073,"user":{"login":"copumpkin","id":2623,"avatar_url":"https://avatars.githubusercontent.com/u/2623?v=3","gravatar_id":"","url":"https://api.github.com/users/copumpkin","html_url":"https://github.com/copumpkin","followers_url":"https://api.github.com/users/copumpkin/followers","following_url":"https://api.github.com/users/copumpkin/following{/other_user}","gists_url":"https://api.github.com/users/copumpkin/gists{/gist_id}","starred_url":"https://api.github.com/users/copumpkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copumpkin/subscriptions","organizations_url":"https://api.github.com/users/copumpkin/orgs","repos_url":"https://api.github.com/users/copumpkin/repos","events_url":"https://api.github.com/users/copumpkin/events{/privacy}","received_events_url":"https://api.github.com/users/copumpkin/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T23:16:45Z","updated_at":"2015-03-04T23:16:45Z","body":"If we come up with a nice way to do this, it could also subsume the current `ec2-data.nix` we have in NixOS to get the SSH host key."}}