Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.17 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.17 KB

Pelias Elasticsearch Packer Configuration

This repository contains Packer configuration for creating Elasticsearch Amazon Machine Images (AMIs).

These AMIs are most useful with the Terraform scripts for using Elasticsearch with Pelias.

Supported versions

As of git tag v7.0.0, this project supports Elasticsearch 7 only. For Elasticsearch 5 or 6 support, use earlier versions.

Setup Instructions

  1. (optional) Configure Elasticsearch version

This step is required only if you don't wish to use the default version of Elasticsearch, which will always be the latest version of Elasticsearch supported by Pelias.

Within the packer directory, create a file called variables.json and fill it in using the following template:

{
  "elasticsearch_version": "7.16.1-amd64"
}
  1. Run packer

Then, run packer using the following command:

packer build -var-file=variables.json pelias-elasticsearch.json

In under 5 minutes Packer should have built an AMI.