{"id":19330730,"url":"https://github.com/versent/buildkite-stack","last_synced_at":"2026-06-22T09:32:02.885Z","repository":{"id":41211549,"uuid":"47723526","full_name":"Versent/buildkite-stack","owner":"Versent","description":null,"archived":false,"fork":false,"pushed_at":"2016-02-05T22:29:31.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-24T07:13:04.104Z","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/Versent.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":"2015-12-09T22:39:55.000Z","updated_at":"2021-10-27T15:42:21.000Z","dependencies_parsed_at":"2022-08-30T22:02:04.541Z","dependency_job_id":null,"html_url":"https://github.com/Versent/buildkite-stack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Versent/buildkite-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Versent%2Fbuildkite-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Versent%2Fbuildkite-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Versent%2Fbuildkite-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Versent%2Fbuildkite-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Versent","download_url":"https://codeload.github.com/Versent/buildkite-stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Versent%2Fbuildkite-stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34643595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10T02:37:44.377Z","updated_at":"2026-06-22T09:32:02.865Z","avatar_url":"https://github.com/Versent.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buildkite-stack\n\nThis is a pretty basic buildkite agent stack which starts a fixed number of agents using either on demand or spot pricing.\n\nIt is comprised of:\n\n* [AWS Cloudformation](https://aws.amazon.com/cloudformation/)\n* [coffer](https://github.com/wolfeidau/coffer)\n* [buildkite agent](https://github.com/buildkite/agent)\n* [buildkite-packer](https://github.com/wolfeidau/buildkite-packer)\n\n# usage\n\n* Use buildkite-packer to build an AMI in your AWS account, once this is done use this in the cloudformation.\n\n* Create a KMS key in the region your using with the alias `coffer`.\n\n* Create an S3 bucket to hold the coffer files.\n\n* Setup an ssh key and put it in your coffer file.\n\n```yaml\nfiles:\n  \"/var/lib/buildkite-agent/.ssh/id_rsa\":\n    mode: 0600\n    content: |\n        -----BEGIN RSA PRIVATE KEY-----\n        ...\n        -----END RSA PRIVATE KEY-----\n```\n\n* Encrypt and upload the coffer file\n\n```\nAWS_PROFILE=XX AWS_REGION=ap-southeast-2 coffer --coffer-file buildkite.coffer upload --bucket=\"XX-buildkite-coffers\"\n```\n\n* Run the create stack passing in the required parameters.\n\n```\nAWS_DEFAULT_PROFILE=XX AWS_DEFAULT_REGION=ap-southeast-2 ./create-stack.sh \\\n    Subnets=\"subnet-XX,subnet-XX\" AMIID=\"ami-XX\" CofferKeyARN=\"arn:aws:kms:ap-southeast-2:XXX:key/XXX\" \\\n    AgentToken=\"XXX\" ArtifactsS3BucketName=\"XX-buildkite-artifacts\" \\\n    CofferS3BucketName=\"XX-buildkite-coffers\" VpcId=vpc-XX AgentMetaData=\"gophers=true\" \\\n    EC2KeyName=\"XX-buildkite-agent\"\n```\n\n# Sponsor\n\nThis project was made possible by [Versent](http://www.versent.com.au).\n\n# License\n\nBSD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fversent%2Fbuildkite-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fversent%2Fbuildkite-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fversent%2Fbuildkite-stack/lists"}