Live data from Hacker News

Networking on AWS (2018)

grahamlyons.com

51–60 of 104 posts

Re: Networking on AWS (2018)

#51
post #34
post #22

Earlier quoted context omitted.

Why are you just allowing anything outbound or inbound? You can specify Allow/Deny on any combination of source subnet, dest subnet, source port, dest port for starters. That gets you a pretty comprehensive ability to lock down a VPC on its own.

Say I want to allow outbound http/https to 10 different IPs. I can't do that in 1 rule like a traditional firewall.

It's about 2 seconds work in CloudFormation though.

Re: Networking on AWS (2018)

#52

Off topic, but as a network guy by heart I've always been fairly happy with how AWS implements the network side of things, especially in comparison to something like Azure. AWS you have the same basic concepts of a network, and the terminology aligns enough that you can make sense of it fairly quick if you're in the network realm. Azure however takes all of that 'network' stuff and turns it into this abstraction wher…

What about GCP? I've always heard that Google is way better at networking, at least internally (having their own cables, basically own internet), is that true for their public cloud?

Re: Networking on AWS (2018)

#53
post #52

Off topic, but as a network guy by heart I've always been fairly happy with how AWS implements the network side of things, especially in comparison to something like Azure. AWS you have the same basic concepts of a network, and the terminology aligns enough that you can make sense of it fairly quick if you're in the network realm. Azure however takes all of that 'network' stuff and turns it into this abstraction wher…

What about GCP? I've always heard that Google is way better at networking, at least internally (having their own cables, basically own internet), is that true for their public cloud?

Mixed reviews from me on GCP. Some of their services don’t offer many of the network controls that you might expect. IIRC network rules with cloud functions and managed database services were a painpoint for a pet project of mine.

Whereas with AWS, there might be quirks, but the ability to configure your network across most services is done so well that it’s a huge differentiator.

Re: Networking on AWS (2018)

#54

There's quite a few things you've missed that are significant and should have been included, maybe one for part two: * Network ACLs, which describe the ruleset (consider it like a stateless firewall) for subnets and their respective routes. Whilst they are optional, having a default set it straightens out a lot of duplication that may end up in Security Groups (which are more stateful in nature). * Elastic (public) I…

Let me summarize further. If you come from 20 years of application development and network design/administration in 'real' LAN and IGRP networks with 'real' hardware you are going to be learning everything again.

These cloud end user environments are fake eggs and saccharine sweetener.

Re: Networking on AWS (2018)

#55

NAT gateways are one of the things that blindsided me on the whole "serverless" idea for hobby projects. To have a Lambda function with access to the outside world and your private network resources your $0.01/month function becomes a $35/month+ expense if you don't want to manage your own t2 NAT instance (and required patches, upgrades, scaling, monitoring, etc). See https://forums.aws.amazon.com/thread.jspa?threadI…

Same. I build a project in my free time and I was pretty surprised to see my bill was 99% NAT Gateways and a few hundred dollars.

A free tier for NAT gateways would go a very long way. I wonder why they wouldn't have one.

Re: Networking on AWS (2018)

#56
I’ve been banging my head against the wall for a week trying to set up a site to site VPN in AWS with a Cisco ASA. The auto generated config file have a lot of missing info.

If anyone knows of a good resource on the subject it would be greatly appreciated.

Re: Networking on AWS (2018)

#57

I’ve been banging my head against the wall for a week trying to set up a site to site VPN in AWS with a Cisco ASA. The auto generated config file have a lot of missing info. If anyone knows of a good resource on the subject it would be greatly appreciated.

IMO closed-source stuff is just impossible to get working unless you're certified with that equipment. Try OpenVPN:

https://openvpn.net/vpn-server-resources/site-to-site-routin...

Re: Networking on AWS (2018)

#58
post #38

Something that's missing from this (otherwise great!) guide, that has puzzled me for a while - what's the point? What does this configuration actually gain you/AWS? My best guess is that private subnets are for DDOS protection, but that seems like something that would be better handled by throttling. Given the amount of complaints I've heard about how difficult VPC/Subnet setup is, why bother with it at all? Staving…

Not sure I'm qualified to answer all of your questions on this but, from a networking perspective.. Private subnets will allow you to reduce your exposure to the Internet, also can reduce costs with something like a NAT gateway. It's useful for things that don't need to be public facing. Generally things on the private subnet can go outbound directly but not have anything come direct into that subnet, you'd need a so…

Just as an fyi, inside Amazon's virtual network topology, there is no such thing as layer 2, and thus, no broadcast topology. Normally you'd be 100% correct in seeking to limit that bandwidth, but in Amazon everything works just a little differently.

Re: Networking on AWS (2018)

#59

Off topic, but as a network guy by heart I've always been fairly happy with how AWS implements the network side of things, especially in comparison to something like Azure. AWS you have the same basic concepts of a network, and the terminology aligns enough that you can make sense of it fairly quick if you're in the network realm. Azure however takes all of that 'network' stuff and turns it into this abstraction wher…

Yeah virtual network gateways in Azure are probably the lamest feature ever. Takes literally 40+ minutes to provision one. I've worked about 2+ years on Azure and 5-6 months on AWS and while they both of course have their pros and cons, I prefer AWS for things like this. I do love ARM templates though. <3

Re: Networking on AWS (2018)

#60

Earlier quoted context omitted.

Are you able to share any details? I started putting together a more complex setup and ended up flattening things out because I couldn't get routing between e.g. 10.0.0.1 and 10.1.0.1 working.

Yeah, totally depends on what you're using for a router/gateway/firewall. I've got a mix of Ubiquiti gear and pfSense. Most of it was a matter of just setting up a static route(like in the article) where when I'm on the 192.x.x.x(192.0.0.0/24) network and want to talk to 10.0.0.0/24 I'd put in the gateway(10.0.0.1) as the next hop. Without knowing more about your setup it's hard to say. r/homelab is also a pretty dec…

I've got an all-Ubiquiti setup (and once you start digging into the forums / need IPv6, boy is it unimpressive)

It seems like going with the Ubiquiti USG instead of the EdgeRouter or a pfsense box was a big mistake.

I'm heavily space/heat/power constrained though.

Post reply on HN