Kevingo Tsai
Kevingo Tsai

Reputation: 639

HTTP2 over AWS ELB under TCP Mode

Does anyone have the experience using HTTP2 server behind AWS ELB running in TCP Mode?

As I know, AWS ELB does not support HTTP2 now, however, by using TCP mode, it should pass the request to the backend server transparently.

Does someone have the experience for sharing?

Thank you.

Upvotes: 22

Views: 5610

Answers (3)

Karim Varela
Karim Varela

Reputation: 7652

Supposedly the new Application Load Balancer supports HTTP/2. I'm a little unclear whether it's useful, however, if CloudFront doesn't support it yet: https://aws.amazon.com/blogs/aws/new-aws-application-load-balancer/

Upvotes: 2

miketheprogrammer
miketheprogrammer

Reputation: 82

ELB has no way of pipelining connections. Therefore you cannot trick it into do http2. Maybe with the new version coming out, but not sure.

Upvotes: 0

Jayen
Jayen

Reputation: 6079

Yes, TCP port 443 works to bypass ELB's HTTPS, but there's no way to do session stickiness since ELB can't read the cookies over the wire.

You may also consider using h2c (HTTP/2 over cleartext).

Upvotes: 9

Related Questions