ELK playground for OpsSchool logging sessions
-
Clone the project
git clone https://github.com/yahel2410/opsschool-logging cd opsschool-logging
-
Create a file called
terraform.tfvars
with the required variables (replace<>
with your values):aws_account_id = "<>" aws_region = "<>" ssh_key_name = "<>" # ec2 key-pair name prefix_name = "<>" # your name aws_profile = "<>" # optional
-
Run
terraform init terraform apply
-
If everything went well,
terraform
will output the public ip of the instance and the Kibana url.Notice: It takes 3-5 minutes for the ELK services to start
-
Access your instance via ssh or Kibana url
Notice: The instance is created in the default vpc