Launch Template
testgrinder service will be discontinued on January 31, 2025
testgrinder SMPC was discontinued as of February 1, 2024
Launch Templates allow you to capture all parameters you enter when launching a new EC2 instance. The launch template you create will be used by Auto Scaling Group to launch tg-app server instances.
You can manage launch templates on the Launch Templates page in AWS EC2 console at https://console.aws.amazon.com/ec2
Prepare User Data
When defining tg-app launch template you will need to provide User Data that tg-app servers will use on launch to provision configuration files. The easiest way to prepare user data is by exporting it from the standalone tg-app instance that you already have running if you followed this deployment guide. Once the user data is exported, you may need to make some adjustments to it, for example to specify the URI of the database. See Configuration Files for how to work with user data.
Create Launch Template for tg-app
Visit the Launch Template page in AWS EC2 console
Click Create launch template
Launch template name and description:
Launch template name: tg-prod-app
Template version description: tg-app launch template
Auto Scaling Guidance: checked
Application and OS Images (Amazon Machine Image):
Choose Browse more AMIs
Select tab: AWS Marketplace AMIs
Enter in search box: tg-app- and press Enter
From the list select the latest version of tg-app
Instance type: t3a.medium
Key Pair: choose the key pair you intend to use to ssh to testgrinder servers
Network settings:
Subnet: Don't include in launch template
Firewall (security groups): Select existing security group, pick the tg-app security group you created earlier
Advanced network configuration:
Click Add network interface
Auto-assign public IP: Enable
Storage:
Leave default 8GB of General purpose SSD
Resoure tags:
Click Add tag
Key: Name
Value: tg-prod-app
Resource types: Instances
Advanced details:
IAM instance profile: choose tg-app IAM role you created earlier
User Data: paste User Data prepared earlier
Click Create launch template
Last updated