Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 796
Kevingo Tsai Avatar asked Dec 03 '15 03:12

Kevingo Tsai


People also ask

Does AWS ALB support http2?

To make it easier to use gRPC with your applications, Application Load Balancer (ALB) now supports HTTP/2 end-to-end, enabling you to publish gRPC services alongside non-gRPC services via a single load balancer.

Does AWS ALB support TCP?

A: Yes. Network Load Balancers support both TCP, UDP, and TCP+UDP (Layer 4) listeners, as well as TLS listeners.

Which type of elastic load balancer operates at the TCP connection level?

The AWS Classic Load Balancer (CLB) operates at Layer 4 of the OSI model. What this means is that the load balancer routes traffic between clients and backend servers based on IP address and TCP port. For example, an ELB at a given IP address receives a request from a client on TCP port 80 (HTTP).

What is TCP protocol in AWS?

Layer 4 is the transport layer that describes the Transmission Control Protocol (TCP) connection between the client and your back-end instance, through the load balancer.


1 Answers

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).

like image 198
Jayen Avatar answered Sep 28 '22 00:09

Jayen