News for hackers. Stuff that matters.
Re:AWS Network Load Balancer by colmmacc on Thursday September 07, 2017 @07:00PM (#15196570)
If you're curious to see NLB in action, here's a live demo: http://nlb-34dc3b430638dc3e.elb.us-west-2.amazonaws.com/ , it took about 5 minutes in the console to set it up and no changes on the targets/backends.

Massive disclaimer: I work on NLB.

Re:AWS Network Load Balancer by posnet on Thursday September 07, 2017 @10:17PM (#15197431)
Are there any plans to add UDP support?
Re:AWS Network Load Balancer by gtaylor on Thursday September 07, 2017 @10:26PM (#15197466)
This would be great to have.
Re:AWS Network Load Balancer by darkr on Thursday September 07, 2017 @11:35PM (#15197721)
Ditto. UDP support would be great.
Re:AWS Network Load Balancer by knite on Thursday September 07, 2017 @09:06PM (#15197183)
It sounds like NLB passes through source IP - does that mean outbound flows are through the IGW?
Re:AWS Network Load Balancer by cperciva on Friday September 08, 2017 @01:21AM (#15198053)
There must be some magic happening somewhere, because otherwise outgoing packets would have the wrong source address.
Re:AWS Network Load Balancer by ec109685 on Friday September 08, 2017 @01:46AM (#15198136)
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.
Re:AWS Network Load Balancer by toast0 on Friday September 08, 2017 @02:51AM (#15198326)
That generally requires config on the serving hosts, which wasn't mentioned in the setup. I think I saw a reference to adding hosts with a different port number than the service port as well. For people in EC2-VPC (not classic), all their traffic is going through an Amazon NAT anyway, perhaps this new service is setting up translations there. (Note all the references to VPC, and never a mention of EC2-classic)
Re:AWS Network Load Balancer by bogomipz on Friday September 08, 2017 @03:21AM (#15198434)
Direct Server Return works at layer 3 not layer 2, its routing and encapsulation - IP in IP, GRE etc.
Re:AWS Network Load Balancer by toast0 on Friday September 08, 2017 @10:29AM (#15200401)
You can do it at layer 2 as well, but it requires that the load balancer have an interface on the same broadcast domains as the hosts.
Re:AWS Network Load Balancer by bogomipz on Saturday September 09, 2017 @01:37PM (#15208114)
I am confused at how this would work. Can you elaborate? Also broadcast domain is a layer 3 construct.
Re:AWS Network Load Balancer by irl_zebra on Thursday September 07, 2017 @08:13PM (#15196942)
Any idea how long for GovCloud?
Re:AWS Network Load Balancer by ckozlowski on Friday September 08, 2017 @10:44AM (#15200523)
Do you have a support POC? I'd reach out to them as they should be able to provide you with a roadmap update. If you're not sure who that is, you can reach out to me at kozlowck at amazon.com.
Re:AWS Network Load Balancer by neom on Thursday September 07, 2017 @08:31PM (#15197036)
Hello fellow GovCloud user, would love to compare notes if you're game. [email protected] :)
Re:AWS Network Load Balancer by icebraining on Friday September 08, 2017 @02:16AM (#15198221)
I got to say, asking about GovCloud and with that email address your post sounds like a terrible spear phishing attempt :)
Re:AWS Network Load Balancer by p0rkbelly on Friday September 08, 2017 @10:52AM (#15200605)
Pretty sure that's the entire point :)
Re:AWS Network Load Balancer by icebraining on Friday September 08, 2017 @11:05AM (#15200730)
Was it? neom has posted that email in the past.
Re:AWS Network Load Balancer by neom on Friday September 08, 2017 @10:35PM (#15205269)
Ain't no dark arts over here. Just a buddy trying to fix cities. <3
Re:AWS Network Load Balancer by mdouglass on Thursday September 07, 2017 @09:21PM (#15197236)
Is there any intent to add TLS termination? That’s a dealbreaker for us switching from the classic load balancer. Otherwise this looks really awesome, thanks!
Re:AWS Network Load Balancer by nonane on Thursday September 07, 2017 @09:50PM (#15197331)
I don't think they can add TLS termination because of the way it's implemented. NLB runs on Layer 4 - the transport layer where TCP/UDP run on. TLS technically runs on top of the transport layer.
Re:AWS Network Load Balancer by mdouglass on Thursday September 07, 2017 @11:34PM (#15197720)
That’s kind of the answer I was expecting, just hoping it wasn’t the case. From the marketing material they really want you to move, but not having a solution to offload tls makes it impossible for us. And it worries me to see the CLB getting effectively deprecated with it an alternative
Re:AWS Network Load Balancer by seanp2k2 on Friday September 08, 2017 @01:16AM (#15198030)
ALB can term TLS for h2 and wss: https://aws.amazon.com/elasticloadbalancing/ sounds like that's what you might want?
Re:AWS Network Load Balancer by mdouglass on Friday September 08, 2017 @01:05PM (#15201966)
Unfortunately we are currently on a custom TCP-based protocol (we're in the game space). But yes, this is more incentive for us to consider h2 or wss.
Re:AWS Network Load Balancer by EwanToo on Friday September 08, 2017 @08:05AM (#15199568)
I'm hopeful AWS will follow this up with ACM supporting SSL certs on instances, so you can run a LetsEncrypt equivalent on each instance, providing TLS end to end encryption
Re:AWS Network Load Balancer by paulddraper on Thursday September 07, 2017 @10:33PM (#15197490)
Huh? It's no different than ELB.
Re:AWS Network Load Balancer by stelund on Friday September 08, 2017 @02:52AM (#15198328)
There is no Security Group for NLB, how is that reasoned?
Re:AWS Network Load Balancer by jdc0589 on Friday September 08, 2017 @09:55AM (#15200137)
that threw me for a bit of a loop as well. This means that responsibility for doing ACL whitelisting at the edge is now moved from the actual edge, to the security groups on the actual servers responding to request, right?

That's do-able and all, but I kind of didn't hate the old paradigm of having an extra layer there.

Re:AWS Network Load Balancer by colmmacc on Friday September 08, 2017 @10:02AM (#15200207)
One way to think of NLB is that it's an Elastic IP address that happens to go to multiple instances or containers, instead of just one. Everything else stays the same.
Re:AWS Network Load Balancer by stelund on Friday September 08, 2017 @03:15PM (#15203166)
Yeh, it's easy to use it like that for now. I hope they update it later on though. Seems like an missing feature in their otherwise nice firewall rules setup.
Re:AWS Network Load Balancer by friendzis on Friday September 08, 2017 @01:04AM (#15197975)
Demo page states "Your browser may keep a connection open for a few seconds and re-use it for a reloaded request. If it does, you'll get the same target", but when I attempted to abuse the power of F5, I was alternated between ice cream and bumblebee.

If you are going to look at it, attempt time - ~04:50 UTC, remote address from 88.119.128.0/20 network

Re:AWS Network Load Balancer by 076ae80a-3c97-4 on Friday September 08, 2017 @06:21AM (#15199134)
Same, got a different one each time.
Re:AWS Network Load Balancer by zob_cloud on Friday September 08, 2017 @03:28PM (#15203264)
Browsers typically use a few connections to load a page so that it can load faster. Each of those threads has a different source port, and thus may route to a different target. In Colm's demo, it depends which thread your browser uses when requesting the part including the CSS which decorates the object. In my Chrome on Mac I see 6 TCP connections to the demo NLB

tcp4 0 0 192.168.100.101.49615 54.69.111.179.80 ESTABLISHED tcp4 0 0 192.168.100.101.49614 54.69.111.179.80 ESTABLISHED tcp4 0 0 192.168.100.101.49613 54.69.111.179.80 ESTABLISHED tcp4 0 0 192.168.100.101.49612 54.69.111.179.80 ESTABLISHED tcp4 0 0 192.168.100.101.49611 54.69.111.179.80 ESTABLISHED tcp4 0 0 192.168.100.101.49610 54.69.111.179.80 ESTABLISHED

Each of those will be routed to the same target, so it's up to your browser to decide which to use for what.

Re:AWS Network Load Balancer by chii on Thursday September 07, 2017 @10:56PM (#15197590)
is there a cloudformation template for this demo that i can look at?
Re:AWS Network Load Balancer by nikolay on Friday September 08, 2017 @12:24AM (#15197836)
I doubt. Unfortunately, CloudFormations lags severely behind...
Re:AWS Network Load Balancer by colmmacc on Friday September 08, 2017 @12:27AM (#15197845)
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 by nikolay on Friday September 08, 2017 @01:41AM (#15198121)
Good as I'm tired spending days writing Customer Resources!
Re:AWS Network Load Balancer by sidds on Friday September 15, 2017 @12:51AM (#15254728)
CloudFormation provides support for Network Load Balancer.

Check the 'Type' property mentioned in the CloudFormation templates reference in public documentation http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuid...