Hey guys, so I’m kind of new to the indie hacking world and I wanted to take advantage of the current discounts and offers, I plan on building a project where the main cost will be around hosting I guess, free and premium users will upload documents all the time so that’s my my concern.

My main stack is Nextjs, Nodejs, MySQL or Postgres.

I already have a cloudways account which costs me around $11.5 a month so I’m not sure if it suits my tecj stack.

My budget is under $2000 so I don’t if that’s enough to afford the whole process, domain, hosting… Etc, no external APIs will be used so that’s about all.

Thanks in advance.

  • anonperson2021@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You don’t need to spend anywhere close to that.

    I use Google Cloud Platform (appengine) and Digital Ocean for the database. Together they come to like $20 a month (17 of that goes to digital ocean). And hooked up a domain I purchased on Bluehost. You can probably find managed database even cheaper than that, and cut it down to 10 a month or so (everything combined).

    You shouldn’t be spending a lost on infra till you have traffic to justify it. Nor need to spend a lot.

    GCP is similar to AWS or Heroku. These platforms are comparable and enough to get you started and till you have decent traffic. After that you can always migrate to some enterprise type of package for handling large number of hits.

    • Penderis@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Agreed, I wanted to mention them, they have good choice between a fuckton of space or speed. Personally I just enjoy having a solid VPS I can use as I wish.

  • Skr21@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Vercel (for Next), Supabase (for Postgres) and Render (for Next, Node, Postgres) have very good free tiers and affordable pricing for indie projects.

    • Agreeable_Onion_5447@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Good choices. Adding to it -> Firebase file hosting, deno deploy or cloud flare workers assuming no nodejs only core utils dependency in the project

      • Xyz3r@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I run a small k3s with a single node and argocd.

        My suggestion for beginners is to just run docker with docker compose. It’s way easier to use and the startup I am building has been using this stack for 3 years now scaling to thousands of active daily users.

  • strzibny@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You just need an object storage such as AWS S3 or Digital Ocean Spaces, or alternatively block storage which might be cheaper (tradeoffs).

    If you are a dev, maybe you can also consider self-hosting with a simple VM (maybe with a managed database).

    I recently put together a guide for using Kamal for a single server self-hosting. Might be useful to you: https://nts.strzibny.name/deploying-rails-single-server-kamal/

  • Feanor774@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Vultr object storage for 1TB storage and 1TB bandwidth is around 6$ a month, there is probably cheaper but I don’t know much.

    In your case I would mix a cheap storage providers + GCP or AWS for all their serverless and cool features + free tier/credit, or something like that.