Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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!