Settings

Theme

AWS to begin charging for public IPv4 addresses

aws.amazon.com

443 points by realshadow 3 years ago · 376 comments

Reader

amluto 3 years ago

> A new blog post shows you how to use Elastic Load Balancers and NAT Gateways for ingress and egress traffic, while avoiding the use of a public IPv4 address for each instance that you launch.

It would be nice if this came with reasonably priced NAT gateways. The current pricing is outrageous.

  • brickteacup 3 years ago

    Not to mention the absurd fact that accessing (IPv4) AWS APIs from a private subnet requires paying for either a NAT gateway or an interface endpoint (we got bitten by sending a ton of Kinesis traffic through a NAT gateway once)

    • profmonocle 3 years ago

      This is one thing Google Cloud does well - traffic to Google services bypasses NAT gateway, even over IPv4.

      I was curious how they do this, so I set up a service on Google Cloud Run that just echo'd the user's public IP address. When curl'd over IPv4, it said I was coming from a unique local (i.e. private) IPv6 address. The private IPv4 address of my server was embedded in the address, along with some other random-looking bits that probably identified my VPC somehow. So they must have been doing some sort of stateless IPv4 to IPv6 translation behind the scenes.

      It was a clever solution that takes advantage of the fact that all of Google's API endpoints are dual-stack, even though (at the time) they didn't support IPv6 on customer VMs. The problem AWS currently has is not all of their internal endpoints are dual-stack, so even using IPv6 can't save you from cloud NAT costs when accessing AWS services.

      • formercoder 3 years ago

        Our network is completely software defined, so we just fake it to the VM and make it look like it's talking right to the service, and do all the routing via magic.

      • asmor 3 years ago

        Honestly, I really like that the AWS implementation is not magic. AWS is the only one of the big 3 cloud providers where I can reasonably assume I get what it says on the lid, and that it works with the pieces it advertises working with (whereas other cloud providers tend to be more nebulous in their documentation).

        GCP especially takes a lot more trial and error building systems that compose a bunch of different primitives. That the API is awful doesn't help either.

        • nvarsj 3 years ago

          I agree with this, having built large dev platforms on both. GCP in my experience takes 2-5x the engineering effort, to deal with "GCPisms" and the terrible documentation. AWS is simpler and does what it says most of the time.

      • victor106 3 years ago

        This is very cool.

        Have quite a bit of experience with AWS and Azure, and only recently learning about GCP, it’s very clear that Google nailed Some of GCP’s core cloud engineering concepts and got them exactly right.

        Although unfortunately they will never reach the size of AWS or (maybe Azure? It’s hard to tell Azure’s market size as they don’t disclose it.)

      • hidden80 3 years ago
      • rcme 3 years ago

        I know Google’s load balancers use BGP. So a load balancer will have a single IP address, but you don’t talk directly to that IP. Google’s servers take over as traffic is being routed.

      • rescbr 3 years ago

        The problem AWS has is the design of VPC internals.

        As the first hyperscaler, they gotta pay the legacy tax.

        • saurik 3 years ago

          AWS didn't start with "VPC", and people who still had access to the much-easier-to-conceptualize EC2 Classic only got forced off recently; Amazon VPC wasn't actually launched publicly until after Google Cloud.

    • pyeri 3 years ago

      Another dead simple solution would be if AWS would provide us a simple subdomain (such as myapp.xxxx.aws-hosting.com), no need to meddle with IPs at all in that case. Google Cloud already does this with xyz.appspot.com subdomains, same with Github Pages as they provide you xyz.github.io subdomain for your app.

    • amluto 3 years ago

      I wonder if someone at AWS noticed that the interface endpoint pricing was offensive for accessing S3 and therefore created the free “VPC Endpoint for Amazon S3.”

      I would find it rather surprising if the actual cost to Amazon of connecting a VPC to S3 were substantially lower than the cost of connecting a VPC to any other AWS service.

    • acdha 3 years ago

      Yeah, the endpoints bother me. I get charging for IPv4 space but they shouldn’t charge you for calling their APIs, especially since it’s one ENI per endpoint so I have a few VPCs which have half the allocated addresses used by endpoints (the old trade off between multi AZ reliability and the cost of allocating redundancy).

  • aednichols 3 years ago

    NAT is pretty computationally intensive, this is why e.g. ISPs & mobile carriers are pushing IPv6 over CGNAT.

    • amluto 3 years ago

      AWS NAT gateway is $0.045 per hour plus $0.045 per GB. The hourly fee seems mostly okay - for largish users, one or two per region is fine.

      $0.045 per GB is nuts. That’s $20.25/hour or $14580/mo for 1 Gbps. One can buy a cheap gadget using very little power that can NAT 1 Gbps at line rate for maybe $200 (being generous). One can buy a perfectly nice low power server that can NAT 10Gbps line rate for $1k with some compute to spare. One can operate one of these systems, complete with a rack and far more power than needed, plus the Internet connection, for a lot less money than $14580/mo. (Never mind that your $14580 doesn’t actually cover the egress fee on AWS.)

      A company with a couple full time employees could easily operate quite a few of these out of any normal datacenter, charge AWS-like fees, and make a killing, without breaking a sweat. But they wouldn’t get many clients because most datacenter customers already have a NAT-capable router and don’t need this service to begin with.

      In other words, the OpEx associated with a service like this, including the sysadmin time, is simply not in the ballpark of what AWS charges.

      • kelnos 3 years ago

        Is that $0.045/GB for all data transferred through it, or just egress to the public internet? If it's the latter, that's half the price of normal EC2 instance egress to the public internet.

        If it's the former... oh sweet jesus, what? Probably way cheaper to just run an a1.large or something with Linux on it, plus a very short shell script to set up NAT. That's assuming well more than half of the traffic going through it is ingress from the internet. If it's 50/50 ingress and egress, then it's basically the same pricing as NAT gateway.

        • Nathan2055 3 years ago

          No, it’s so much worse than that. Look closely at https://aws.amazon.com/vpc/pricing/ and note this line:

          > You also incur standard AWS data transfer charges for all data transferred via the NAT gateway.

          Yes, the $0.045/GB “data processing” charge is in addition to the usual $0.09/GB egress charge. You are paying an effective $0.135/GB for all of your egress, in addition to the $0.045/hr just to keep the NAT gateway running.

          And yes, your ingress and even internal-to-AWS traffic is also billed at the $0.045/GB rate. (An example given on the aforementioned page is traffic from an EC2 instance to a same-region S3 bucket, which they note doesn’t generate an egress charge but does generate a NAT processing charge.) As far as I can tell, the only traffic which isn’t billed is traffic routed with internal VPC private IP addresses, which don’t hit the NAT gateway and thus aren’t counted.

          There are highly paid AWS consultants who shave literal millions of dollars off of many company’s AWS bills by just setting it up a cheap EC2 box to handle their NAT instead of using the built-in solution. Doing that instantly wipes out the ingress charges and effectively halves the egress charges, and it’s probably a lower hourly cost than they’re already paying: an a1.large is $0.051/hr on-demand but that immediately drops to just $0.032/hr with a 1 year no upfront reserved plan. If you’re willing to pay upfront and/or sign a longer contract, you can get it as low as $0.019/hr.

        • jwestbury 3 years ago

          It's quite unfortunate they sunsetted the NAT instance AMI.

      • ttt3ts 3 years ago

        Bit confused. Couldn't you just run a Linux VM to do your NAT and only pay normal egress?

    • NoZebra120vClip 3 years ago

      For example, rather than simply routing IP packets and then forgetting them, you need to statefully inspect every TCP segment and every supposedly connectionless UDP conversation, you need to maintain state for every live conversation, and you need to mitigate DOS with all those resources.

      At that point, you might as well be running a Layer 7 Firewall or an Intrusion Protection System.

      • Bluecobra 3 years ago

        > At that point, you might as well be running a Layer 7 Firewall or an Intrusion Protection System.

        If you go down this path consider using Transit Gateway so you can route multiple VPC traffic to a central security VPC in a region. I’ve done this a Palo Alto VM and it seems to work well.

      • tptacek 3 years ago

        UDP is connectionless precisely so you can build novel stateful protocols on it. There’s no promise in UDP that you’ll be able to statelessly monitor it.

        • colmmacc 3 years ago

          UDP is actually more expensive to NAT than TCP is. The reason is UDP fragmentation, which is my vote for the worst, and least forgivable, design error of TCP/IP.

          Instead of putting the fragmentation in L4 (like QUIC now does) and including a UDP header on every fragmented packet in a datagram, UDP only includes the header on the first packet. With fragmentation happening; firewalls, NATs, and end-hosts have to buffer and coalesce IP packets based on IP IDs, before the destination can be identified. It's a real nuisance. A lot of CGNAT "stateless" implementations can't handle this and you get very hard to debug issues when there are fragmentation and MTU mismatches.

          • pclmulqdq 3 years ago

            This is probably more accurately called IP fragmentation (since that is the layer where the fragmentation happens), and a lot of companies make it optional to support in networking gear. I'm surprised that you are using it or seeing it, because it is essentially obsolete today.

            It has a legitimate purpose in old-timey systems which have bespoke MTUs on each link, but now the usual thing is to use 1500 bytes for WAN traffic, which is the generic Ethernet MTU, and reserve larger sizes for intra-datacenter communications.

            • colmmacc 3 years ago

              There's a number of UDP protocols that have large enough payloads to fragment. DNSSEC and EDNS0 in particular made it much more common, though the EDNS0 flag day in 2020 partially undid some of the damage by getting folks to ratchet down their EDNS0 buffer sizes.

              1500 is absolutely not a pervasively usable WAN MTU, you're going to need pMTUd if you're sending 1500 byte packets broadly. Plenty of WAN links won't tolerate it. If you don't want to deal with fragmentation at all ... 500 is the minimum guaranteed MTU, but in practice it's exceptionally rare to see anything below about 1200 require fragmentation. But you can always only control what you send, not what others are sending you.

            • tptacek 3 years ago

              One thing I've learned since joining Fly.io in 2020 is to laugh when people point to the 1500 MTU. You absolutely can't count on that: IPv6 cuts into it, and so does every additional layer of encapsulation on your path.

              • pclmulqdq 3 years ago

                Yeah, you have to account for the headers in the 1500 byte MTU, which I suppose can be substantial if you have several VLAN tags, IPSec, IPv6, and a bunch of IP options. Presumably most of that encapsulation happens inside a datacenter, though, where you can use jumbo frames.

            • pantalaimon 3 years ago

              With IPv6 only the endpoint can fragment, not any hop in between.

          • dgemm 3 years ago

            Even well-behaved unfragmented UDP should be more expensive to NAT because it doesn't have an end-of-stream "FIN" marker, meaning stateful middleboxes need to retain state for longer because they can only time out.

          • tedunangst 3 years ago

            But TCP fragments in the same way?

            • colmmacc 3 years ago

              TCP does not use IP fragmentation, and the IP packets are marked "Don't fragment". TCP performs its own fragmentation and every packet gets a TCP header in its leading section. A NAT, Firewall, or end-host can L4 route the TCP packet as-is and does not need to correlate with other packets.

              Edited to extend: this is why TCP has a "Maximum Segment Size", and why Path MTU Discovery information has to be passed into the TCP state machine. It is TCP that takes responsibility for carving up the data into the packets, not IP.

              One of the goals of UDP was to avoid needing this kind of state, which is why the IP layer handles fragmentation for it instead. This is allowed on a hop-by-hop basis, unless the DF bit is set; so when a "too big" packet gets to a node with a smaller MTU, it can just split it and send on the fragments. No PMTUD needed.

              The design could have been for the fragmenting node to also add a UDP header as part of that process, but was not. It would have been a simple change at the time. It's had a lot of consequences since and is responsible for a decent amount of complexity in hardware and software packet pipelines.

              • wbl 3 years ago

                It could not have copied the UDP header. Otherwise you wouldn't be able to put any new protocol on IP without teaching it to every router.

                • colmmacc 3 years ago

                  Several other protocols solve this in a layering agnostic way by simply having a header length field. The header bytes can then be copied without any understanding of the format. This is even how IP's own ICMP protocol knows how much of an IP packet it should (at least) include in an error message so that the sender can know what triggered the error.

                  TCP, UDP, ICMP and IP were all designed contemporaneously; UDP fragmentation could also easily have just been specified for. It's just an odd regrettable quirk.

                  • tptacek 3 years ago

                    Also, if you get UDP completely right, do you need any other IP protocols? The whole point of UDP is programming directly to the datagram interface. Before IPv6 you could even disable the checksums.

                • account42 3 years ago

                  Well about those new IP protocols...

              • tedunangst 3 years ago

                It's been a while since I've thought about this; thanks for the refresher.

                • tptacek 3 years ago

                  MSS was also super annoying for me doing re-encapsulation of TCP packets! We wanted to do eBPF cut-through routing of TCP connections for WebRTC stuff, where proxy bounces would be problematic because connections need to live a long time. If you're shuttling packets around, you're going to eat into the MTU with your own headers. 99.9% of our TCP connections weren't cut through so we don't want to dial in new settings into VMs for that feature, so we did it in eBPF, and parsing/adjusting TCP headers in BPF C (pre-bounded loops!) wasn't fun.

        • debugnik 3 years ago

          Which is why game networking libraries put a lot of emphasis on NAT traversal, forcing NATs to recognise the "connection". And why game console manufacturers tell users to just forward all incoming traffic unmanaged by the NAT to the console.

    • meragrin_ 3 years ago

      > ISPs & mobile carriers are pushing IPv6 over CGNAT

      LOL. Not Metronet. They are doubling down on CGNAT. They've acquired ISPs with IPv6 and killed it in favor of CGNAT.

    • Spivak 3 years ago

      This is missing the point mostly, my own sites have supported ipv6 for a going on a decade because it was fun to get it working. But that's a very different thing than supporting only IPv6.

      • p1mrx 3 years ago

        It's best for an ISP to deploy IPv6 and CGNATv4 in parallel, so the NAT only needs to handle traffic for services that don't support IPv6 (e.g. news.ycombinator.com)

    • xxpor 3 years ago

      It's not really computationally expensive, it's memory expensive. You need per connection state.

      • blibble 3 years ago

        it already has stateful firewall

        so that's: source ip, dest ip, protocol, source port, dest port, connection state (say 16 bytes total)

        doing NAT too is what, 3 more bytes per connection (8 bits for an offset into an IP table and 16 bits for the translated port)

        • dijit 3 years ago

          NAT and Stateful firewalling are commonly bundled together (especially on home systems) but I would not go so far as to say “NAT has a stateful firewall”-

          I hear such takes all the time and its really frustrating; usually in threads regarding IPv6, incidentally it is usually programmers who think they understand everything about networks because they know how tcp operates.

          • blibble 3 years ago

            > but I would not go so far as to say “NAT has a stateful firewall”-

            > I hear such takes all the time and its really frustrating

            maybe you'd be less frustrated if you understood what people were saying, because I didn't say that

            AWS already do 1:1 NAT and there's additionally a stateful firewall, which necessitates connection state tracking

            adding the extra few bytes to do port translation shouldn't vastly increase the memory required

            > incidentally it is usually programmers who think they understand everything about networks because they know how tcp operates.

            from someone who has written a commercial packet filter: in terms of complexity, TCP blows the preceding layers of the stack out of the water

          • lxgr 3 years ago

            In almost all NAT implementations, public-side ports are dynamically assigned, which implies that inbound connections aren't possible (unless port forwarding is explicitly configured).

            Is that really conceptually so different from a stateful firewall allowing inbound packets only for established connections/flows?

            "NATs are good because otherwise people wouldn't have any firewalls" is a tired take, yes, but I don't see the point being needlessly pedantic about the semantics of NAT vs. stateful firewalls when in this case, the effect is the same: No inbound packets without prior outbound packets (or a connection establishment for TCP).

        • p1mrx 3 years ago

          Generally an ISP does not have a stateful firewall prior to deploying CGNAT.

  • whalesalad 3 years ago

    $40/mo is outrageous? We spend thousands a month on AWS and drive most traffic thru a single NAT gateway. It's rock solid and it "just works" without any fuss. Totally worth it.

    • cdchn 3 years ago

      There is where people usually start chiming in about how they can run a VPS at Whatever Hosting and Waffles Inc. for $4/mo.

      • whalesalad 3 years ago

        yep, and they should. aws has never really been suited to the hobbyist. does it work for that? of course. is it most cost effective? absolutely not. is it cost effective for people who need the resources? yes.

        • otabdeveloper4 3 years ago

          > is it cost effective for people who need the resources? yes.

          There is no possible use case in no possible universe where AWS is cost effective.

          Renting the same compute resources wholesale will cost you 20 times less. (Not a typo.)

          • dmattia 3 years ago

            I run a number of personal projects on AWS entirely on their serverless offerings and pay $0 outside of domain registration as I'm well within their free tiers. That seems pretty cost effective.

            • pclmulqdq 3 years ago

              Yes, if you can abuse the free tiers, you can essentially run a small SaaS company for free. Once you scale past that point, you are on the hook for a (probably much too large) bill, when you could still be using the same $5 VPS.

          • AlchemistCamp 3 years ago

            Yes, and for bandwidth, AWS is closer to 100x overpriced.

          • hughw 3 years ago

            You must be talking about renting resources that run 100% of the time. AWS rents us gpu instances by the second. We have to run sporadic jobs throughout the day that take 50 seconds to two hours. Depending on customer activity we might need to run 10 or more at once, or we might lie idle for an hour. The elastic economics are unbeatable.

          • theamk 3 years ago

            so I have an HTTP endpoint which gets maybe 10 hits per day, and does some lightweight computations and records small amount of data.

            Right now, this is done on AWS, with lambda + S3, and costs under $0.02/month.

            Can you point me to something more cost effective that that? Don't forget I also need backup for data, automatic failover in case of machine failure or crash, amd no maintenance (like OS upgrades) for 5+ years.

          • pritambarhate 3 years ago

            Which hosting companies are there which are SoC-2 compliant and are 20 times less cost effective than AWS?

            Enterprise workloads need compliance. AWS and GCP provide that. They are very few hosting companies out there who are better at security and compliance than those two.

          • Thaxll 3 years ago

            Do you have the expertise and confidance to run at the same lvl as AWS does for cheaper?

          • MildRant 3 years ago

            Renting the same compute resources might cost you less but you are on the hook for maintenance and administration which can cost you more in the long run.

          • hodgesrm 3 years ago

            > Renting the same compute resources wholesale will cost you 20 times less. (Not a typo.)

            You mean like S3 object storage? That costs less outside AWS because you are usually getting less. That's if you can get it at all.

          • finikytou 3 years ago

            sure they became a multi billion dollar business by not being cost effective

            • dijit 3 years ago

              They became a multi-billion dollar business by:

              A) Promising scale (and delivering to a certain extent)

              B) being significantly more convenient than contemporary solutions

              C) becoming trendy

              D) hoodwinking CxO’s into the belief that not owning your data is better for you, actually. (CapEx vs OpEx)

              E) unfathomable amounts of DevRel.

              Nobody has ever claimed AWS was cost effective, they have said that “it’s worth the cost” though.

              • Aperocky 3 years ago

                > cost effective

                > it’s worth the cost

                Sounds about the same.

                • dijit 3 years ago

                  I guess you could read it that way.

                  The issue tends to be that people do not actually stay on top of their spend- they claim to need less headcount but then spend more than a few salaries worth on their cloud spend.

                  They claim they do not need headcount but then spend the same headcount in infra people anyway, or finops people in the best case.

                  people have lost touch with how much compute actually costs, because its little by little and claims to scale to zero or you only pay what you want. - yet every installation I’ve ever seen has had a base cost higher than the largest colo installation cost we would have needed times 2.

                  Its not cost effective, because its on average 11x more expensive than a fully managed colocation installation. - your packets dont care that you spent 11x more on half the performance.

                  • pnutjam 3 years ago

                    And all those cloud compute instances are probably strangled for io if there is any real load. Colocating your own equipment is going to give way better base performance. Compute is not just processor and memory, it's also dependent on network and disk i/o. Disk is often overlooked because modern disks are so fast, people don't even realize it's crippled in the cloud.

                    • ndriscoll 3 years ago

                      It really is crippled to an absurd degree. A basic RDS install with a gp3 volume will get 3k IOPS and 0.125 GB/s transfer if your volume is under 400 GB, or 12k IOPS and 0.5 GB/s transfer if it's larger. The monthly per-GB storage cost for RDS is the same as the capital costs to buy the disks in a mirrored setup. Meanwhile, if you bought the disks, you'd get over 100x the IOPS and 10x the transfer.

                      For a provisioned IOPS volume, you can get up to 256k IOPS (so still a fraction of a single drive) at a cost of $25600/month (plus per-GB storage costs). For that price, you could buy 8x of these: https://www.newegg.com/micron-30-72-tb-9400/p/N82E1682036315... giving you 240 TB of raw SSD storage.

                • otabdeveloper4 3 years ago

                  No, the second line is when somebody else is paying the bill.

                  AWS is a boutique retail reseller for compute. It's okay for very tiny projects, or for vanity purposes.

        • Spivak 3 years ago

          Yes it is which is why Lightsail exists. The whole mantra of the cloud is only pay for what you need and scale down to zero.

    • cj 3 years ago

      Plus $0.045 per gigabyte of data that passes through it.

      AWS has notoriously high egress fees.

      • dilyevsky 3 years ago

        It's not just egress in case of NAT - they charge you 4.5c per processed GB which means in both directions. This trips a lot of people up.

      • CSSer 3 years ago

        I ran into a SaaS company recently that had a guide for how to setup a white-label domain using route 53 and Cloudfront for one of their services. The SaaS company charges for service bandwidth usage, and they host their infrastructure on AWS, so if you opt to follow their guide they get a fat margin bump in the form of avoiding an egress charge and you get to be double-charged for bandwidth. You've gotta love it.

        • cebert 3 years ago

          How are the avoiding egress costs? I am not completely following.

          • dilyevsky 3 years ago

            Egress to cloudfront is free on aws

            • grrdotcloud 3 years ago

              Imagine a cloud transfer utility that made that easily possible?

              • CSSer 3 years ago

                If I follow what you're saying I suppose my understanding could be wrong, but there's no "cloud transfer" required. It's just a matter of both the distribution and the configured origin being on AWS. If the origin doesn't direct traffic outside of the datacenter, AWS doesn't bill that as egress to whoever owns the origin. The Cloudfront distribution, on the other hand, will take the hit once it exceeds the free tier because it's the AWS service distributing data to end-users. It has to make a request to the AWS internal service then cache it, so The SaaS lambda or s3 bucket or EC2 instance or whatever they're using is none-the-wiser. It's just how the AWS billing mechanism works.

    • andrewguenther 3 years ago

      $40/month just to run it, but then $0.045 per GB data rates. The data rates are what is outrageous. NAT Gateways comprise a non-trivial portion of many customer's bills for this reason.

      • l5870uoo9y 3 years ago

        Exactly, it is $32 just to have it turned on 24/7 and then you pay additionally. Looked into it as it is the only(?) way to get dedicated IP for Lambda which is a common use case, which also explains why it is so costly. They lure you in free tier and then charge for all the necessities.

    • Dylan16807 3 years ago

      Most users are below 10Mbps average, so yes $480 per year is a huge price for a fraction of a percent share of a router (plus redundancy).

      • ishanjain28 3 years ago

        Okay and those users can easily use a much cheaper NAT instance instead of managed NAT Gateways.

    • electroly 3 years ago

      The expensive part of NAT Gateway is the $0.045/GB.

    • wpietri 3 years ago

      It's worth it if you spend thousands a month. I run assorted personal projects in AWS and pay $80/month. Another $40/month looks like a lot to me.

      But I think the point is more that it's outrageous compared to the marginal costs.

    • mgaunard 3 years ago

      Leasing an IPv4 is 0.40 per month. The 39.60 on top is just their margin.

    • paulddraper 3 years ago

      For a lot of traffic $40 is not outrageous.

      For a little traffic $40 is outrageous.

      • thayne 3 years ago

        For a lot of traffic, the $40 is nothing compared to the per GB price.

  • pnpnp 3 years ago

    I completely agree. It’s odd they would announce charging for dedicated IPv4 while not having a free shared egress solution (unless I’m misunderstanding).

    I would expect them to reduce NAT pricing in the long run, but who knows.

    • SteveNuts 3 years ago

      I'm shocked this isn't a feature of a VPC out of the box (shared internet bound traffic). You should only need a NAT gateway if you want the traffic to come out of a single set of external IPs that you control.

      Almost all of my use cases I could easily ride out to the internet through a shared pipe (apt updates and such) and don't care whatsoever what IP that exits the AWS network from, since I'm not applying firewall rules or anything.

      • patmcc 3 years ago

        >>> and don't care whatsoever what IP that exits the AWS network from

        You'll start to care pretty quickly if it's the same IP as a bad actor that's blocked everywhere.

      • ishanjain28 3 years ago

        So for this, Run your apps in public subnets that are attached to IGW.

        • zeroimpl 3 years ago

          Which then requires each app to have a public IP, priced at $44/year starting soon

    • ransackdev 3 years ago

      I think that as a business and given the fact they are now charging for a previously free service (public IPs), offering a now paid service as free would nullify the reasons for doing what they are doing. They don't owe anyone anything for free.

      • Ensorceled 3 years ago

        > They don't owe anyone anything for free.

        I always love this comments. We pay them literally hundreds of thousands a year.

        • _sojh 3 years ago

          Look I’m the last one that will bang the capitalism, consume, spend, drum, but nothing is ever free. You want a free nat box? Your managed database cluster just got a fraction of a fraction of a cent more expensive every hour. You would never get it for free even if they billed it as such. They wouldn’t be the biggest company in the world if they were in the habit of using their profits for your bills instead of the shareholder’s dividends. This is a business, not a family style steak house.

      • inopinatus 3 years ago

        That doesn't follow, because the reason is that IP addresses are scarce.

        • ransackdev 3 years ago

          That’s not anything new. They’ve been scarce for a decade and they’ve footed the bill this long so why change it now other then someone noticed the opportunity

  • kelnos 3 years ago

    How much does the NAT gateway cost? Quick search didn't turn up anything (and I don't care about this enough to spend more than a few seconds on it). You can turn a regular EC2 instance running Linux into a NAT box by giving it two network interfaces (hell, you can even do it with a single interface) and a few shell commands; I wonder if that's cheaper, even including the price of the public IPv4.

    Edit: I see from another post that NAT gateway costs $0.045/hr + $0.045/GB of transfer. That seems... not terrible? An a1.large on EC2 is $0.051/hr + $0.09/GB transfer to the internet (which I assume this type of box would be doing a lot of).

  • Hexcles 3 years ago

    We use https://github.com/1debit/alternat in our EKS cluster to save the AWS tax (surcharge for NAT on top of the egress fee)

  • belter 3 years ago
  • nodesocket 3 years ago

    100% agree, they need to offer steep reserved instance pricing for NAT gateways. To deploy 3 NAT gateways (HA one in each availability zone) is $99/mo just for the instances.

  • Galanwe 3 years ago

    You don't have to use AWS' appliance (the NAT GW) to do NAT. You can NAT your traffic yourself from a t2.micro Linux.

    AWS used to maintain a AMI to do just that, nowadays you have to do it yourself, but it's honestly not much more than adding 2/3 iptables rules.

    I find this trade-off to be exactly the reason why AWS is so good even for small startups. You can bootstrap something quickly, though it will be a tad expensive.

    And if you need to down your costs later on, you start chasing the quickwins like maintaining your own NAT gateway. The same could apply for all managed services.

    Maintaining your own OpenVPN VS AWS VPN. Maintaining your own Postgres VS RDS. etc

    • benjaminwootton 3 years ago

      The sweet point should be that the total cost of using the managed services should be less than doing so yourself when you account for manpower.

      If we have ended up at a place where it’s cheaper to run them yourself on an EC2 box then something has gone awry.

      • Galanwe 3 years ago

        "Cheaper" is not the only dimension to consider. Using managed services is also faster, more reliable, and scale better. You cannot just get that for free.

  • hnav 3 years ago

    You can stand up your own on top of a t3.micro or something if you don't care too much about HA (e.g. you just wanna be able to hit the internet when SSHed into your instances).

  • grumple 3 years ago

    What kind of workloads require a lot of NAT gateway usage?

    I think my team's use is kind of high, with 16 TB going through NAT last month. The bill for that came to ~1300, which is higher than I'd like, but that's only about 1.5% of our AWS spend. Tbh I never really looked at the spend for NAT before, but this doesn't alarm me.

  • secondcoming 3 years ago

    Last time we used GCP's NAT gateway it was constantly dropping SYN packets. We had to revert to using External IPs on machines that talked to the wider internet.

  • multifasciatus 3 years ago

    Just run an Aviatrix gateway instead, same functionality, lower price

