Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tahaderouiche/terraform
Terraform elastic installation scripts
https://github.com/tahaderouiche/terraform
cloud elasticsearch terraform
Last synced: 24 days ago
JSON representation
Terraform elastic installation scripts
- Host: GitHub
- URL: https://github.com/tahaderouiche/terraform
- Owner: tahaderouiche
- Created: 2018-09-22T14:25:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-24T14:30:49.000Z (about 6 years ago)
- Last Synced: 2024-10-29T23:43:38.156Z (2 months ago)
- Topics: cloud, elasticsearch, terraform
- Language: Makefile
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraform scripts for elastic ECE resources
This tree provides a basic installation scripts for an installation of [Elastic Cloud Enterprise](https://www.elastic.co/cloud/enterprise) on both aws and gcp. This will install an ECE setup with single machine for testing purposes.
For a production grade setup, you can use follow the documentation [steps](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-installing.html).The aws setup is done assuming [MFA](https://aws.amazon.com/iam/details/mfa/) is enabled.
- - - -
# UsageView a description of Makefile targets with help via the [self-documenting makefile](https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html).
$ make
apply Apply the terraform script
clean Clean all unecessary temp files
destroy Destroy current terraform setup
help Show this help.
init Initialise the terraform environment
install Apply the terraform script
plan Plan the setup
show Show current terraform setup
ssh Ssh to remote host created with terraform# Detailed steps to launch ECE with terraform
1. Edit variablesEdit `terraform.tfvars` with the right values based on your required.
2. Initialize environment
After setting up the MFA , run `make init`.
3. Plan
To check what will be created and see if there is any issue, you can use `make plan`.
4. Provision machine
To launch the desired AWS machine , you can run `make apply`.
5. Install ECE
Installation is triggered using `make install`. After the installation is completed, it will generate a username and password to connect to the admin console UI.
6. Remove everything
After testing, you can delete the servers and clean everything using `make destroy` and `make clean`.