TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Small teams and solopreneurs, how are you hosting your apps?

29 点作者 aosaigh12 个月前
I&#x27;m a solo dev working on both my own apps and a product as part of a small team. I&#x27;m interested to hear how others are running their apps?<p>- Self hosted on a VPS? - Managed infrastructure like AWS, Fly, Render, Digital Ocean App Platform, GCP? - Full-stack platform like Vercel, Firebase, Supabase?

39 条评论

from-nibly12 个月前
Buy some used servers on eBay, at least 3 will do for redundancy, then get 2 internet connections. Set up another server to act as your opnsense firewall&#x2F;router and bond the two internet connections together. Make sure to buy a pair of UPSs for power back up. Install kubernetes and rook ceph with about 12 hard drives (redundancy) then find a friend who can host another server for offside backups. Dont forget the tape drive system for your second media. Start deploying gittea so you can host your code. Use argocd so you can have a build system. Deploy dapr so you can host all of your microservices in a standard way. Deploy otel and alertmanager so you can hook it into the only cloud service you need: OpsGenie (don&#x27;t forget to winge the whole time you use it)<p>That way you can write an article about how much cheaper self hosting is compared to the cloud and get your next round of investment.<p>On a serious note. The next startup I do I&#x27;m going to just use supabase.
评论 #40546574 未加载
评论 #40546867 未加载
TobbenTM12 个月前
Fully managed so I can spend my time on actually building features. In my case, AWS is my go to cloud, and even with a couple of thousand users, Lambda for compute, DynamoDB for database and SNS+SQS for eventing is costing me less than 5€ per month. Yes, there are risks with serverless if you get DDOSed or whatever, but it’s a risk I’m fine with, and can mitigate with gateways in front if necessary. And Lambdas are not locking me in to AWS since I’m running “full” ASP.Net apps in them, so hosting them on actual compute platforms is an easy switch.
评论 #40545469 未加载
评论 #40545417 未加载
评论 #40546446 未加载
qeternity12 个月前
Rancher k8s + Helm charts for HA services (Redis Sentinel + Patroni Postgres). Nightly snapshot backups + streaming Postgres WAL segments to S3.<p>I’ve never understood the k8s hate. We have been running this for a few years and it is rock solid. We can bring the entire cluster up on any provider anywhere in the world in about an hour. The DR is great.
eitchugo12 个月前
Self-hosted on a VPS is the first option for me, it&#x27;s cheap and you have total control on everything. It&#x27;s valid in my case because I know my way through infrastructure and configuration, so a panel isn&#x27;t too much gain.<p>You sometimes can even get those for free - <a href="https:&#x2F;&#x2F;free-for.dev&#x2F;#&#x2F;?id=major-cloud-providers" rel="nofollow">https:&#x2F;&#x2F;free-for.dev&#x2F;#&#x2F;?id=major-cloud-providers</a><p>For example, I have some (really) free instances on Oracle Cloud that I host pages, experiments, and so many things.
ivorbuk12 个月前
S3 buckets for the SPA&#x27;s, AWS Lambda, API Gateway and EC2 for a MySQL instance. Some SQS to help with orchestration of the operational stuff. Have about 5k MAU and total cost barely breaks 40$ a month.<p>Chose this because it&#x27;s the stack I&#x27;m super familiar with.
aristofun12 个月前
Hetzner + docker swarm can take you long way for a fraction of cost of any next alternative<p>And for a fraction of a mental burden and stress of the lightest k8s setup you can imagine
评论 #40546686 未加载
评论 #40546702 未加载
felipemesquita12 个月前
We have our own servers (mostly consumer pc parts) and run lxd to slice them up into vms&#x2F;containers. Deploy to those using kamal and expose the web server port through cloudflare tunnels. With simple scripts to periodically compress and upload the storage volumes and database dumps to Google drive, most of our less critical apps cost about $0 to keep running. For the higher criticality apps, we also deploy them to Linux vms using kamal, but use a commercial service (linode).
derfabianpeter12 个月前
Spoiler: Shameless plug, but might be helpful for people<p>I understand most of the commentators, as well as OP, are probably looking to not spend too much time and money on their hosting infra. While that makes sense in the beginning, there might be a point in your successful journey where you want to hand over your operation duties to someone skilled and focus on building software because your business starts depending on safe and well-maintained infrastructure.<p>If you&#x27;re looking for something between Heroku and AWS (both in terms of pricing and scalability) but based on K8s, with direct access to skilled platform engineers and personal support, you might want to check out <a href="https:&#x2F;&#x2F;www.ayedo.de&#x2F;cloud&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.ayedo.de&#x2F;cloud&#x2F;</a>
mbrain12 个月前
Dokku on a Hetzner instance, can handle 10s of apps if I need. Very simple to setup and manage. Deploys with git push.
ivylee12 个月前
For static web apps like my portfolio and blog[1], I use GitHub+Netlify.<p>I try to use AWS Lambdas as serverless backend as much as possible, for API products like [2].<p>If a server is absolutely required like running a Ghost blog&#x2F;newsletter [3], I use AWS Lightsail mainly because I&#x27;m familiar with AWS in general and it offers generous free tier.<p>[1]: <a href="https:&#x2F;&#x2F;ivylee.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ivylee.github.io&#x2F;</a><p>[2]: <a href="https:&#x2F;&#x2F;www.ycverify.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.ycverify.com&#x2F;</a><p>[3]: <a href="https:&#x2F;&#x2F;www.signalstalk.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.signalstalk.com&#x2F;</a>
kaliara12 个月前
Render has been a great heroku replacement. I thought I would miss the “add-ons marketplace” but it’s actually been fine. Costs are reasonable for our startup and they seemed to have fixed their odd Cloudflare downtimes of the past.
nicbou12 个月前
Docker on a DigitalOcean VPS. I&#x27;ve never been a fan of managed stuff, but then again I&#x27;m mostly coding for fun, not because it&#x27;s the best use of my time.
lappet12 个月前
This is not for a business, but I am working on a side project that uses node.js + sqlite and the entire stack will run on a single Lightsail instance ($5 per month)
XCSme12 个月前
I use Coolify on Hetzner bare metal.<p>I still like individual VPSs, as I have more control over the cost, monitoring, backups, etc.
otmahthe12 个月前
So, I&#x27;ve found that a mix of VPS &#x2F; Cloud is great for me.<p>I have VPSs with Ionos, they&#x27;re cheap and for the rest its all over GCP, functions, scheduler, firestore, storage, CDN and Cloud run are convenient tools.<p>Namecheap for domains, feels reliable.<p>Maybe switching to Hetzner for VPS if I need bigger ones, feels reliable and good priced.
rozenmd12 个月前
AWS for the important stuff: DB, core services<p>Cloudflare&#x2F;Vercel for the UI<p>Increasingly moving the important stuff to Cloudflare
distortionfield12 个月前
My setup is a digital ocean box with docker compose scripts and watchtower for deploys. All I have to do is push a new image and it will deploy in prod. Database is as aged Postgres cause that’s all that is really important. Cloudflare for the smaller services.
eru212 个月前
Currently using heroku for a backend server for an app I&#x27;m working on, in the past I&#x27;ve played with a lot of different options, but most of them are too complicated and expensive if you don&#x27;t actually have paying users.
clay_the_ripper12 个月前
Netlify for the front-end, google cloud for extended storage and Akamai for hosting. Akamai is great as they are less customizable than AWS (which is a good thing if you don’t need extra config) and much less expensive.
hyldmo12 个月前
Extremely happy with supabase here, it has mostly eliminated the need for a backend, letting me just focus on making valuable stuff for my users. I also ended up making my entire app realtime just because it was easier
anotherhue12 个月前
Cloud offerings are incredible for small teams. Don&#x27;t even bother trying to do your own thing until you can clearly articulate the savings and factor in the risks and costs.<p>Odds are you&#x27;ll never need to move.
dave33312 个月前
Hosted a few small but profitable web sites on Hostgator since 2005 - cheap and no need to worry about infrastructure beyond hosting files. Only problems have been wordpress sites getting hacked.
nocommandline12 个月前
I try to stick to serverless rather than trying to manage any infrastructure<p>1) Google App Engine Standard. Datastore for DB.<p>2) For anything that won’t work with the above, then it’s Google Cloud Run
bckr12 个月前
Render. Happy with it for now as a prototyping &#x2F; MVP tool. Won’t be able to continue forever due to HIPAA requirements and not sure how it scales anyway.
bravetraveler12 个月前
Combination of labs, colo, and partnerships with other parties.<p>Varying types of platforms and degrees of control. Ansible is the most unanimous thing I can name
leros12 个月前
I host some very small things on Firebase but I&#x27;m mostly using Render for projects these days (I switched from Heroku)
zackify12 个月前
Fly.io.<p>One command and it’s in another region, with my data thanks to litefs. It works great for my read heavy e-commerce app
davidguetta12 个月前
Is there a better option than heroku for under 10$ a month for python app and db support ?
评论 #40546560 未加载
FKFnwL12 个月前
I&#x27;m using Modal (modal.com). Works with my Python heavy stack.
anso_cc12 个月前
1GB RAM DigitalOcean VPS
blockwriter12 个月前
Vercel after moving away from Docker containers running on AWS.
评论 #40546315 未加载
codehooks12 个月前
Netlify for front-end and codehooks.io for the backend.
auspex12 个月前
ELB with WAF -&gt; Fargate -&gt; RDS
is_true12 个月前
VPS + Cloudflare CDN, R2 and Workers
MrLeap12 个月前
Steam! No server at all save that.
yencabulator12 个月前
Cloudflare Workers and Fly.io
jakubmazanec12 个月前
Fly.io + EdgeDB cloud.
dieselgate12 个月前
“rails s” on a droplet
pestatije12 个月前
im considering Railway due to not requiring credit card, but have not decided yet so cannot tell if its good or not