Skip to content

wearethefoos/cookbook-elasticsearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Installs and configures ElasticSearch on AWS OpsWorks.

Requirements

  • AmazonLinux AMI
  • Chef 0.9

Usage

To use these cookbooks with OpsWorks, include this repo as a submodule into your own cookbooks as a recipe. In opsworks, create a new layer with a short name of elasticsearch. Add your repository as the Custom Chef Recipes repository. Next configure OpsWorks to run these recipes:

  • Setup: elasticsearch::install, elasticsearch::packages
  • Configure: elasticsearch

Add an EBS volume with a mount point of /data.

You'll also need to set up a security group for these servers that allows port 9200 from the appropriate sources.

Then just boot up instances for the elasticsearch layer. As new servers are added, they will automatically cluster with each other.

Basic Auth

HTTP basic auth is supported by installing this plugin elasticsearch-http-basic. All that's needed to make this work on OpsWorks is to add the appropriate configuration to the OpsWorks Stack Custom Chef JSON.

{
  "elasticsearch": {
    "basic_auth": {
      "user": "username",
      "password": "password"
    }
  }
}

About

Build ElasticSearch on AmazonLinux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%