Finalizing Database Stored Settings
testgrinder service will be discontinued on January 31, 2025
testgrinder SMPC was discontinued as of February 1, 2024
You complete the initial deployment by setting several database stored settings, some of which are required and some are optional. The table below lists the settings that you need to focus on during the initial deployment. See Database Stored Settings for how to apply the changes.
aws_vpc_subnet_ids
Yes
An array of subnet ids in which tg-app can launch tg-bots
max_aws_instances
No default: 20
Hard limit to how many EC2 instances tg-apps are allowed to launch. Raise to a higher number if required.
ec2_instance_key_name
No default: none
If specified, tg-bots will be launched with this key assigned
media_s3_bucket
Yes
Name of the S3 bucket where testgrinder should store captured screenshots and videos
user_files_s3_bucket
Yes
Name of the S3 bucket where user files attached to projects should be stored
tg_api_url
Yes
URL that tg-bots will use to connect to tg-app. Should be 'TG_APP_PRIVATE_HOST:3000/ra' where TG_APP_PRIVATE_HOST is either tg-app DNS name on the private network, or, if tg-apps are managed by an Auto Scaling Group, DNS name of the internal Load Balancer. tg-bot will not be able to communicate with tg-app if you use public tg-app DNS name here.
aws_runner_image_id
Yes
ID of the AMI to be used for launching tg-bots
aws_runner_security_groups
Yes
max_runners
No default: 10
Limit of how many tg-bots may run at the same time.
ec2_runner_instance_type
No default: c6a.large
EC2 Instance Type to use when launching tg-bots. It needs to have x86_64 architecture, at least 4GB of RAM, and preferably be compute optimized.
aws_runner_iam_role
Yes
Generate Settings Script
To change database settings, first export the script with the current settings as described below. Then make changes to the script and run it to apply the changes.
substitute my-tg-app with the public domain of your tg-app instance
testgrinder is deployed under ubuntu user testgrinder
When running the export-settings script, supply the name of the output script as an argument:
Example script for setting database stored settings
This is a shortened list of the generated my_settings script listing only the settings that are important during the initial deployment. Make sure to substitute your own values before running. This is not an exhaustive list of available settings. See the full list in Database Stored Settings
Apply the changes by logging in to the tg-app server via ssh as user ubuntu and then running the script as user testgrinder, assuming the script is stored in /home/testgrinder/tg-app/my_settings:
Last updated