NOTE: The ECS-based deployments are not regularly maintained. As such you may experience issues when using them. We hope this will serve as an example for your own IaC efforts and if you are not able to resolve any problems yourself feel free to reach out to our support desk. For the best experience we recommend you use an actively maintained deployment option, see: EC2 or our Helm chart which supports EKS and other k8s distributions.
Enable Hyperglance to automate, fix and optimize your cloud.
This repository contains Terraform configurations, that deploy an ECS cluster backed by FARGATE, ECS task (Hyperglance), EFS mounts to persist required data, an Aurora Serverless RDS cluster and associated IAM roles and policies. Giving you the power to automate your cloud and fix configuration issues quickly & easily.
Before you can deploy, you will need:
- Terraform CLI - Install instructions
- AWS CLI - Install instructions
- Configure AWS CLI to have a valid login for the account you wish to deploy to - AWS quick start
-
Follow the pre-requisite steps above.
-
Clone our repo or download the zip
git clone https://github.com/hyperglance/deploy.git
-
Navigate to the terraform deployment directory
cd deploy/AWS/Terraform/ECS_RDS
-
Edit the myvars.tfvars file included in this directory and populate your variables accordingly
-
Deploy the stack:
terraform init terraform apply -var-file=myvars.tfvars
-
Once complete, the following populated values will be returned:
alb_address = "<ALB ADDRESS>" note = "Allow 5-10 minutes for the ECS container to become available on the ALB"
That's it - Hyperglance is now deployed in your environment and ready for configuration!
Login using the hostname of the ALB. Default credentials:
Username: admin
Password: admin
It is highly recommended you change the password once you login.
Using the AWS CLI, trigger a new deployment:
aws ecs update-service --cluster <cluster name> --service <service name> --force-new-deployment --region <region>
You can find a wealth of support documents, FAQs and guides on our website.
If something isn't right or you need further support, log a ticket with us and we'll be in touch to assist you.
Are welcome!