Skip to content

Packer configuration for creating Elasticsearch AMIs

Notifications You must be signed in to change notification settings

pelias/packer-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Packer configuration for creating Elasticsearch AMIs

Resources

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published