alberth 3 years ago

This was expected, and rent seeking.

AWS over the last decade has spent $ billions buying up ASN blocks.

I've never been one to use the word "rent seeking", but owning IPs is the ultimate rent seeking cloud business. Domain names can change registries but if you own the underlining IP being used (and there's a depleting supply of them) - it's a great business to charge rents on.

https://www.techradar.com/news/amazon-has-hoarded-billions-o...

  • efitz 3 years ago

    Looking at it a different way, IPv4 addresses are scarce so it makes more economic sense to have fewer, central owners that can maximize usage, rather than millions of individuals owners, many or most of which would not necessarily be using them at any given time.

    Putting a price on IP address usage again is a mechanism to prevent squatting/hoarding a scarce resource.

    But if you don’t want to “rent” IP addresses from anyone, you can still find blocks for sale. Last time I checked (last year) class C blocks were going for $15k-$20k.

    • efitz 3 years ago

      BTW AWS specifically allows you to bring your own IP addresses.

      https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoi...

    • mike_d 3 years ago

      > makes more economic sense to have fewer, central owners that can maximize usage

      What you have described is effectively a China-style ICP license[1]. Unless you are willing to give a big name cloud provider $x per month, you shouldn't be able to put a service on the internet?

      1. https://en.wikipedia.org/wiki/ICP_license

      • ripdog 3 years ago

        Only on legacy IP. We're trying to kill it.

        A bit of pain will be necessary to finally get modern IP across the line of mainstream usage.

        • mike_d 3 years ago

          "We" are not doing anything of the sort. 11 years into IPv6 and you still can't single home a network behind v6. Much like DNSSEC the purists refuse to admit that it has basically been a failure outside of very specific use cases.

    • sgjohnson 3 years ago

      I have a /24 of v4 just so I don’t have to run NAT at home. My Apple Watch has a real, globally unique IP address.

      Is this valuable use of IPv4 space? I think yes.

    • backendanon 3 years ago

      "Putting a price on IP address usage again is a mechanism to prevent squatting/hoarding a scarce resource."

      That isn't one company's call, it's past time for the DOJ to step in.

  • eqvinox 3 years ago

    > spent $ billions buying up ASN blocks.

    You can't buy/sell/trade "ASN blocks". The only people handling "ASN blocks" are the 5 RIRs (APNIC, RIPE NCC, ARIN, AfriNIC and LACNIC) and IANA.

    > owning IPs is the ultimate rent seeking cloud business

    It also seems that your use of "rent seeking" doesn't match established use. It normally refers to people extracting money for things far beyond their actual value. The IPv4 market is working pretty well on a supply vs. demand price feedback loop, i.e. the prices are in fact just reflecting the scarcity of IPv4 addresses. The term "rent seeking" does not fit that situation.

    • frognumber 3 years ago

      > It also seems that your use of "rent seeking" doesn't match established use.

      No, OP used it exactly correctly. It's the textbook definition.

      > It normally refers to people extracting money for things far beyond their actual value.

      No, it doesn't. The use was popularized in Wealth of Nations (yes, the original) and it refers to, as the name implies, renting out land.

      I buy land. Once I've done that, I extract wealth from the economy from the economy while putting nothing new in. There's a finite amount of land.

      This contrasts with investing in businesses (which allows them to buy capital, thereby generating further wealth), work, and other forms of income which generate wealth for the economy.

      In broad strokes, rent-seeking behavior is unproductive, while work, investment, etc. are productive.

    • DoughnutHole 3 years ago

      > It normally refers to people extracting money for things far beyond their actual value.

      That's not what "rent-seeking" means at all.

      Rent-seeking is extracting wealth from a system without creating anything. It's a term meant to differentiate profiting via productivity/adding value (eg. manufacturing a better product and outcompeting others) and profiting via extracting value from others without adding anything (eg. buying out all of the manufacturers of a product and leveraging your monopoly position to jack up prices).

      Amazon haven't created any value here - they own enough of a stock of a scarce, in-demand resource that they can charge a great deal for it. It's the definition of rent-seeking.

    • sgjohnson 3 years ago

      > You can't buy/sell/trade "ASN blocks". The only people handling "ASN blocks" are the 5 RIRs (APNIC, RIPE NCC, ARIN, AfriNIC and LACNIC) and IANA.

      You absolutely can sell ASNs or ASN blocks, just like you can sell IPs.

      Want to sell an ASN? Ask the buyer for money. When the money is in your account/escrow, transfer the ASN to them. Get money. Sale complete.

      But that’s besides the point, this has got nothing to do with ASNs.

      • eqvinox 3 years ago

        > You absolutely can sell […] ASN blocks,

        No you can't, because you can't actually acquire an ASN *block* to begin with.

        Which is the point of my comment. Only the RIRs handle blocks of ASNs. As a non-RIR entity you can get individual ASNs, or multiple individual ASNs, but not an ASN block.

  • madsbuch 3 years ago

    Most applications will be able to move to v6 eventually. Hopefully moves like this will push that development.

    • voytec 3 years ago

      It's ISPs who are the main problem, not applications.

    • andrewstuart2 3 years ago

      Even already, I think you can get away with doing almost everything v6 with a much smaller number of ipv4s for legacy traffic. I say that but still largely use v4 for everything, so maybe I'm not one to talk.

      • pantalaimon 3 years ago

        Unless you need to pull anything from GitHub…

        • kccqzy 3 years ago

          Then direct your anger at Microsoft, not Amazon.

          • doublerabbit 3 years ago

            Why not both?

            Both are dominating the internet-cyberspace and both are screwing it over for everyone else.

        • duped 3 years ago

          Why do you need a public IPv4 address to pull from GitHub?

          • ripdog 3 years ago

            GitHub has no modern IP support, so a system without a legacy IP is unable to pull anything from GitHub.

        • GoblinSlayer 3 years ago

          That's the idea, you route github through a legacy route and use normal route for everything else.

  • yieldcrv 3 years ago

    Most of the internet is rent seeking

    VPNs just resell internet under a “more private than the next” unverifiable claim, and hope they get enough sycophants believing it

    Most of YC this year resells access to ChatGPT

    Its the game

    • vbezhenar 3 years ago

      I doubt many people care about private aspect of the VPN. They usually want to access services which are inaccessible from their primary IP.

      I'd say that VPN is a way for Internet to work around artificial obstacles.

    • wpietri 3 years ago
      • yieldcrv 3 years ago

        I see, I understand the distinction then, so why would would owning and reselling IP addresses be rent seeking then, if my examples also are not

        • StopHammoTime 3 years ago

          Because for better or worse, those services are transforming the output. Arguably in not a very valuable way but they are transforming it nonetheless. Whether or not you find that transformation useful doesn’t change the fact it is happening. IPs are IPs no matter what way you are cutting it. There is no other universal way to address internet resources yet (as adoption is still slow on ipv6), so this is rent-seeking in the same way a toll road on public roadway that has existed for 20 years is rent-seeking.

          Edit: furthermore, in both of your examples you can just go to another provider or not use those services. If you are locked in to AWS, you HAVE to pay this price.

  • TheDudeMan 3 years ago

    I guess you feel that AWS should pay for the IPs and then give them to you for free. Makes sense.

    • teddyh 3 years ago

      IP addresses are supposed to be free! The RIRs are in the business of handing out addresses to whoever applies for them if the applicant can show that they have a reasonable use for the addresses. But as the IPv4 addresses eventually run out, AWS will then buy addresses directly from whoever has them. This is allowed, but a bit dubious, since if someone aren’t using their addresses, it would make more sense to return them to the RIR to be reassigned. But if AWS owns all the addresses, and nobody can get any more, it makes sense for AWS to start charging for the addresses. It would also make sense for AWS to halt and delay any IPv6 adoption, so we should watch for that.

      • pavs 3 years ago

        Not true at all you have apply for asn, you have pay for registration and ips seperately. Which needs to be renewed every year. Also you cant sell to anyone you want. You can transfer ownership but it goes through arin.

        Also few legal documents needed to register.

        https://www.arin.net/resources/fees/fee_schedule/#registrati...

      • chii 3 years ago

        > IP addresses are supposed to be free!

        just like the air is supposed to be free!

        In reality, nothing can be free. The cost was initially not being paid for, because initially there's just quite a bit of addresses, and there wouldnt have been any quarrels.

        I maintain that the world is being polluted because things aren't free. Imagine if every cubic inch of air, water and land is owned. You would not be allowed to pollute! You'd pay for your use of it!

        • BenjiWiebe 3 years ago

          IP addresses aren't a physical object with a cost to produce them.

          No one is saying that maintaining the fiber optics and routers should be free though, that's why we pay ISPs.

        • Sebguer 3 years ago

          You've read The Moon is a Harsh Mistress too many times, and taken away the wrong lessons.

    • mike_d 3 years ago

      Had AWS not gone around offering to beat any offered price for IPs things might be a lot more reasonable right now. You can't complain that you had to pay a ton for a scare resource when you were the ones throwing gasoline on the scarcity problem.

      They even did backroom deals to steal large blocks of IP space, most notably from the HAM radio community.

