AWS ELB/ALB now supports HTTP/2.
According to the documentation ( https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html ):
Application Load Balancers provide native support for HTTP/2 with HTTPS listeners. You can send up to 128 requests in parallel using one HTTP/2 connection. The load balancer converts these to individual HTTP/1.1 requests and distributes them across the healthy targets in the target group.
My target is an EC2 instance running Apache with HTTP/2 support. Is it possible to have the ALB connect to the target (EC2 instance) via HTTP/2 and avoid having ALB <--> ec2 connections be via HTTP/1.1?
I did not see any way to do this in the console or documentation.
No, this isn't possible.
ALB always converts the requests to HTTP/1.1 and this is not a configurable option.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.