Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julioaranajr/learning-packer
Working with Packer
https://github.com/julioaranajr/learning-packer
ansible-playbook apache2 aws-ami hashicorp-terraform hcl packer
Last synced: 1 day ago
JSON representation
Working with Packer
- Host: GitHub
- URL: https://github.com/julioaranajr/learning-packer
- Owner: julioaranajr
- Created: 2022-10-24T15:26:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-21T20:36:47.000Z (over 1 year ago)
- Last Synced: 2024-09-18T04:32:12.146Z (10 days ago)
- Topics: ansible-playbook, apache2, aws-ami, hashicorp-terraform, hcl, packer
- Language: HCL
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Working with Packer
## Building (AWS AMI) Using Packer
## Getting Started with AWS
HashiCorp Packer automates the creation of any type of machine image, including AWS AMIs.
You'll build an Ubuntu machine image on AWS in this labs.## Installing Packer
Homebrew is a free and open-source package management system for Mac OS X.
Install the official Packer formula from the terminal.First, install the HashiCorp tap, a repository of all our Homebrew packages.
```bash
brew tap hashicorp/tap
```Now, install Packer with hashicorp/tap/packer
``` bash
brew install hashicorp/tap/packer
```To update to the latest, run
```bash
brew upgrade hashicorp/tap/packer
```## Verifying the Installation
After installing Packer, verify the installation worked by opening a new
command prompt or console, and checking that packer is available:``bash
packer --version
``If you get an error that packer could not be found, then your PATH environment variable was not set up properly.
Please go back and ensure that your PATH variable contains the directory which has Packer installed.Otherwise, Packer is installed and you're ready to go!