Skip to content

scalr-eap/iacp-rds-install

Repository files navigation

scalr-install

Install and configure Scalr IaCP with Terraform on AWS with an RDS database and ALB load balancer

This template will install Scalr on a single server

This template is configured as follows.

  1. Built for AWS - Expects credentials to be provided via Environment Variables
  2. Auto selects latest Canonical Ubuntu 16.04 LTS AMI for the chosen region
  3. Uses DNS name generated by the ALB
  4. Generates self-signed cert for Scalr/ALB using tls_self_signed_cert. You can replace the cert later.

To run via CLI

  1. Pull the repo.
  2. Upload your public key to AWS.
  3. Copy your Scalr license to ./license/license.json in the repo
  4. Copy your private ssh key to ./ssh/id_rsa in the repo
  5. Set values for the following variables in terraform.tfvars(.json) or provide values on the command line at runtime
  6. region - AWS Region to use.
  7. key_name - Key in AWS.
  8. token - Your packagecloud.io download token supplied with the license.
  9. vpc - VPC to be used. Must have an associated internet gateway to enable egress from all subnets.
  10. instance_type - Must be 4GB ram. t3.medium recommended.
  11. name_prefix - 1-3 character prefix to be added to all instance names.
  12. Set your access keys for AWS using environment variables export AWS_ACCESS_KEY_ID=<access_key> AWS_SECRET_ACCESS_KEY=<secret_key>
  13. Run terraform init;terraform apply and watch the magic happen.

Note: This represents the baseline configuration. It is up to you to add things like backup policies, autoscaling, etc to the configuration.

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published