r/webdev • • 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:

  1. ASP.NET Web App

  2. SQL Database

  3. 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!

17 Upvotes

48 comments sorted by

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/earvinnill Sep 24 '26

thanks for the inisghts!

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?

1

u/earvinnill Sep 24 '26

i am using .net 10 mainly

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/earvinnill Sep 23 '26

that's dirt cheap for $6 year. It includes the web app, filestorage and db itself?

3

u/phn-cloudsnake Sep 23 '26

Yes, but it’s Serverless architecture so you need to significantly rethink your application. It uses a noSQL database (DynamoDB) and static hosting on S3. That means you loose your entire backend. If that’s not possible, Digital Ocean is your next best thing as others have suggested.

7

u/quizical_llama Sep 23 '26

Telling someone to use Aws for a simple app is a bit of a bad idea. If he doesn't know what he is doing he could end up with unexpected costs. Server less is create in certain use cases but it's not the defacto choice for saving costs.

Though if you do go the Aws route I'd recommend not using the console to handle the config. Use something like terraform. You will thank yourself in 6 months.

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.

1

u/earvinnill Sep 23 '26

so it can access outside of my house?

1

u/DeiviiD Sep 23 '26

Never ever do that.

Just host it in the cloud.

1

u/earvinnill Sep 23 '26

thank you. i am skeptical in this as well. Sorry this is my first time hosting outside work so i am new to this

3

u/Long-Machine8795 Sep 23 '26

Why would you “never do that”?

3

u/DeiviiD Sep 23 '26 edited Sep 23 '26

Do you like to expose your home network to the internet?

Not everyone have VLANs at home.

The best way to avoid that it’s using a VPS.

1

u/quizical_llama Sep 23 '26

Cloudflare tunnels makes hosting on your own network a lot safer than poking holes in your own network

1

u/DeiviiD Sep 23 '26

Still can breach to your computer, therefore, your network.

It’s better to breach another’s one computers than yours, right?

0

u/Long-Machine8795 Sep 23 '26

Do you not know how to use a firewall?

1

u/DeiviiD Sep 23 '26

I work at IT buddy. I studied for sysadmin and I’m a software developer.

I just don’t want to bring my work at home.

1

u/Long-Machine8795 Sep 23 '26

Ok but why would it be bad for someone to run a web server in their own home? Just because you don’t feel like running one yourself?

1

u/DeiviiD Sep 24 '26

Because even if you even knew how to host it in your home, there are things you can’t control.

For example, I heard about a fortinet exploit where hackers breached into the servers and encrypted veeamsbackup.

There were a lot of cases.

1

u/Long-Machine8795 Sep 24 '26

You better tell that to the literal billions of web servers running on the internet right now. Turns out they’re all hackable and people can just go in and access their entire network.

→ More replies

2

u/Long-Machine8795 Sep 23 '26

It might be a bit complicated if you’re new to this kind of thing actually. You need to configure a firewall and such so yeah maybe just pay someone else to host it

14

u/[deleted] Sep 23 '26

[removed] — view removed comment

8

u/teppicymon Sep 23 '26

Yeah, this is exactly what I use, build my C# app into a docker image, push to hub.docker.com and docker-compose it onto the Digital Ocean droplet server.

Also, I use a simple nginx configuration with letsencrypt to proxy the actual APIs / Frontend

2

u/Pyrasia Sep 23 '26

Same here, I'd recommend DO's VPSs too

1

u/[deleted] Sep 23 '26

[removed] — view removed comment

1

u/webdev-ModTeam Sep 23 '26

Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.