Target Groups
Last updated
Was this helpful?
Last updated
Was this helpful?
Load balances (created later) will route requests to the tg-app instances in target groups.
Each target group is responsible for handling a specific port. You will need to create 3 target groups for public traffic on ports 22, 80, 443. And one for private traffic on port 3000.
You can manage target groups on the Target Groups page in AWS EC2 console at
Follow these steps to create the public target group:
Visit the Target Groups page in AWS EC2 console
Click Create target group
Basic Configuration:
Choose target type: Instances
Target group name: tg-prod-app-public-ssh
Protocol: TCP
Port: 22
VPC: choose testgrinder VPC
Health checks:
Health check protocol: TCP
Click Next
On Register targets page:
Click Create target group
Follow these steps to create the public target group:
Visit the Target Groups page in AWS EC2 console
Click Create target group
Basic Configuration:
Choose target type: Instances
Target group name: tg-prod-app-public-http
Protocol: TCP
Port: 80
VPC: choose testgrinder VPC
Health checks:
Health check protocol: HTTP
Health check path: /
Click Next
On Register targets page:
Click Create target group
Follow these steps to create the public target group:
Visit the Target Groups page in AWS EC2 console
Click Create target group
Basic Configuration:
Choose target type: Instances
Target group name: tg-prod-app-public-https
Protocol: TCP
Port: 443
VPC: choose testgrinder VPC
Health checks:
Health check protocol: HTTPS
Health check path: /
Click Next
On Register targets page:
Click Create target group
Follow these steps to create the public target group:
Visit the Target Groups page in AWS EC2 console
Click Create target group
Basic Configuration:
Choose target type: Instances
Target group name: tg-prod-app-private-bot
Protocol: TCP
Port: 3000
VPC: choose testgrinder VPC
Health checks:
Health check protocol: HTTP
Health check path: /
Click Next
On Register targets page:
Click Create target group