8000 GitHub - gsfjohnson/packer-elasticsearch · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elastic Search AWS AMI with Packer

Install Packer and add it to your PATH.

Create your elasticsearch AMI in AWS, using your access and secret keys.

This also installs Consul. This will need to be configured separately as it would be a good idea to join an existing consul cluster.

packer build \
  -var 'aws_access_key=your_key' \
  -var 'aws_secret_key=your_secret' \
  elastic.json

Or

packer build -var-file='path/to/packer_vars.json' elastic.json

Extra variables exposed:

  • aws_region (defaults to ap-southeast-2)
  • aws_instance_type (defaults to t2.medium)
  • ami_name_prefix (defaults to elasticsearch)
  • elastic_version (defaults to 1.5.0)

###Troubleshooting

  • Make sure you have set the AWS region and the correct source AMI (Ubuntu 14.x recommended) for that region
  • There will no doubt be a few more issues.. hit us up

###TODO

Templated Vagrantfile? The one generated needs to be manually modified.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0