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.
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
- Edit variables
Edit terraform.tfvars
with the right values based on your required.
- Initialize environment
After setting up the MFA , run make init
.
- Plan
To check what will be created and see if there is any issue, you can use make plan
.
- Provision machine
To launch the desired AWS machine , you can run make apply
.
- 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.
- Remove everything
After testing, you can delete the servers and clean everything using make destroy
and make clean
.