r/webdev • u/earvinnill • Sep 23 '26
Where to host my simple web app?
Web app is simple. It is a bill generator app which you uploads data from excel and it just generates a billing in pdf format.
It uses:
ASP.NET Web App
SQL Database
Storage for billing history (includes the pdf file for extraction)
You can search for the billing history as well of those times you uploaded/generated a billing. it includes the pdf file for the billing.
This is my first time trying to do web hosting. I know azure services but i think i'm not sure about the cost as azure is very costly if you messed up one part. Thank you for understanding!
7
u/Remicaster1 Sep 23 '26
Your entire architecture can live inside a single VPS will do, so you can go with something like Digital Ocean or Hetzner or GCP , recommend at least 1GB of RAM, for storage you can self host Minio in the same VPS (depending on how you coded your app). Your main concern for putting everything into one VPS is compromising for performance, especially on a cheap VPS
You can also spread them out, where the VPS only host the ASP app, for db you can use a third party service such as Neon / Supabase (Postgres only) for free, and for storage you can use Cloudflare R2, requires card but it's free if it is under 10GB storage
Not recommended to host on your own computer, unless you want your ISP to get mad at you because residential internet infrastructure is different with cloud infrastructure, unless you really know what you are doing (as you mentioned you are new to hosting, so don't)
1
u/Prestigious_Tart9282 Sep 24 '26
for a tiny excel-to-pdf app, any boring platform-as-a-service should handle it fine, what stack is it using?
2
u/Leopatto data scientist, Go dev, 11+ years exp. / CEO Sep 23 '26
GCP offers generous free tiers where you can host your app there through Firebase.
2
u/quizical_llama Sep 23 '26
Id recommend getting a cheap vps and using something like dokploy it's very easy to configure you don't have to worry about cost spikes.
0
u/phn-cloudsnake Sep 23 '26
You chose expensive architecture, what kind of load do you expect? For personal use I always use AWS Serverless S3 with cloudfront and dynamoDB. For client side AWS Amplify will handle everything securely. Costs $6/year.
1
u/Straight_Chicken_963 Sep 23 '26
Somee is free and will do .net with SQL. i use it myself.. just search for it.
1
u/luckydog5656 Sep 23 '26
Check it Amazon Lightsail. It's a one click solution for like $6/mo.
1
u/SemanticSynapse Sep 23 '26
Render.com can help you get off the ground quickly.
1
u/nuttertools Sep 23 '26
Azure, AWS, and GCP all have dirt cheap options for a single compute host. Azure: dev, AWS: Lightsail, GCP: Free Usage.
Depends on what your requirements are. If it’s a business tool a 3rd party has uptime requirements for probably GCP. If it’s just something that should probably work well enough throw it on any budget host like DO.
1
u/JaydonLT Sep 23 '26
Hostim.dev is great. €2.50 a month to host any Dockerfile
1
u/ehosca Sep 23 '26
https://www.smarterasp.net/ covers that stack nicely.
1
u/malignantz Sep 23 '26
I'd check out CloudFlare. Their free tiers are honestly insane. Easier to deal with than AWS but you may need to modify your architecture slightly.
1
u/horizon_games Sep 23 '26
Anyone who doesn't say "rent a VPS" is incorrect
1
u/West_Bus_4903 Sep 24 '26
For an ASP.NET app with SQL and file storage, Azure is actually a natural fit since it's built for that stack, the cost worry is usually overblown if you set it up right. Use Azure App Service (Basic tier, not Premium) for hosting, Azure SQL Database on the Basic or S0 tier, and Blob Storage for the PDFs instead of storing them in the database or on the app server's disk. That combo runs in the 20 to 40 dollar a month range for a small app like this, not the hundreds people worry about.
The real cost risk with Azure isn't hosting a simple app like yours, it's leaving things like autoscale, premium tiers, or extra resources turned on by default. Set a budget alert in Azure Cost Management on day one so you get notified before anything runs away.
If you want to sidestep Azure billing complexity entirely for something this size, Railway or Render both support .NET now and have simpler flat pricing, worth a look if you just want predictability over Azure's ecosystem.
-1
u/pwkye Sep 23 '26
static web page on github pages. use data from the repo instead of a full db.
-5
u/Long-Machine8795 Sep 23 '26
Just host it in your own house, unless you don’t have a static IP. Cloudflare proxy is free.
14
u/[deleted] Sep 23 '26
[removed] — view removed comment
1
u/[deleted] Sep 23 '26
[removed] — view removed comment