{"id":19652818,"url":"https://github.com/charles-hsiao/packer-aws-ubuntu-ami","last_synced_at":"2026-04-29T15:03:31.348Z","repository":{"id":85558939,"uuid":"159138012","full_name":"charles-hsiao/packer-aws-ubuntu-ami","owner":"charles-hsiao","description":"Packer repo for AWS Ubuntu AMI build","archived":false,"fork":false,"pushed_at":"2018-12-04T06:09:50.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T01:47:33.106Z","etag":null,"topics":["ami","aws","aws-ami","hashicorp","packer","packer-scripts"],"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/charles-hsiao.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-26T08:48:25.000Z","updated_at":"2018-12-04T06:09:49.000Z","dependencies_parsed_at":"2023-04-18T11:07:01.908Z","dependency_job_id":null,"html_url":"https://github.com/charles-hsiao/packer-aws-ubuntu-ami","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/charles-hsiao/packer-aws-ubuntu-ami","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charles-hsiao%2Fpacker-aws-ubuntu-ami","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charles-hsiao%2Fpacker-aws-ubuntu-ami/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charles-hsiao%2Fpacker-aws-ubuntu-ami/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charles-hsiao%2Fpacker-aws-ubuntu-ami/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charles-hsiao","download_url":"https://codeload.github.com/charles-hsiao/packer-aws-ubuntu-ami/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charles-hsiao%2Fpacker-aws-ubuntu-ami/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260026272,"owners_count":22947765,"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":["ami","aws","aws-ami","hashicorp","packer","packer-scripts"],"created_at":"2024-11-11T15:12:15.514Z","updated_at":"2026-04-29T15:03:26.311Z","avatar_url":"https://github.com/charles-hsiao.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# packer-aws-ubuntu-ami\n\n## Installation\n\n### 1. Set-up AWS credentials\nPlease reference: [Configuring the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html)\n\n### 2. Install Packer: [Official Document](https://www.packer.io/intro/getting-started/install.html)\nOn Mac\n```\nbrew install packer\n```\n\nOn Ubuntu\n```\n# Download the latest precompiled binary, get the suitable package here: https://www.packer.io/downloads.html\n# ex: https://releases.hashicorp.com/packer/1.3.2/packer_1.3.2_linux_amd64.zip\nwget ${PACKAGE_URL} \n# ex: packer_1.3.2_linux_amd64.zip\nunzip ${PACKER_ZIP_FILE} \n```\n\n### 3. Install jq: [Official Download website](https://stedolan.github.io/jq/download/)\nOn Mac\n```\nbrew install jq\n```\n\nOn Ubuntu\n```\nsudo apt-get install jq\n```\n\n### 4. Install gnu-sed (Only on Mac)\nOSX's sed is BSD version. In order to align the sed command on Ubuntu GNU version, please install gnu-sed.\nOn Mac\n```\nbrew install gnu-sed\n``` \n\n## Usage\n\n### Use init-packer.sh to build AMI\ninit-packer.sh will check:\n1. Upstream Ubuntu official AMI\n2. Latest git commit hash \n\nCommand\n```\nbash init-packer.sh ${AWS_OWNER} ${AWS_REGION} ${UBUNTU_VERSION} ${AWS_VOLUME} ${AMI_ARCH}\n```\n\nExample\n```\nbash init-packer.sh 100005588888 ap-southeast-1 18.04 hvm:ebs-ssd amd64\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharles-hsiao%2Fpacker-aws-ubuntu-ami","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharles-hsiao%2Fpacker-aws-ubuntu-ami","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharles-hsiao%2Fpacker-aws-ubuntu-ami/lists"}