Skip to content

Latest commit

 

History

History

ECS_RDS

Hyperglance logo

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.

Hyperglance deployment

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.

Pre-Requisites

Before you can deploy, you will need:

  1. Terraform CLI - Install instructions
  2. AWS CLI - Install instructions
  3. Configure AWS CLI to have a valid login for the account you wish to deploy to - AWS quick start

Quick Start

  1. Follow the pre-requisite steps above.

  2. Clone our repo or download the zip

     git clone https://github.com/hyperglance/deploy.git
  3. Navigate to the terraform deployment directory

    cd deploy/AWS/Terraform/ECS_RDS
    
  4. Edit the myvars.tfvars file included in this directory and populate your variables accordingly

  5. Deploy the stack:

     terraform init
     terraform apply -var-file=myvars.tfvars
    
  6. 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

Login using the hostname of the ALB. Default credentials:

Username: admin
Password: admin

It is highly recommended you change the password once you login.

  • Follow our guide here to apply your license
  • Follow our guide here to add your first AWS account

Pulling updates

Using the AWS CLI, trigger a new deployment:

aws ecs update-service --cluster <cluster name> --service <service name> --force-new-deployment --region <region>

Questions

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.

Contributions

Are welcome!