{"id":18901284,"url":"https://github.com/regular/ec2-chef-solo-github-deploy","last_synced_at":"2026-03-04T01:30:22.377Z","repository":{"id":7088566,"uuid":"8379240","full_name":"regular/ec2-chef-solo-github-deploy","owner":"regular","description":"provision EC2 instances with chef cookbooks stored on github","archived":false,"fork":false,"pushed_at":"2013-02-27T10:59:06.000Z","size":128,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T10:13:14.333Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/regular.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}},"created_at":"2013-02-23T17:56:23.000Z","updated_at":"2014-01-12T05:06:31.000Z","dependencies_parsed_at":"2022-08-27T22:02:23.378Z","dependency_job_id":null,"html_url":"https://github.com/regular/ec2-chef-solo-github-deploy","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/regular%2Fec2-chef-solo-github-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regular%2Fec2-chef-solo-github-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regular%2Fec2-chef-solo-github-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regular%2Fec2-chef-solo-github-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regular","download_url":"https://codeload.github.com/regular/ec2-chef-solo-github-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239886984,"owners_count":19713584,"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-11-08T08:55:41.078Z","updated_at":"2026-03-04T01:30:22.266Z","avatar_url":"https://github.com/regular.png","language":"Shell","readme":"If you store your chef cookbooks along with your code in a private github repository, it might be useful to use that repository to provision EC2 instances. That's what these scripts aim to do.\n\nHow it works\n============\nYou put the files make-instance.sh and bootstrap.sh.template into your own repository. The scripts expect a directory structure like this\n\n    make-instance.sh\n    bootstrap.sh.template\n    chef\n      + roles\n      + cookbooks\n      \nIf you run\n    \n    ./make-instance.sh \u003crolename\u003e\n\nthe following will happen\n\n- a bootstrap.sh file is created from bootstrap.sh.template\n- a new EC2 instance will be created and started using bootstrap.sh\n- bootstrap.sh installs chef-solo and its dependencies\n- it then clones the git repository you where in when running make-instance.sh\n- then it runs chef-solo with a run-list containing the role specified\n\nmake-instance.sh will put the private key found in git_id into boostrap.sh to clone the git repository onto the new EC2 instance via git+ssh. If make-instance can't find a file called git_id, it will ask you to create one using ssh-keygen. Use an empty passphrase when creating a key pair. The public key in git_id.pub goes into your github user profile.\n\nSetup local machine\n===================\nOn your local machine, you will need the following\n\n+ ec2-api-tools (install using homebrew or apt-get)\n+ environment varialbes set up correctly. See [here](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SettingUp_CommandLine.html)\n+ open-ssh (for ssh-keygen)\n\nLicence: MIT\n\nHave fun!\n -- regular\n \nheavily inspired by [lynaghk/vagrant-ec2](http://github.com/lynaghk/vagrant-ec2)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregular%2Fec2-chef-solo-github-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregular%2Fec2-chef-solo-github-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregular%2Fec2-chef-solo-github-deploy/lists"}