• @[email protected]
    link
    fedilink
    9710 months ago

    Autoscaling for personal projects is just a tool to turn random DDOS into personal bankruptcy.

    • @Blue_Morpho
      link
      2310 months ago

      I don’t understand how anyone uses a paid API for a personal project. I looked hard into MS, Google and Amazon a few years ago for a project and couldn’t find anywhere where you could hard block services to never ever go above the free tier.

      Considering that I’ll build a project and forget about it for years, putting in my credit card into a cloud service was a guaranteed gigantic bill sometime in the future when things went wrong. (Over your life, something is guaranteed to go wrong.)

      • @lordnikon
        link
        English
        510 months ago

        to answer your question you can with budgets under cost explorer and running everything as a cloudformation template

      • @whereisk
        link
        310 months ago

        Have you heard of virtual debit cards? You can’t charge what’s not there.

        Also, at least AWS will in fact send you an email when you approach the end of free tour usage.

        Having said all that, most devs can host the few hundred visits they might get over a month with a $200 home server and a free CloudFlare cache if they know what they’re doing.

        • @Blue_Morpho
          link
          13
          edit-2
          10 months ago

          Have you heard of virtual debit cards?

          I tried one and it didn’t work. Reading about it said they block those.

          I don’t need an email. I need it to stop instantly. In the time it takes me to notice an email, I could have hundreds of dollars in charges.

        • Kogasa
          link
          fedilink
          9
          edit-2
          10 months ago

          All cloud providers will support budget notifications. That doesn’t do much good when you shoot past the budget in a short timespan. I set a Google cloud budget of $20/month and enabled a Tensorboard instance, which had no observable indication that it cost anything except the base cost of the VM, and got notified that I was $280 over budget the next day. Apparently there was an upfront $300/month/user fee for Tensorboard. (Several months later they changed the pricing model to $10 GiB/month with no user fee.)

  • db0
    link
    fedilink
    3010 months ago

    I’m the opposite. I build things using the YOLO practice, then refactor to scale if my shit becomes popular :D

    • TrumpetX
      link
      fedilink
      English
      510 months ago

      I think you meant YAGNI, but I dunno, YOLO might be a legit strategy for you too ;)

      • db0
        link
        fedilink
        110 months ago

        YAGNI

        At an abstract level, sure. But no, I mostly meant I just start coding and see where it takes me :D

  • @lemming741
    link
    English
    2710 months ago

    On behalf of /c/selfhosted we resent this image

    • @marcos
      link
      410 months ago

      What in there are you doing in your self-hosted environment?

      They are all way too much work for no gain at all. Arguably useful if you have enough scale, but even then it’s arguably.

      • @lemming741
        link
        English
        610 months ago

        None of those specifically, but after you have a virtualization host your flock tends to grow pretty quickly. More that I’m hosting big multi-user things like nextcloud for a single user.

      • @marcos
        link
        610 months ago

        So… Me and the Google bot. I still don’t know how to convince the Bing bot the thing exists.

  • @Dasnap
    link
    1110 months ago

    But you’re prepared for when it gets big! It’s inevitable!

    • @[email protected]
      link
      fedilink
      110 months ago

      Just one more round of funding and then…

      That’s the Reddit strategy of platform development.

  • @vegantomato
    link
    1010 months ago

    Learn to solve problems using programming. Go learn Python. Stick with the basics and have fun. If you start worrying about losing older versions of your code, learn Git. Grow from there.

    Kubernetes? Microservices? Cloud platform? These are all distractions and a waste of your time.

    • @SirQuackTheDuck
      link
      310 months ago

      I used to have this enormous dev folder of projects. Some with git, some before I knew what it was.

      I clinged and backed it up like crazy, until I actually looked at what was contained (spoiler: horrid code). Then I just got used to burning some old code. Now I’m often distracted by stuff like docker, kubernetes and that stuff

      It’s fun though, I’ve grown a bunch. but the setup sometimes does overscale badly

      • @[email protected]
        link
        fedilink
        110 months ago

        I have a personal project that was getting big and unruly, and I’m so happy I learned how to use Docker and converted all the little pieces into their own repos and containers.
        That being said, I totally went down rabbit holes that didn’t end up being helpful, like setting up my own CI/CD or trying to learn Kubernetes. They were totally overkill for me.

  • @[email protected]
    link
    fedilink
    810 months ago

    Yea except serverless you pay for usage, so if you have zero users, it’s free! Just make sure you put a hard limit on autoscaling.

  • @[email protected]
    link
    fedilink
    610 months ago

    I used to build things this way for a learning experience, because I knew it would be valuable on some job later.

    But these days when I work with aws every day, I go for simple, cheap solutions outside of aws for private projects.