this post was submitted on 25 Nov 2023
1 points (100.0% liked)

Side Project

29 readers
1 users here now

A community for sharing and receiving constructive feedback on side projects.

founded 10 months ago
MODERATORS
 

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.

top 14 comments
sorted by: hot top controversial new old
[–] anonperson2021@alien.top 1 points 10 months 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.

[–] Prestigious_Tax2069@alien.top 1 points 10 months ago (1 children)

I think no service offer like contabo

[–] Penderis@alien.top 1 points 10 months 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.top 1 points 10 months ago (1 children)

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.top 1 points 9 months 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

[–] austintxdude@alien.top 1 points 10 months ago

Linode nanode is $5/mo

[–] Xyz3r@alien.top 1 points 10 months ago (1 children)

Hetzner arm64. 4vcpu and 8gb under 10€

[–] dogscloud@alien.top 1 points 10 months ago (1 children)
[–] Xyz3r@alien.top 1 points 10 months 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.

[–] Sky_Linx@alien.top 1 points 10 months ago (1 children)

Hetzner! Best quality/performance/price ratio in the market

[–] dogscloud@alien.top 1 points 10 months ago

How do you deploy and structure things

[–] strzibny@alien.top 1 points 10 months 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/

[–] KemaneWright@alien.top 1 points 9 months ago

I’m using this SaaS boilerplate https://usegravity.app and hosting on Render.com using AWS S3 for storage

[–] Feanor774@alien.top 1 points 9 months 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.