so would a websocket-based application be better off using NLB?
AWS Network Load Balancer
61–70 of 122 posts
Re: AWS Network Load Balancer
#62Earlier quoted context omitted.
ELB's Application Load Balancer (ALB) supports HTTP/2 termination. More in the original launch announcement: https://aws.amazon.com/blogs/aws/new-aws-application-load-ba... and https://aws.amazon.com/elasticloadbalancing/details/#details
http2 termination is not very useful, most people want ELB -> backend instances.
Re: AWS Network Load Balancer
#63Earlier quoted context omitted.
I doubt. Unfortunately, CloudFormations lags severely behind...
CloudFormation, CodeDeploy, and ECS all support NLB today :) I used the console to create the simple demo though, so I don't have a template to recreate it. Sorry!
Re: AWS Network Load Balancer
#64Earlier quoted context omitted.
It sounds like NLB passes through source IP - does that mean outbound flows are through the IGW?
There must be some magic happening somewhere, because otherwise outgoing packets would have the wrong source address.
Re: AWS Network Load Balancer
#65This was discussed a couple of times recently, but answers seemed contradictory. ELB requires pre-warming if you expect sudden high load. But do ALB and NLB? [1] https://news.ycombinator.com/item?id=15085863 [2] https://news.ycombinator.com/item?id=14052079
Forum post answer, so not 100% official, but it is from an AWS employee. "Yes, while you should see performance increases on ALB in general, for major traffic surges we still recommend a pre-warm" https://forums.aws.amazon.com/message.jspa?messageID=746774
Re: AWS Network Load Balancer
#66Re: AWS Network Load Balancer
#67Re: AWS Network Load Balancer
#68The blog post says there's one static ip per zone. I suppose www.mydomain should have multiple A records each pointing to an elastic ip in a zone. What happens when one zone entirely fails? Does it need a DNS change at this point? Or does the NLB have a different IP with which it can do BGP failover?
Re: AWS Network Load Balancer
#69Re: AWS Network Load Balancer
#70Earlier quoted context omitted.
There must be some magic happening somewhere, because otherwise outgoing packets would have the wrong source address.
You can use direct server return to manipulate the Ethernet frames so that packets don't travel back through the load balancer on the way to the parent switch.