| 6 Jan 2025 |
Arian | I still don't really understand the point of amazon-ec2-net-utils. For me with the default networkd config any ENA I attach gets an IP address from DHCP. I don't understand why the source/dest policy routing stuff is needed either | 11:45:18 |
Arian | and the Ipv4 prefix delegation feature just seems broken | 11:45:24 |
Arian | like. Why isn't it just good enough for us to enable DHCP on each interface; get IPs; call it a day | 11:45:41 |
Arian | why do we need this whole event driven thingimabob with policy routes. I don't understand. maybe i'm too peanut-brained | 11:45:59 |
commiterate | I think there's some things like secondary IP addresses which DHCP doesn't handle? (unless it actually does) | 19:41:23 |
commiterate | * I think there's some things like secondary IP addresses and delegated prefixes which DHCP doesn't handle? (unless it actually does) | 19:42:23 |
commiterate | especially since some of these things are mutable properties of an ENI so they have to be reconfigured on mutation | 19:43:11 |
commiterate | which will require talking to IMDS | 19:43:17 |
Arian | Ah yeh. DHCPv6 definitely handles delegated prefixes. Don't know about DHCP. Probably not | 19:45:27 |
commiterate | * which will require polling IMDS | 19:48:10 |
commiterate | also probably some other stuff related to VPC routing policies as well | 19:49:36 |
commiterate | I'd be surprised if DHCP or something else handled those automatically | 19:49:48 |
Arian | Well if you just have a single ip address there should be no issue | 19:50:14 |
Arian | Address belongs to a subnet. Subnet to interface
The enf | 19:50:24 |
commiterate | yeah for simple immutable setups, the net utils are unnecessary | 19:50:29 |
Arian | * Address belongs to a subnet. Subnet to interface
The end | 19:50:34 |
Arian | There are no routing conflicts. I also dont understand why its needed with secondary addresses | 19:50:55 |
Arian | Unless you have overlapping subnets from two different vpcs but then you're in a while other set of trouble? | 19:51:19 |
commiterate | there's probably some really weird multipath mesh VPC setups | 19:51:27 |
commiterate | though those should really be using PrivateLink or VPC Lattice | 19:51:52 |
Arian | Amazon's biggest mistake was VPCs | 19:51:54 |
Arian | EC2 classic was perfect | 19:51:59 |
commiterate | some insane enterprise customer probably started asking for these unnecessarily complicated features | 19:52:36 |
commiterate | in fact that customer was probably Amazon retail | 19:52:45 |
Arian | Customer isn't always right | 19:52:48 |
Arian | Especially when it's Amazon retail x) | 19:52:57 |
Ilan Joselevich (Kranzes) | AWS makes me nauseous | 19:53:03 |
commiterate | the Amazon.com VPC is...well...quite the hairball | 19:53:05 |
Ilan Joselevich (Kranzes) | i get lightheaded just thinking of AWS sometimes | 19:53:22 |
Arian | It's allowed to be a hairball . It's like 35 years old | 19:53:32 |