Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

Elasticsearch-Terraform-ECS-EFS

A Production ready ECS cluster of elasticsearch 1.7, Use docker on local and use terraform module to deploy on ECS

For local development have a look at this example docker-compose.yml config:

elasticsearch:
  build: ./elasticsearch/
  mem_limit: 512m
  ports:
    - "9200:9200"
    - "9300:9300"
  volumes:
    - ./elasticsearch/es_data:/usr/share/elasticsearch/data

For deployment on AWS, I had included terraform code to create:

  1. EFS: Used as a persistent storage for our ElasticSearch Cluster
  2. ECS: Cluster and Task definition
  3. ELB: Internal ELB use with private subnet
  4. SG
  5. IAM Role

Change terraform variables before going ahead

Look terraform/es/variables.tf

Change name, image_elasticsearch, vpc_id, etc as per your need. The image name provided is being used by me which is hosted on ECR.

TODO

Add more description

Author

Tushar Kant tushar91delete@gmail.com

About

A Production ready ECS cluster of elasticsearch 1.7, Use docker on local and use terraform module to deploy on ECS

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.