Load balancer HTTPS to EC2 instance through HTTP

0

I'm a bit confused as to why things are not really working out here.

I have set up an AWS load balancer of type 'classic'. As a test I've set it up so that it listens to two EC2 instances running on port :8090, and I am currently getting the '2 of 2 instances in service' when looking at the load balancer information (HTTP health check on port :8090). For the load balancer listeners I have it set up in the following way:

  1. Load balancer protocol HTTP on port 8090 -> Instance protocol HTTP on port 8090
  2. Load balancer protocol HTTPS on port 443 -> Instance protocol HTTP on port 8090 with a certificate currently stored in the IAM

The security setting the for load balancer is accepting connections on 8090 and 443 while the security setting for the EC2 instances is accepting all connections from the load balancer.

Browsing to the load balancer on port :8090 properly returns the the application GUI that is running on the EC2 instance, port 8090. Browsing to the load balancer on port :443 however, simply gives me an ERR_EMPTY_RESPONSE. What am I missing here?

All help is much appreciated!

// Jimmy

Edited by: JimmyLarsson on Nov 20, 2019 9:52 AM

Just me being silly trying to connect to it incorrectly, it works as expected...

Edited by: JimmyLarsson on Dec 2, 2019 8:49 AM

질문됨 4년 전879회 조회
1개 답변
0

Realized there was no problem, just me trying to connect to it by typing [DNS]:443 instead of https://[DNS] in the browser...

답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