I’d like to thank the admins for being so open and direct about the issues that they’re facing.

    • To be fair, with a proper autoscaling scheme in place these services should scale down significantly when not in use.

      That being said, a big reason for using AWS/GCP is all the additional services that are available on the platform… If the workload being run isn’t that complicated, the hyperscalers are probably overkill. Even DO or Linode would be a better option under those circumstances.

      • Overmind ( Overmind@lemmy.sdf.org ) 
        link
        fedilink
        arrow-up
        42
        ·
        3 years ago

        This. AWS architect here. There are a lot of ways to reduce pricing in AWS like horizontal scaling, serverless functions, reserved instances. Most people aren’t aware of it and if you’re going to dive in head first into something like cloud, you’ll need to bear the consequences and then learn eventually.

        • Even with ASGs, ec2 costs a bomb for performance.

          And “serverless” functions are a trap.

          If you’re gonna commit to reserved instances, just buy hardware for goodness sake, its a 3 year commitment with a huge upfront spend.

          • masterspace ( masterspace@lemmy.ca ) 
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 years ago

            And “serverless” functions are a trap.

            How are serverless functions a trap? They seem like a great cheap option for simple CRUD / client > server > db apps (what most apps end up being).

              • masterspace ( masterspace@lemmy.ca ) 
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 years ago

                Interesting, I’ll check out droplets, but in my experience with Azure Functions there’s not much vendor lock in. My API was just a normal Node.js / express server, the only part that was locked in to Azure Functions was the format for the endpoint definitions, but those can be adjusted in like an hour’s worth of time to anything else

        • Yep. And if you want to really save some cash and don’t mind getting a little crazy, use an EKS node orchestrator that supports spot instances. I’m starting to do a serious dive into Harness at the moment actually.

          Google recently released a white paper on cost saving in kubernetes as well.

          • Toribor ( Toribor@corndog.social ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 years ago

            If you’ve got a kubernetes cluster running on 10 different spot instances, isn’t there a risk that all ten could be revoked at the same time? Even if they are built out across regions and availability zones?

            • Zalack ( Zalack@startrek.website ) 
              link
              fedilink
              arrow-up
              1
              ·
              3 years ago

              Counterargument: I don’t need Lemmy to have 100% uptime. It’s not a corporate service and while – obviously – if it’s down all the time I would eventually move on, I’m not going to fault a not-for-profit entity for periodic failures.

        • Toribor ( Toribor@corndog.social ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 years ago

          I’m in a similar boat. I’m a sysadmin supporting a legacy application running on AWS EC2 instances and a new ‘serverless’ microservice based platform as well. It’s really really hard to scale and optimize anything running on EC2s unless you really know what you’re doing or the application is designed with clustering in mind.

          You tend to end up sizing instances based on peak load and then wasting capacity 90% of the time (and burning through cash like crazy). I can imagine a lot of Lemmy admins are overspending so fast they give up before they figure it out.

      • masterspace ( masterspace@lemmy.ca ) 
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 years ago

        If the average Web engineer’s salary capable of running a site like this is ~$180,000, then a $30,000 difference in cost is only about 2 months salary. Learning and dealing with a new hosting environment can easily exceed that.

          • masterspace ( masterspace@lemmy.ca ) 
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 years ago

            Maybe, maybe that hosting provider doesn’t exist in the long term, maybe that hosting provider crashes more often or makes sudden api changes and causes more ongoing work and headaches that chew up more time and salary, maybe you end up needing a more complex over the top service that they don’t offer and need to go to AWS / Azure anyways.

          • masterspace ( masterspace@lemmy.ca ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 years ago

            It is, but learning a new environment, then dealing with any down the line troubleshooting or instability can easily add up to $30,000 if you actually track where salaried employees time is going.

      • That, and like others mentioned their flexibility, plus the fact that they’re fairly reliable (maybe less than some good Iaas providers but a fair bit more than your consumer vps places). Moments ago I went to the hetzner site to check them out and got:

        Status Code 504 Gateway Timeout

        The upstream server failed to send a request in the time allowed by the server. If you are the Administrator of the Upstream, check your server logs for errors.

        Annoying if it’s you nextloud instance down for a minutes, but a worthy trade off if you’re paying 1/4 of the price. Extremely costly for big business or even risking peoples’s lives for a few different very important systems.

        • barsoap ( barsoap@lemm.ee ) Banned from community
          link
          fedilink
          arrow-up
          1
          ·
          3 years ago

          Hetzner has four nines availability, usually higher. AWS claims five nines but chances are you’ll mess up something on your end and end up at three to two nines, anyway. If you really need five nines you should probably colocate and only use the likes of AWS as a spike backup.

          And I guess “messed something up on your end” happened in that case: I don’t think Hetzner is necessarily in the habit of maximising availability of their homepage at all cost (as opposed to the hosting infrastructure), you probably caught them in a middle of pushing a new version.

          …speaking of spike backups: That is what AWS is actually good for. Quickly spinning up stuff and shutting it down again before it eats all your money.

    • The pricing scheme here is designed to gouge businesses for equal or more than the traditional non-cloud equivalent. Which happens to be completely unaffordable. Imagine buying a new enterprise grade server for your home setup.

    • Merlin ( Merlin@lemm.ee ) 
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Can you point the everyone else? Just out of curiosity. I know there’s digital ocean but I’m not quite sure they’re cheaper than azure/aws