wongarsu 3 years ago

This finally puts real pressure on software and services to work on IPv6 only. I wouldn't be surprised if within 1-2 release cycles lots of distributions suddenly update just fine with just IPv6, package mangers can download packages over IPv6, lots of APIs gain solid and well-tested IPv6 support, etc.

  • candiddevmike 3 years ago

    Businesses and organizations are holding IPv6 back, not consumers. No one I talk to is prioritizing IPv6 migrations or spending money to upgrade gear that will support it. Maybe some net new stuff might get it, but for most businesses IPv4 is and will be the default, simply because they can't be bothered to do something different.

    • jiggawatts 3 years ago

      It’s worse than that: new software and hardware is being developed or rolled out right now that is incapable of working on an IPv6 network. Not just unable to use it, but actively incompatible — failing to run if other devices use IPv6!

      This was an issue with Azure’s PostgreSQL service, which would fail if you deployed other unrelated IPv6 services in the same virtual network.

      We need a guild of software engineering so that the people responsible for this can be summarily ejected from it.

      • endgame 3 years ago

        > We need a guild of software engineering

        The threat of professional exclusion is one of the big levers provided by such a guild. Given the way tech companies behave, why do you believe that this lever will be left in the hands of good people, and not taken over (like the rest of the internet)?

        • candiddevmike 3 years ago

          I think there are more developers opposed to the recent web attestation shenanigans than those for it (even those who might be coerced into being for it by their employer). A majority guild vote could stop everyone working on it and keep the web open.

          • endgame 3 years ago

            Yes, and if you can hold and retain power over the guild then the power of professional exclusion exceeds the coercive power of any one employer. But when your threat model includes adversaries who are willing to subvert the entire open internet to get their way, how do you harden your guild against this attack?

          • LeafItAlone 3 years ago

            Who accredits someone to join this guild? Who holds the keys?

      • aoetalks 3 years ago

        > new software and hardware is being developed or rolled out right now that is incapable of working on an IPv6 network

        I would be shocked if this were true for hardware. Even for software, every major OS in the last 10 years as supported IPv6, and prefers it over IPv4

        I’m sure there’s horror stories, but I doubt it’s systemic.

        • jiggawatts 3 years ago

          > prefers it over IPv4

          That's the problem. If the OS starts using IPv6 preferentially but the software on top can't handle it, then you get a crash.

          E.g.: if you turn on IPv6 for DNS and it starts returning AAAA records instead of A records, then a lot of applications fall flat on their face.

          Usually the type written in C and insisting on maintaining compatibility with whatever Berkley did in the 1970s.

          • bauruine 3 years ago

            Some enterprise software I guess? I have native IPv6 since 2010 and can't remember a single software that crashed because of it.

    • 0cf8612b2e1e 3 years ago

      Serious question, is there any enterprise gear made today which does not support IPv6? I have assumed that the natural hardware upgrade cycles made it so 99% of all active equipment could support the technology, even if it was not configured to do so.

      • patrakov 3 years ago

        It is not about the gear, it's about security people that force you to disable IPv6. "You do not have a valid technical or business reason to use it. And, as electricians say, a VISIBLE circuit break provides the best assurance that this circuit will not kill you. Lack of IPv6, as opposed to just firewalling it, is the equivalent of the visible circuit break. I would also enable a whitelist of permitted ethertypes on all switches, and not include IPv6 there."

        And let me quote from CIS SUSE Linux Enterprise 15 Benchmark v1.1.1 page 191: "3.1.1 Disable IPv6 (Automated). Profile Applicability: Level 2 - Server, Level 2 - Workstation."

      • candiddevmike 3 years ago

        That door alarm thing that has a Windows XP workstation VM the facilities team touches once a month probably doesn't support IPv6.

        Repeat that scenario across multiple BUs and multiple locations and no leader wants to commit to doing that kind of due diligence. What's wrong with our current IP?

      • jandrese 3 years ago

        Man in the middle certificate re-signing deep packet inspection firewalls are notorious for not supporting IPv6. Most everything else has switched, but many network admins fear IPv6 and don't want to have to learn something new.

      • squeaky-clean 3 years ago

        "Made today"? Probably not. "Still in operation today"? Definitely.

        My company makes what is essentially an enterprise IoT device. I'd guesstimate 10% of networks with our hardware in them have no ipv6 support at all. And these are businesses that are on the more tech savvy side (I would assume, since they're ordering our stuff).

      • scott00 3 years ago

        TP-Link enterprise wireless access points (the EAP line) don't support IPv6.

    • Aeolun 3 years ago

      Hmm, I use IPv4 mostly because nobody in their right mind can remember a IPv6 address…

      • chungy 3 years ago

        I must be in my wrong mind then. :)

        Just because it's a 128-bit number doesn't mean it should be difficult to remember, the standard notation goes a long way toward that. 2001:db8::cafe:f00d and fc00:bad:beef::1 aren't what I'd call the epitome of "can't remember"

        Mind that real-world global addresses often have four groups of almost-random at the beginning, but it's usually not terrible to commit to memory.

      • lucb1e 3 years ago

        Have you tried? I knew my v6 block (and static addresses within that, which is like two: router and server) back when I used v6 ten years ago, same as I know my v4 address, without really actively learning either

        For sure this is a self-hoster thing, where you have pets not cattle, but so is memorizing your v4 address(es)

      • post-it 3 years ago

        Who's out there remembering IPv4 addresses?

        • brickteacup 3 years ago

          If only there were some sort of a system for translating human readable names to network addresses...

          • waithuh 3 years ago

            damn, imagine if the buddies of the company that owns all of these IPs operated that system. The entire internet would be in their control. Wild dream.

        • capableweb 3 years ago

          Plenty of people own ipv4 addresses (I mean, all of them are owned, but most by companies) and have been using the same addresses for a very long time, you start to remember some of them by heart after that :)

        • ricardo81 3 years ago

          Not I. Any commonly accessed IP tends to be named in my SSH config.

        • gaudystead 3 years ago

          /me slowly raises hand

      • ghosty141 3 years ago

        There is nothing wrong with ipv4 in the LAN, for public things in the internet DNS is and should be used anyways making ipv6 there a non issue.

        • sgjohnson 3 years ago

          > There is nothing wrong with ipv4 in the LAN

          Asides from potential address conflicts, should your work VPN space overlap with your LAN subnet, for example.

      • skrause 3 years ago

        Is is really so hard to remember the addresses fd::1, fd::2 etc. for your local network?

      • tenebrisalietum 3 years ago

        Use DNS?

      • pantalaimon 3 years ago

        2600:: is pretty handy

    • dheera 3 years ago

      IP addresses should never have had letters and double colons in them.

      What's Google's IPv4 DNS? 8.8.8.8.

      What SHOULD Google's IPv6 DNS be? 8.8.8.8.8.8.

      What SHOULD Google's IPv8 DNS be? 8.8.8.8.8.8.8.8.

      What IS Google's IPv6 DNS? 2001::some::shit::I::::can't::remember//::h0ff::affblah

      This is why I'm still stuck on IPv4. I'm a walking DNS server for all the instances I own, I can hammer out IPs when DNS fails me and that's a very useful feature, especially when idiot Wi-Fi hotspots try to DNS poison you when you're trying to SSH into something and the poisoned IPs stay cached even after you've accepted the stupid TOS.

      • red_trumpet 3 years ago

        If it is the use of colons instead of dots that prevents you from learning the adresses, then I'm not sure you can be helped.

        But that discussion aside, if you adopt the IPv4 naming scheme to the 128-bit IPv6 adresses, Google's DNS would be 8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.

        I would never be confident that I put in the right number of 8's in that case. And I have a feeling that you being overwhelmed has more to do with the total increase of possibilities, than with hexadecimal notation.

        I guess it shows that IPv6 was designed for computers, not humans. Because we need a vast number if IP adressses. And that is fine for me.

        • dheera 3 years ago

          > If it is the use of colons instead of dots

          Colons are inherently more frightening than dots, especially double colons, which seems like some badly written C++ class escaped from gaol. Dots feel friendly and cute, I would pet an IPv4 address.

          > then I'm not sure you can be helped

          Sure, and the rest of the planet hasn't adopted IPv6 either. It's a horrible UX.

          • red_trumpet 3 years ago

            If I'm allowed to argue using unrelated topics and feelings, here you go ;)

            > Colons are inherently more frightening than dots

            I highly disagree. In traditional text usage, dots end a sentence. They are terminal. A symbol of stasis. Like death. Contrary to that, a colon always refers to something that comes after: it transcends itself, and wakes my curiosity. It is a symbol of growth and learning.

          • kmbfjr 3 years ago

            Lemme introduce you to XML then…

            The rest of the world has adopted IPv6 because they never had the vast IPv4 space.

        • rvnx 3 years ago

          It would be 1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16

      • miyuru 3 years ago

        > I'm a walking DNS server for all the instances I own

        In that case you don't need to remember the google's DNS address or any DNS servers address for that matter.

      • iamdual 3 years ago

        For a memorability, I would prefer using domain names which is invented for the humans.

      • GoblinSlayer 3 years ago

        It would be 8::8

  • kccqzy 3 years ago

    Apple has been demanding apps support IPv6 only for years now. They reject your app if it fails under NAT64. The end user side is mostly a solved problem.

    • ketralnis 3 years ago

      For iOS maybe. Most of those applications are also using Apple's networking libraries and are effectively required to be on Apple's infinite software update treadmill to continue to be listed, keeping them young and hip in perpetuity. This is the upside to that treadmill, things are up to date or just stop working.

      But I don't think that's representative. "Or just stop working" isn't a valid alternative to the rest of the world. Outside of mobile ecosystems and maybe web development most things aren't on these 6 to 12 month update cycles. It would be absolutely unreasonable to tell a hospital that every piece of hardware and software and MRI machine in their building has to be upgraded every 2 years or it's positively geriatric and do you even `pacman -Syyu` bro?

      Theres a whole world of things that haven't been, and may never be, transitioned. Useful things like utility control computers and even peoples' 10 year old, still perfectly functional and supported desktops. Heck, my "end user" newly-installed fibre ISP doesn't support IPv6! And their previous DSL installation to the same address did! So much for "solved problem" :(

      • kccqzy 3 years ago

        A hospital's MRI machine doesn't need an internet connection. IPv4 only intranets are fine and we are never going to get rid of them.

        But anything that connects to the internet needs to be updated regularly, if only for security and vulnerability reasons. If you have a 10-year-old functional and supported desktop, it most likely supports being IPv6 only just fine. The typical 10-year-old desktop came from the factory with Windows 8 and could be upgraded to Windows 10 (since it's supported). It even gets relatively new features such as IPv6 RDNSS allowing DHCP-less deployments.

        • p_l 3 years ago

          Windows networking became v6-first in Vista, over a decade ago.

        • bandrami 3 years ago

          > A hospital's MRI machine doesn't need an internet connection

          That's one of the more disheartening searches on censys, unfortunately

  • Macha 3 years ago

    As a business... $40/year/server is nothing.

    As a individual/hobbyist, it's a much bigger disincentive.

    For students and the like, it might actually be prohibitive.

    The problem is it's really the first group that needs to drive the remaining IPv6 adoption by replacing their middleware boxes etc. and they're the group who are unlikely to care at this price.

  • wiredfool 3 years ago

    For a while, google was blocking linode's ipv6 block in Frankfurt.

    NBD, except that elastic hosts their client deb repos on google infra, so apt-get update was failing from it.

    The solution was to single stack the server, or manually install the clients having downloaded from elsewhere.

  • NoZebra120vClip 3 years ago

    TIL that my Chromebook connects to the Internet with a 6to4 address rather than the real /64 that my ISP assigns.

    • p1mrx 3 years ago

      This seems unlikely, as 6to4 was deprecated in 2015: https://datatracker.ietf.org/doc/html/rfc7526

      • NoZebra120vClip 3 years ago

        I couldn't believe it either, but using Chome on ChromeOS 114, updated yesterday, all the public sites report that I am connecting from 2002::/16

        • p1mrx 3 years ago

          Interesting. It's only possible to terminate 2002::/16 using a public IPv4 address, so if you're behind a NAT router, then the router itself must be running 6to4.

          • NoZebra120vClip 3 years ago

            Aha! Thanks for the hint: I recently had to reconfigure my router from factory settings. The IPv6 configuration, sure enough, was kicked into 6to4 mode. I set it to "Auto Config" and now I've got end-to-end IPv6 connectivity with, look Ma, no NAT!

            Thank you, p1mrx!

  • sph 3 years ago

    Yearly reminder that HN is still IPv4-only

wmf 3 years ago

Previously: https://news.ycombinator.com/item?id=36910855 https://news.ycombinator.com/item?id=36910994 https://news.ycombinator.com/item?id=36942424

  • metadat 3 years ago

    Thanks! Macro-expanded:

    AWS: IPv4 addresses cost too much, so you’re going to pay

    https://news.ycombinator.com/item?id=36942424 (3 days ago, 186 comments)

    AWS Begins Charging for Public IPv4 Addresses

    https://news.ycombinator.com/item?id=36910994 (6 days ago, 36 comments)

    AWS Public IPv4 Address Charge and Public IP Insights

    https://news.ycombinator.com/item?id=36910855 (6 days ago, 9 comments)

    • MayeulC 3 years ago

      You make it sounds like that expansion was performed automatically. Is that something HN's reply box supports?

      • metadat 3 years ago

        Haha, no. I do it manually, but have gotten pretty efficient at it to the point where it only takes a minute.

      • bombcar 3 years ago

        Macro expansion as in dang made it bigger by hand. Maybe he has a script.

        • metadat 3 years ago

          Dang has mentioned before that he doesn't use any scripts for his HN posts. He likely refrains because it would go against the intended spirit of HN - interesting discussion and genuine interaction.

          • bombcar 3 years ago

            There's scripts that are advanced and do moderation, say, but you could have an easy keyboard macro that would take a URL and replace it with URL, title, and number of comments.

            The second would be a timesaver.

            • metadat 3 years ago

              Hey Bombcar - just noticed it's you :)

              Yes, technically correct, though the harder / more annoying part tends to be sifting through Algolia, HN itself, or Google for the relevant gems.

              I'm also usually on my phone these days, haven't logged into HN from a desktop in ages.

decasia 3 years ago

So I have a tiny personal website hosted on ec2. Right now the DNS points to the server's public IPv4 address. But I don't really want to pay $40+/year for an IPv4 for my personal project.

Does anyone have experience switching a small personal site to IPv6 only in 2023?

I'm guessing the vast majority of my (North American/European-based) friends and visitors can probably connect just fine to an IPv6 address. I wish I knew what percentage it is.

I guess I could add an AAAA record and check what percentage of traffic actually uses it.

  • capableweb 3 years ago

    According to Google (https://www.google.com/intl/en/ipv6/statistics.html), 60% of word-wide users wouldn't be able to visit your website.

    In the US, it would be about ~50% of users, while in Europe it's ranging from 30% (France) to 98% (Spain) who wouldn't be able to visit the website.

    But yeah, I'd do what you say in the bottom of your comment. Add AAAA records and then see how many people uses ipv6 compared to ipv4 and then decide.

    • KAMSPioneer 3 years ago

      I understand that Movistar, the largest Spanish ISP, is currently deploying IPv6 in beta at the moment. I expect that will trickle down to the various resellers of Movistar's network shortly after. Hopefully that will get that 98% down in the near future. :(

    • decasia 3 years ago

      Sigh, so basically it's impossible to switch without shredding an already tiny audience. I'm sure it won't be a nice UX either to have a "can't connect to this IP" error in someone's browser.

      IPv6 has been around for so long now, I'm disappointed it doesn't have a little bit higher adoption.

      • smileybarry 3 years ago

        And if all else fails, you can put something like Cloudflare in front of it to handle IPv4 traffic.

        • doublerabbit 3 years ago

          Which than you're back to paying $40+/year to ensure you don't get wiped from their "free" tier when they feel like it.

          Nothing is free forever.

          • smileybarry 3 years ago

            I've been on their free tier since launch. Granted, it's nothing high-traffic, but a personal website shouldn't reach any "please upgrade" thresholds.

          • godzillabrennus 3 years ago

            They have had a free tier since they launched over a decade ago. I think they’ve found a way to monetize that traffic or at least the data they collect on the sites they proxy because it’s survived so long.

            • sznio 3 years ago

              I think it's the same model as free antivirus. Free customers provide a lot of data to analyze and detect threats, which translates into increased value of the product to the paying customers.

              Also gives you a lot of traffic which you can use to test new deployments without disrupting paying customers.

          • asynchronous 3 years ago

            True, it is a temporary solution though to how long Cloudflare offers it.

      • abdullahkhalids 3 years ago

        Might be a good idea to make a hidden request from your homepage to an ipv6 only resource. Then log how many of your visitors actually fail.

      • GoblinSlayer 3 years ago

        It's a chicken and egg problem: as long as sites are available through ip4, ISPs have no incentive to provide ip6, and since ISPs often don't provide ip6, sites can't go ip6-only. One possible solution would be to provide both and throttle ip4 traffic, then better speed can provide incentive to upgrade to ip6.

    • mr_toad 3 years ago

      So if a domain only has a AAAA record, and for whatever reason a user can’t use IPv6, what sort of error message would the user see?

      • strbean 3 years ago

        Found https://test-ipv6.com and:

        https://ipv6.ams2.test-ipv6.com/ip/?callback=?&testdomain=te...

        I get the following from Chrome:

        > This site can’t be reached

        > Check if there is a typo in ipv6.ams2.test-ipv6.com.

        >DNS_PROBE_FINISHED_NXDOMAIN

        • miyuru 3 years ago

          >>DNS_PROBE_FINISHED_NXDOMAIN

          This is because your OS is not querying AAAA records. I am gonna guess that your using macos.

          The most common error would be a "connection time out".

          • strbean 3 years ago

            I'm not sure, but I believe I was on Windows 10 at the time. Shortly after this, I checked the appropriate boxes on my router (UDM-PRO) and my home network now supports IPv6. Passed all the tests on that website at least.

      • pravus 3 years ago

        The client shouldn't even attempt to get an AAAA record unless they have an IPv6 stack available. In that case, their client should try to look up an A record and get an NXDOMAIN error which the browser usually shows as "IP address could not be found". If the client does attempt IPv6, you'll get a stack error when trying to connect to the remote host because the kernel will reject the address family and you'll get something like "network is unreachable". Some clients will also degrade from AAAA to A on error so you'll get the NXDOMAIN error as above.

        • MayeulC 3 years ago

          I wrote this a few years ago, but I feel like putting a dedicated IPv4 like 66.66.66.66 in the A record would inform the web browser or other software that the website is only reachable via IPv6, and a more informative error message could be displayed.

          This would require a proper RFC of course, with support from IANA and web browsers.

    • LeafItAlone 3 years ago

      I think there’s a difference between “don’t” and “can’t”.

      It’s not clear to me on that page how it describes “can’t”, other than ambiguous (to me) graph labels.

      Is there more info elsewhere that describes the “can’t”?

      • GoblinSlayer 3 years ago

        Chrome connects to google through ip6, if it succeeds, then ip6 is available, thus they gather statistics.

  • red_trumpet 3 years ago

    That's a high price tag! On my Hetzner instance I pay 0.5€ per month and IPv4 adress, so 6€ per year.

  • drbscl 3 years ago

    > tiny personal website

    I'd recommend just migrating to cloudflare pages or github pages; they're both free

  • avereveard 3 years ago

    How about removing the public IP and receiving connection from cloudfront? Or have it hosted in apprunner. Then you cname your domain to the services' domain, and skip the cost.

  • pfych 3 years ago

    Throwing the VPC behind cloudfront is probably the best course of action, if your site is static I'd recommend looking into S3 + Cloudfront for hosting it. It's basically free, and great if your site is mostly static. I run a few scheduled jobs on Lambda to pull some data for my site and it comes out at basically $0 every month.

  • webworker 3 years ago

    EC2 stack is overpriced for small and hobby websites. Lightsail is far more appropriately priced.

  • ThatPlayer 3 years ago

    Cloudflare's gateway supports IPv6 and will serve over IPv4 if you want to use that.

  • Saris 3 years ago

    Why not switch to a different provider? AWS is really pricey for what you get

  • sgjohnson 3 years ago

    > Does anyone have experience switching a small personal site to IPv6 only in 2023?

    Trivial. Just put Cloudflare in front of it.

  • wuming2 3 years ago

    For a small personal website I suggest to look at alwaysdata.com. In France so ipv6 support is a given.

  • toomim 3 years ago

    Switch to linode.

    • decasia 3 years ago

      So I used to use DigitalOcean for around the same intro price point, but after a while I realized that I could pay $22/year for a t4g.nano ec2 instance instead of $72 for the cheap DigitalOcean VPS. I guess in the end, the $22/year was too good to be true and the DO/Linode pricing effectively bundles in the price of the IPv4 address.

    • webworker 3 years ago

      Linode was too slow and had outages in my experience. Used them for years.

      Replaced them with lightsail and don’t have any of those problems, plus I can pick FreeBSD.

cferry 3 years ago

The only barrier for me to go IPv6-only is those VPS that are provided with a single /128 IPv6, and I do not know of a service that would offer IPv6 tunneling other than HE, that requires an IPv4 endpoint. The day I get a full /48 or /64 with my VPSes, I'm ready to drop IPv4.

  • jeroenhd 3 years ago

    A /128 is laughable and honestly insufficient. I believe OVH handed me a /128 at some point, which is why I used HE.

    Every other VPS platform I've seen handed out at least /64s. You need a better VPS provider.

  • kccqzy 3 years ago

    Amazon gives you more than a single /128. So your complaint is irrelevant if you actually use AWS.

  • mgbmtl 3 years ago

    Does your VPS assign you multiple ipv4 addresses? Otherwise seems like feature parity.

    I use ipv6 everywhere, but I get annoyed when some features are missing.

    For example, OVH won't let me transfer an IPv6 prefix like they do for IPv4. I thought I could just migrate my VMs to another box, but one of them had lots of clients with their own DNS/domains, so it was a huge pain to update.

    • MayeulC 3 years ago

      OVH gives me a single /128. Spam whitelists are at /64 grsnularity, so I cannot use IPv6 e-mail. this is not parity!

      I asked their support about this a year ago. They said they were discussing increasing the prefix size internally.

      That kind of makes me want to move to Hertzner or another competitor.

  • xuki 3 years ago

    Vultr/Linode offer a full /64. Linode even offers /56 with justification.

londons_explore 3 years ago

As long as IPv6 remains free, and there is some kind of ipv4 accessible proxy for web stuff for free, I'm happy.

MagicMoonlight 3 years ago

I still don't get why we can't just expand IPv4 into IPv5 by adding some new blocks to the front.

So instead of 192.0.0.1 it becomes 0.0.0.0.192.0.0.1

All existing addresses work, you simply append zeroes to any address which is too short for the new standard. Any old timey software still works as long as you use a router between the two systems with an old timey address.

This would give us as many addresses as we want without any changes or downsides. So why no do?

  • doomjunky 3 years ago

    IP is not a text format (like HTTP). It's a binary format where each field of the IPv4 header has an exactly defined offset and length. The source IP address is placed at offset 96 and has a length of 32 bit, the destination IP address sits right afterwards with the same length. Changing anything will result in new protocol definition, et voilà that's IPv6.

    https://en.wikipedia.org/wiki/Internet_Protocol_version_4#He...

    • ytans 3 years ago

      In addition, there are also impacts on other protocols such as ARP, DHCP, ICMP, DNS etc.

      So it's not as simple as changing only the IP packet format either.

  • hnarn 3 years ago

    This comment is just HN at its best. Chef's kiss. The Internet Engineering Task Force, a group of experts in the field, spent years and countless hours creating a new standard, but do not let that stop us from napkin-sketching up a new solution ourselves, I mean how smart can these experts really be?

    • dpacmittal 3 years ago

      I wish I had the ability to downvote, so I could downvote this comment into oblivion. What a shit attitude to have. Asking stupid questions is how you learn. You stop asking questions, you stop learning.

  • paulsutter 3 years ago

    That's way too logical. Have some respect for the artisanal bike shedding that went into IPv6!

    Calling it IPv5 is genius though.

  • anvuong 3 years ago

    I guess because it's not simply a text address, it's a protocol where a specific number of bytes in the packet (4 in this case) are dedicated for IP, you can't just simply modify this.

matesz 3 years ago

I never understood why AWS has so much appeal when it comes to cloud infrastructure. Why not cheaper clouds? Is it about scalability, reliability, speed, modernity of equipment, customer support, UI, speed of networks?

Let's say the requirement is to build a platform like Twitter with 100mln daily active users. Wouldn't cloud like Hetzner with AWS/GCP/Azure failover, survive this?

I worked with AWS as a developer for a long time, but in pretty much ever case 10 was more than enough.

Would be very grateful if someone could share some insight into it!

  • abhishekjha 3 years ago

    What do you suggest? Something like a VPS service, DO?

    • matesz 3 years ago

      Yes [1], I was looking into Hetzner, which has an api to create machines programatically. I assume for bigger customers you could rent out collocated racks which would satisfy requirements. I don't have any experience in it though.

      [1] example list of clouds https://www.vpsbenchmarks.com/plans

hnarn 3 years ago

As someone who recently wanted to try out IPv6 to learn more about it, I can say that I welcome anything that might help improve the sorry state of IPv6 adoption. This is a hostile and destructive move, I mean obviously, it's Amazon after all, but one can at least hope that as IPv4 increasingly becomes a cost, it could drive interest to the alternative that has been left out in the cold for like two decades.

Most end-users don't care what they're using as long as they can access the Internet, and since our other option to IPv6 adoption is living in a CGNAT hellscape that destroys the whole peer-to-peer idea of the Internet, then for the love of all that is holy start moving. Personally I think nation states need to take a bigger responsibility here and create incentives to move the market, because it's one of those things where the negative effects aren't obvious until they're overwhelming.

netcraft 3 years ago

I personally dont think 45$ per year is going to change habits that much, especially for larger customers who have a lot of public IPs.

  • kiririn 3 years ago

    Hobby customers can buy an entire VPS, complete with IPv4 to tunnel through, for 1/4 that

    • Operyl 3 years ago

      Hobby customers aren't using AWS, by and large. And it's only a matter of time before we see more and more costs for IPv4 down in these tiers as well.

      • pnpnp 3 years ago

        Totally disagree! :)

        My monthly costs are minuscule with a reserved with a t4g instance, Lambda, S3 and Cloudfront as my primary usage.

        Honestly, it beats out the “budget” VPS providers I was previously using, and is a heck of a lot more powerful/reliable.

        • Operyl 3 years ago

          I knew I’d get the counter points here on HN, but I’d argue we’re probably the exception here. AWS can be really cheap, but it is easy for things to go wrong. Bandwidth, commonly unmetered at places like OVH or Hetzner, can cost a fortune at AWS if you get attacked. And while AWS will refund you once or twice, after that you’re either left scared or on the hook eventually.

          • pnpnp 3 years ago

            Absolutely! It just happens to be a good fit for me :)

            I use very little bandwidth and processing with the vast majority of my projects. In the even that I do need heavy lifting for a couple hours, it still tends to be a pretty minimal cost.

            Now for sustained heavy loads/bandwidth… I definitely would look elsewhere for hobby projects.

            Edit: and I agree with your point about attacks. I have pretty aggressive monitoring set up around billing.

      • voytec 3 years ago

        > Hobby customers aren't using AWS

        AWS has the easy to use Lightsail[1] VPS offer with cheapest product at $3.5/mo but they'll likely increase these prices as well, since there's an IPv4 address included.

        [1] https://aws.amazon.com/lightsail/pricing/

      • preommr 3 years ago

        Counterpoint: My hobby projects all use AWS because that's what I am familiar with, and they have the cheapest prices. I also reuse a lot of resources like a database to further save costs.

        • Aeolun 3 years ago

          AWS have many things, but they most definitely do not have the cheapest prices. Unless you are pricing in convenience.

        • albert180 3 years ago

          AWS and the cheapest prices? Ehm sorry, but you will have a hard time finding something that's even more expensive than AWS

    • znpy 3 years ago

      Hobby provider most often are already charging for ipv4 addresses.

  • lokar 3 years ago

    Already a lot of discussion about this at my job. It’s a lot of $ at scale. We will put a bunch of work in to avoid the fee.

    • mrweasel 3 years ago

      Some companies have been allocating a bunch of pointless IPv4 addresses and I think that's why AWS is doing this. A friend of mine have reduced the number of IPv4 addresses his employer uses by 80% (100+ IPs) in less than a week. That's a huge saving, but those IPs should never have been allocated to begin with.

    • rblatz 3 years ago

      At $45 a year per IP address you’d have to spend less than a man hour per address to even conceivably approach break even.

      And I normally would be worried if my company was focusing on break even initiatives instead of higher impact ones.

      • toast0 3 years ago

        Depends how many IPs you're using. If you're using 10, who cares; if you're using 100, I dunno. If it's 1,000 or more, that's real money you probably shouldn't be pissing away. (OTOH, a lot of cloud spend is pissing away money, so what's another $45k/year)

      • wongarsu 3 years ago

        But if you have 100 backend servers that mostly communicate on the internal network/VPC and need their IPv4 mostly for updates, it seems easy to justify standing up a proxy and reconfiguring your template. At least if your engineers aren't in Silicon Valley and thus don't cost you $400/h.

      • Beached 3 years ago

        you don't have to break even on implementation. you will get billed every single year, so if you can have two dudes solve this in 3 months, you can break even in 3 years and every year after that you saved money

        • rblatz 3 years ago

          In most companies that would worry me. That there isn’t anything more impactful to work on than a project that breaks even in 3 years likely is over staffed and I’m likely on the chopping block when things turn south.

  • foobarian 3 years ago

    Huh, speaking of lots of public IPs, most of MIT's old class A is now owned by Amazon :-(

    NetRange: 18.32.0.0 - 18.255.255.255

    • Analemma_ 3 years ago

      Why :-( ? There's no way MIT was using more than a tiny fraction of that /8; now it's actually being put to real use, and MIT probably got some money out of it. Everybody wins.

      • amluto 3 years ago

        MIT was using it. Not efficiently, but MIT sold addresses that were in use at the time due to what appeared to be IT ineptitude.

        It was also shortsighted. It was a massive resource, MIT presumably sold it for under $200M (I assume far under), and now AWS plans to rent the addresses at a rate that will be around $600M per year if they manage to rent them all.

    • wmf 3 years ago

      The market is working :-)

ChrisArchitect 3 years ago

[dupe]

The other large threads on this a week ago (when this link was also posted) weren't good enough?

https://news.ycombinator.com/item?id=36910994

https://news.ycombinator.com/item?id=36942424

grobbyy 3 years ago

This is a hidden price hike. It would be more reasonable if there was a corresponding decrease in server costs.

  • ketralnis 3 years ago

    I don't think either of those is true?

    It's not hidden, they put it right up on their blog https://aws.amazon.com/blogs/aws/new-aws-public-ipv4-address... the opening line of which is "We are introducing a new charge for public IPv4 addresses" and when it starts and what the cost is. I assume like every other AWS charge it's broken out in great detail on their billing statements and even have APIs to query costs. Usually they send an email with these changes too so if they haven't I assume they will. It's a regular old price hike but it's not a hidden one.

    Secondly since "the cost to acquire a single public IPv4 address has risen more than 300% over the past 5 years", there's no accompanying decrease in server costs that would be "reasonable" to account for this. Charging for the IP itself makes total sense since that's the cost they're accounting for. If it were packed into the instance costs, then instances without a public IP would be paying for it too. This incentivises you to do exactly what they want you to do: use fewer public IPs where you don't need them. This is way more reasonable than an across-the-board instance cost bump which would be a hidden price hike. This is a bridge toll that covers the cost of the bridge by its users instead of raising taxes on everyone.

    I guess you're wanting to pay the same and just distribute the cost between the IP and the instance differently? And hey me too, I love not being charged more. But they want to account for their costs without eating into their margin and this is how they're going about it. You don't have to like it; I sure don't. You can wish AWS would just keep eating the cost for you; me too! But I don't think "hidden" or "unreasonable" is accurate.

    • grobbyy 3 years ago

      My back charged me a new fee advertised on new fine print in a web page somewhere I never saw. I changed banks. You can hide things in plain sight. No one has visited every page on Amazon.com.

      There has been a decrease in server costs. Prices of computers continue to fall. AWS hosting has become (relatively) more expensive over time.

  • whalesalad 3 years ago

    IPv4 is a finite resource. This is a forcing function to ensure that people who actually need IPv4 addresses are using them. Gotta pay to play.

    I guarantee there are a ton of unused IP's just sitting on accounts doing absolutely nothing.

    • mark242 3 years ago

      Addresses were already being charged if they weren't attached to an interface. Increase that charge if you're looking to churn unused IP addresses.

      • jeremyjh 3 years ago

        That would not catch every public IP address that is actually unused, because it can be attached to an interface and yet not be needed or actually used by any client. But I don't agree with GP that this is an important reason for the price increase. They are increasing prices simply because costs have increased.

        • mark242 3 years ago

          Anything that an IP address can be attached to is already accumulating a charge, just by existing and running. EC2, NAT gateway, ELB, etc. What's "actually unused" then? Minimum amount of traffic? I don't think it's in Amazon's purview to make those judgement calls.

          • jeremyjh 3 years ago

            What I meant by unused is that there might not be a client that ever connects to that IP address, so the public IP address itself might not be used even if its attached to a resource.

            > I don't think it's in Amazon's purview to make those judgement calls.

            I already said I don't agree with GP that this is a motive for Amazon.

  • marcus0x62 3 years ago

    Their costs for delivering one service are increasing so they should lower their prices on another?

    • ribosometronome 3 years ago

      If they're separating out functionality from that service and charging for it, sure. Customers who don't pay extra are getting less service than they used to for the same money they used to pay.

      • ketralnis 3 years ago

        > Customers who don't pay extra are getting less service than they used to for the same money they used to pay

        Sure, yeah. That's how price increases work. Nobody's arguing that it's not a price increase. But if your delivered pizza's costs are fuel+ingredients and the price of fuel goes up, well, the whole price goes up or you have to give on the amount of pizza. The price of the ingredients didn't go down, so yeah you're just going to have to pay more or get less pizza. Sorry.

        You can quibble on the pizzeria's margin I guess: AWS could just eat the increased price themselves, and probably have been until now. But apparently they don't want to so they're raising the price to compensate in frankly the most reasonable way possible. AWS has insane pricing for many of its services, especially bandwidth, but this isn't one of them.

  • barryrandall 3 years ago

    The move may seem unreasonable, but it seems more unreasonable to expect anything different from the oligarchy.

    • brickteacup 3 years ago

      > but it seems more unreasonable to expect anything different from the oligarchy

      oh my god when the demand for a scarce resource outstrips supply, prices go up. this is high school microecon, not some conspiracy by tHe oLiGaRcHy

anderspitman 3 years ago

Hot take. IPv6 adoption is never going to hit 100% because SNI routing covers most of the cases people actually need. If UDP functionality is necessary QUIC will be used. I wish this wasn't the case. It would be nice if the software was good enough that more people were enabled to self host.

  • supertrope 3 years ago

    In practice the Internet does not deliver IP packets. Only UDP or TCP is universally supported. Some firewalls, security appliances, filters, and proxies limit end to end connectivity to just TCP 443. Everything over IP has turned into everything over HTTP.

  • kccqzy 3 years ago

    Not a hot take at all. We don't need 100% IPv6 adoption because we can't control what people do in their private networks. If a load balancer supports IPv6 that's good enough, even if the load balancer talks to the backend over IPv4.

  • NoZebra120vClip 3 years ago

    Which has been a more significant driver of address-space exhaustion: web servers, or consumer/corporate client devices?

dang 3 years ago

We changed the url from https://www.infoq.com/news/2023/08/aws-ec2-public-ipv4/, which points to this.

mythz 3 years ago

Always more expensive on AWS: $0.005/hr =~ $3.60/mo

We pay $0.55/mo (€0.50) on Hetzner.

codetrotter 3 years ago

Good. Maybe we will soon see more widespread adoption of IPv6.

sgjohnson 3 years ago

Good. Anything that pushes people towards IPv6 is good news.

They should have charged more. $3.50/mo per IP for their average customer is going to be a completely insignificant amount of money.

newaccount74 3 years ago

Hetzner cloud has been charging for public IPv4 addresses for a while. It makes sense. If you have lots of servers, many of them probably don't need a public IPv4 address.

rynop 3 years ago

Why does cloudfront not support connecting to an ELB on a private subnet?

https://stackoverflow.com/a/74397920/563420

Seems like a big blindspot with no work-around.

zgluck 3 years ago

For ECS users who depend on public IPs to avoid insane NAT GW fees when doing CI/CD.. I guess we have two options:

a) build something that automatically scales broken services to 0

