1 Answer
- Newest
- Most votes
- Most comments
1
Are the protocol ports that the load balancer uses for health checks and SSH connections allowed in the EC2 security group?
Also, since you are connected to EC2 via SSH, can you confirm that the subnet on which EC2 is running is a public subnet?
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html
Relevant content
asked 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago

Can you elaborate on the error you are seeing when attempting to ssh into the instance? As for the target group health check, I would refer to the first answer to check the security group and ensure the instance is allowing connections from and to the load balancer.