testgrinder
Go to testgrinder
  • Overview
  • testgrinder uses
    • Testing
      • User Acceptance Testing
      • Change Testing
      • Regression Testing
      • Performance Testing
      • Stress Testing
    • Data management
      • Data verification
    • Configuration management
    • Training videos development
  • Getting Started
    • Video: Get Started with testgrinder
    • First steps
    • Example Scripts
    • Writing your first scenario
    • Scenarios
    • Run reports
  • Writing Scenarios
    • Anatomy of Maximo UI
      • Maximo login page
      • Start Center
      • Application Screen
      • Value lists
      • Advanced Search
      • Targeting fields with no labels
    • Finding the right steps
    • Step autocompletion
    • Scenarios vs Scenario Outlines
    • Snippets and Templates
      • testgrinder Templates Project
      • testgrinder Snippets Project
  • Examples
    • Interacting with electronic signature dialog
    • Automated granting of application access
    • Add a job plan
    • Add an item
    • Add an item to storeroom
  • Administration
    • Accessing Maximo behind a firewall
    • Managing User Access
    • Using Git to Back Up and Version Control testgrinder Projects
  • Self Managed Private Cloud (SMPC)
    • testgrinder SaaS vs testgrinder SMPC
    • Releases
      • Version 1.0.8
      • Version 1.0.0
    • testgrinder Architecture
    • testgrinder Configuration
      • Configuration Files
      • Database Stored Settings
    • Deployment Instructions
      • Prerequisites
      • Subscribing to testgrinder on AWS Marketplace
      • Virtual Private Cloud
      • Security Groups
      • S3 Buckets
      • IAM Roles
      • Key Pair
      • Launch tg-app
      • Finalize Configuration File .env
      • Finalizing Database Stored Settings
      • Minimal Deployment Complete
      • Install SSL Certificate
      • Force HTTP to HTTPS
      • External Database
      • Configure Auto Scaling Group
        • Target Groups
        • Load Balancers
        • Launch Template
        • Auto Scaling Group
        • Finalize Auto Scale Group Deployment
    • Test the Deployment
    • Monitoring
    • Backup and Restore Database
Powered by GitBook
On this page
  • testgrinder service will be discontinued on January 31, 2025
  • testgrinder SMPC was discontinued as of February 1, 2024
  • Update tg_app_url Database Setting
  • Modifications to Launch Template
  • Refreshing tg-app Instances

Was this helpful?

  1. Self Managed Private Cloud (SMPC)
  2. Deployment Instructions
  3. Configure Auto Scaling Group

Finalize Auto Scale Group Deployment

PreviousAuto Scaling GroupNextTest the Deployment

Last updated 1 year ago

Was this helpful?

testgrinder service will be discontinued on January 31, 2025

testgrinder SMPC was discontinued as of February 1, 2024

Update tg_app_url Database Setting

Once you switch to managing tg-app instances by an Auto Scaling Group you will need to change the tg_app_url database setting to make it point to the internal load balancer DNS name rather than private tg-app instance address. See

Once the internal load balancer is created, you may get its DNS name from its Details in the EC2 console. The DNS name should look similar to this:

tg-prod-app-internal-21573d03dca46ae3.elb.us-east-1.amazonaws.com

From which you can construct the value for the tg_app_url database setting by appending :3000/ra to it. In the end it should look similar to this:

tg-prod-app-internal-21573d03dca46ae3.elb.us-east-1.amazonaws.com:3000/ra

Modifications to Launch Template

At some point you will find that you need to make changes to the Launch Template. For example, to update the tg-app AMI ID during an upgrade. AWS does not allow editing launch templates. Rather, it will offer you to create a new version of the template. When creating a new version of the Launch Template it is important to make sure that you are making a new version based on the Latest version. If you followed this guide when setting up the Auto Scaling group, no changes need to do there as it is configured to work with the Latest version of the launch template.

Refreshing tg-app Instances

Auto Scaling group will not automatically refresh tg-app instances when the launch template changes. You will need to kick it off yourself by going to the ASG in the EC2 console and initiating the instance refresh.

Finalize Database Stored Settings