1 Answer
- Newest
- Most votes
- Most comments
1
Hi
Target Groups:
Instance target groups are the way to go. Application target groups are for services that register themselves with the load balancer, which isn't the case with your Tomcat instances.
Assigning SSL Certificates:
You cannot directly assign certificates to target groups. Instead, configure the ALB listener with multiple SSL certificates using AWS Certificate Manager (ACM).
https://aws.amazon.com/blogs/aws/new-application-load-balancer-sni/
Multiple Ports and Stickiness:
- Yes, you can define a single target group with multiple EC2 instances running Tomcats on different ports.
- ALB supports routing based on the Host header in the HTTP request. This allows you to define listener rules that map specific domains to backend instances based on the port they listen on.
https://repost.aws/knowledge-center/elb-alb-stickiness
https://aws.amazon.com/blogs/aws/new-host-based-routing-support-for-aws-application-load-balancers/
Relevant content
- asked 5 days ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 22 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago