Browse the Repo

file-type-icon.circleci
file-type-icon_docs
file-type-iconexamples
file-type-iconelasticsearch-docker
file-type-iconelasticsearch-only-cluster
file-type-iconelk-amis
file-type-iconall-in-one
file-type-iconREADME.md
file-type-iconall-in-one.json
file-type-iconapp-server
file-type-iconcollectd
file-type-iconelastalert
file-type-iconelasticsearch
file-type-iconfilebeat
file-type-iconkibana
file-type-iconlogstash
file-type-iconREADME.md
file-type-iconelk-multi-cluster
file-type-iconelk-single-cluster
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconCONTRIBUTING.md
file-type-iconLICENSE.md
file-type-iconREADME.md

Browse the Repo

file-type-icon.circleci
file-type-icon_docs
file-type-iconexamples
file-type-iconelasticsearch-docker
file-type-iconelasticsearch-only-cluster
file-type-iconelk-amis
file-type-iconall-in-one
file-type-iconREADME.md
file-type-iconall-in-one.json
file-type-iconapp-server
file-type-iconcollectd
file-type-iconelastalert
file-type-iconelasticsearch
file-type-iconfilebeat
file-type-iconkibana
file-type-iconlogstash
file-type-iconREADME.md
file-type-iconelk-multi-cluster
file-type-iconelk-single-cluster
file-type-iconmodules
file-type-icontest
file-type-icon.gitignore
file-type-iconCODEOWNERS
file-type-iconCONTRIBUTING.md
file-type-iconLICENSE.md
file-type-iconREADME.md
Elasticsearch (self-hosted)

Elasticsearch (self-hosted)

Deploy a self-hosted Elasticsearch cluster. Supports automatic bootstrap, zero-downtime rolling deployment, auto healing, backup, and recovery.

Code Preview

Preview the Code

mobile file icon

README.md

down

ELK All in One AMIs

This folder shows an example of how to use Packer to create Amazon Machine Images (AMIs) that have all of the ELK components (Elasticsearch, Kibana, Logstash and Filebeat) installed on top of:

  1. Ubuntu 16.04
  2. Ubuntu 18.04
  3. Amazon Linux 2

Quick start

To build the ELK All-in-One AMI:

  1. git clone this repo to your computer.
  2. Install Packer.
  3. Configure your AWS credentials using one of the options supported by the AWS SDK. Usually, the easiest option is to set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
  4. Update the variables section of the all-in-one.json Packer template to specify the AWS region and Elasticsearch version you wish to use.
  5. To build an Ubuntu AMI for Elasticsearch: packer build -only=elk-aio-ami-ubuntu all-in-one.json.
  6. To build an Amazon Linux AMI for Elasticsearch: packer build -only=elk-aio-ami-amazon-linux all-in-one.json.

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?