Launch tg-app

testgrinder service will be discontinued on January 31, 2025

testgrinder SMPC was discontinued as of February 1, 2024

You can manage EC2 instances on the Instances page in AWS EC2 console at https://console.aws.amazon.com/ec2

Launch tg-app

Using the tg-app AMI (see Subscribing to testgrinder on AWS Marketplace for how to find it), launch an instance of tg-app while making the following choices:

Launch the instance.

Confirm tg-app launch

Navigate to the launched instance in AWS console and copy its public IPv4 DNS address. After about a minute, navigate to the address in a browser using http protocol (e.g. http://my-tg-app-dns-name/) and you should see the testgrinder home page.

Often browsers will automatically switch to HTTPS and this will generate a security warning because tg-app comes with a self-signed SSL certificate which browsers don't trust. See Install SSL Certificate on how to install your own SSL certificate and eliminate the security warning. Your browser should give you an option to bypass the warning. Also you should be able to force your browser to communicate on HTTP without switching to HTTPS. See the browser's documentation on how to do it.

On the page you should see a message indicating that testgrinder setup is incomplete. You will resolve these later. The page should look like this:

Elastic IP Address

When tg-app launched as described above, it will be assigned a random IP address by AWS. This IP address will change if you stop and start the instance again. Since this also changes the instance's DNS name, testgrinder will stop responding to the browser requests but you will be able to connect to it via ssh to make configuration changes. To avoid IP address changes, consider assigning an Elastic IP address to the tg-app instance. For that:

  • Allocate an Elastic IP address in AWS EC2 console

  • Associate the EIP with the tg-app instance

  • Map the EIP to a domain of your choosing in your DNS

  • Update DOMAIN_WEB setting to match the domain (see Finalize Configuration File .env)

  • If you want to use HTTPS: obtain and configure an SSL certificate that matches the domain (see Install SSL Certificate)

  • Restart the tg-app server

Last updated