b) use that AWS service that let's you pull ECR images without internet access; I forgot the name of it...

  • profmonocle 3 years ago

    c) nudge all the services your CI system interacts with to enable IPv6 to save their AWS users money. ;-)

    • zgluck 3 years ago

      Why would AWS charge less for IPv6 traffic through their stupid gateway than for IPv4 traffic? It's just an artificial money making machine anyway.

      • icedchai 3 years ago

        Less overhead. You don’t need extra CPU and memory for NAT w/IPv6, because there is no NAT.

devit 3 years ago

Do they offer shared IPv4 addresses with routing by HTTPS SNI?

  • Hikikomori 3 years ago

    On ELB yes.

    • JoshTriplett 3 years ago

      ELB is a substantial cost itself, though.

      • eastbound 3 years ago

        And not very good, together with the auto scaling groups, it performs the record act of not being able to do an instance refresh without downtime. We’ve put countless hours into that, seems like a simple problem, forums say it’s not solved.

        • zomglings 3 years ago

          This is not true.

          You have to define health checks on your instances that reflect the availability of all services they host.

          And you have to allow there to be more instances than your target number in each autoscaling group.

        • Hikikomori 3 years ago

          With a single instance? Could also do blue green instead.

        • dilyevsky 3 years ago

          Could you point to relevant thread please?

    • profmonocle 3 years ago

      Cloudfront as well.

chrismarlow9 3 years ago

Digital landlord. Anybody want to rent a domain?

  • hakube 3 years ago

    Domain names are basically for rent. If you don't renew on time, you lose it

GabeIsko 3 years ago

They want people to use EIP right? Is this really a problem for anything other than a device that cannot perform dns lookups.

backendanon 3 years ago

If I get too upset about it, I can find a cloud provider who isn't trying to find ways to nickel and dime me.

gbraad 3 years ago

Something Fly.io also does, so they aren't the only one's.

ChrisArchitect 3 years ago

[dupe]

mgaunard 3 years ago

Anything in the cloud is 10 times the price it's worth.

It's essentially a tax on the people gullible enough to believe in cloud tech or unable to set up real hardware.

  • yuppie_scum 3 years ago

    Well next time you get that big customer that scales your traffic by 500%, enjoy sitting around waiting for Dell to ship you a bunch of servers or whatever while we just change an integer in a repo and hit terraform apply.

    • mgaunard 3 years ago

      While you could make a case that it is convenient short-term, it is very cost-ineffective.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection