by rjsamson on 8/11/16, 3:01 PM with 130 comments
by encoderer on 8/11/16, 4:15 PM
What's unfortunate is that in the first day after setting up the elb we didn't have problems, but soon after we started getting reports of intermittent downtime. On our end our metrics looked clean. The elb queue never backed up seriously according to cloud watch. But when we started running our own healthchecks against the elb we saw what our customers had been reporting: in the crush of traffic at the top of the hour connections to the elb were rejected despite the metrics never indicating a problem.
Once we saw the problem ourselves it seemed easy to understand. Amazon is provisioning that load balancer elastically and our traffic was more power law than normal distribution. We didn't have high enough baseline traffic to earn enough resources to service peak load. So, cautionary tale of dont just trust the instruments in the tin when it comes to cloud iaas -- you need your own. It's understandable that we ran into a product limitation, but unfortunate that we were not given enough visibility to see the obvious problem without our own testing rig.
by ihsw on 8/11/16, 3:38 PM
* ALB: Application Load Balancer
* ELB: Elastic Load Balancer
I have seen Application Elastic Load Balancer/AELB, Classic Load Balancer/CLB, Elastic Load Balancer (Classic)/ELBC, Elastic Load Balancer (Application)/ELBA.
In any event, I think it is great that AWS is bringing WebSockets and HTTP/2 to the forefront of web technology.
by tobz on 8/11/16, 4:52 PM
At a previous employer, we punted on ever using ELBs at the edge because our traffic was just too unpredictable.
Combining together all of the internet rumors, I've been led to believe that ELBs were/are custom software running on simple EC2 instances in an ASG or something, hence being relatively slow to respond to traffic spikes.
Given that ALBs are metered, it seems like this suggests shared infrastructure (binpacking peoples ALBs onto beefy machines) which makes me wonder if that is how it actually works now, because it would seem the region/AZ-level elasticity of ALBs could actually help the elasticity of a single ALB.
If you don't have to spin up a brand new machine, but simply configure another to start helping out, or spin up a container on another which launches faster than an EC2 instance... that'd be clutch.
Deep thoughts?
by 0xmohit on 8/11/16, 3:15 PM
Waiting for AWS to embrace IPv6.
by boundlessdreamz on 8/11/16, 4:22 PM
by fred256 on 8/11/16, 8:13 PM
(To configure an ECS service to use an ALB, you need to set a Target Group ARN in the ECS service, which is not exposed by CloudFormation)
by cheald on 8/11/16, 4:00 PM
by agwa on 8/11/16, 3:27 PM
>5 connections/second with a 4 KB certificate, 3,000 active connective, and 2.22 Mbps of data transfer.
"2KB certificate" and "4KB certificate"? Is this supposed to read "2048 bit RSA" and "4096 bit RSA"?
by indale on 8/11/16, 3:37 PM
by rjsamson on 8/11/16, 3:01 PM
by daigoba66 on 8/11/16, 7:38 PM
I guess the tradeoff is that with ELB/ALB, like most PaaS, you don't have to "manage" your load balancer hosts. And it's probably cheaper than running an HAProxy cluster on EC2.
But for the power you get with HAProxy, is it worth it?
Does anyone have experience running HAProxy on EC2 at large scale?
by erikcw on 8/11/16, 4:22 PM
by avitzurel on 8/11/16, 3:27 PM
Nginx was a cluster of machines that did routing based on rules into the ec2 machines. Now that the AELB has some of those capabilities it's time to evaluate it.
by archgrove on 8/11/16, 3:20 PM
by dblooman on 8/11/16, 6:11 PM
by axelfontaine on 8/11/16, 4:42 PM
by sturgill on 8/11/16, 4:03 PM
The hourly rate for the use of an Application Load Balancer is 10% lower than the cost of a Classic Load Balancer.
They frequently introduce new features while cutting costs.
by shawn-butler on 8/11/16, 8:51 PM
I was trying secure an API Gateway backend using a client certificate but found ELB doesn't currently support client side certificates when operating in http mode.
There was this complicated Lambda proxy workaround solution but I gave up halfway through...
https://aws.amazon.com/blogs/compute/using-api-gateway-with-...
by kookster on 8/11/16, 3:30 PM
by renaudg on 8/12/16, 3:18 PM
This ALB announcement + the nicer ECS integration could tip the balance though.
Any thoughts on how likely it is that Kubernetes can/will take advantage of ALBs (as Ingress objects I suppose) soon ?
by nodesocket on 8/11/16, 3:30 PM
by manishsharan on 8/11/16, 3:29 PM
by nailer on 8/11/16, 3:51 PM
by DonFizachi on 8/11/16, 6:36 PM
by amasad on 8/11/16, 5:47 PM
by nodesocket on 8/11/16, 3:18 PM
by joneholland on 8/12/16, 10:22 AM
by bradavogel on 8/11/16, 5:32 PM
by merb on 8/11/16, 4:24 PM
by NeckBeardPrince on 8/11/16, 8:04 PM