0
votes

I am trying to configure my website to have a secure connection (https://) via Amazon's EC2, ELB, and Route 53.

I am running a t2.micro instance (no Elastic IP or anything). My Elastic Load Balancer has the SSL certificate attached. My SecurityGroup allows for https connections through port 443. I'm not sure what I'm doing wrong here.

All of my configurations are below. Any help is appreciated because, as it stands, I can't access my website at all.

Thank you in advance!

EC2 - - -

EC2 Instance

Load Balancer - - -

Load Balancer

Route 53 - - -

Route 53

1

1 Answers

2
votes

Step 1: Hit the EC2 instance directly and verify that the health check URL responds with an HTTP 200 status code. If not, then get that working first.

You aren't clear about your security group configuration. You should have a security group on your load balancer that allows HTTP and HTTPS connections. Then you should have a security group on your EC2 instance that allows HTTP (port 80) connections from the load balancer's group.

The issue is obviously the failing health check on the load balancer at this point, so no need to look at Route 53 settings right now. You need to concentrate on getting the communication working between the EC2 instance and the load balancer to get that health check to start working. Until then the load balancer won't accept any traffic because it doesn't have instances it considers healthy that it can forward traffic to.