Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.93 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.93 KB

Terraform scripts for elastic ECE resources

This tree provides a basic installation scripts for an installation of Elastic 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.

The aws setup is done assuming MFA is enabled.


Usage

View a description of Makefile targets with help via the self-documenting makefile.

$ 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 variables

Edit terraform.tfvars with the right values based on your required.

  1. Initialize environment

After setting up the MFA , run make init.

  1. Plan

To check what will be created and see if there is any issue, you can use make plan.

  1. Provision machine

To launch the desired AWS machine , you can run make apply.

  1. 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.

  1. Remove everything

After testing, you can delete the servers and clean everything using make destroy and make clean.