TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The architecture behind a one-person tech startup

1330 pointsby ksahinabout 4 years ago

71 comments

roryabout 4 years ago
My one-man-SaaS setup:<p>- Static frontend hosted on Netlify (free unlimited scale)<p>- Backend server on Google App Engine (connecting to Gcloud storage and managed DB via magic)<p>I realize I&#x27;m opening myself up to vendor lock-in and increased costs down the road (if I even get that far), but I&#x27;ve wrangled enough Docker&#x2F;k8s&#x2F;Ingress setups in the past to know it&#x27;s just not worth the time and effort for a non-master.
评论 #26739640 未加载
评论 #26738939 未加载
评论 #26739359 未加载
评论 #26742067 未加载
评论 #26739362 未加载
评论 #26738556 未加载
评论 #26739098 未加载
评论 #26743750 未加载
评论 #26739200 未加载
评论 #26738894 未加载
评论 #26740629 未加载
评论 #26749483 未加载
评论 #26740999 未加载
anonymouse008about 4 years ago
Anthony - if you&#x27;re reading this, thank you!! To arrive at this architecture takes 100s if not 100s of hours, and to share it with the community is dang inspiring.<p>I was feeling a bit down on my projects, but this has me amped up seeing how the ultimate goal of working on features rather than deployment is possible, and very real!<p>Best of luck with Panelbear!
评论 #26738507 未加载
评论 #26746316 未加载
sa1about 4 years ago
The author almost seems to apologize for having a django monolith.<p>But it&#x27;s worth realising that one purpose of code organisation in larger companies is to mirror the team organisation. That&#x27;s a constraint on code that can interfere with the best technical architecture.<p>You can do better with a monolith in a one-man team!
评论 #26742685 未加载
评论 #26747131 未加载
评论 #26743036 未加载
wmichelinabout 4 years ago
How do you start learning this breadth of software engineering? I consider myself good in the python &#x2F; django space, but where do I start with learning these infrastructure technologies? I find that I use them once or twice periodically, and then don&#x27;t touch them for so long, so I forget much of what I have learned.
评论 #26738400 未加载
评论 #26738257 未加载
评论 #26738517 未加载
评论 #26738285 未加载
评论 #26740580 未加载
评论 #26739893 未加载
评论 #26740656 未加载
评论 #26738426 未加载
评论 #26739140 未加载
评论 #26738523 未加载
评论 #26738498 未加载
评论 #26738618 未加载
评论 #26739094 未加载
评论 #26738402 未加载
评论 #26776153 未加载
wakatimeabout 4 years ago
My one-person SaaS architecture with over 250k users:<p>* Flask + Flask-Login + Flask-SQLAlchemy [1]<p>* uWSGI app servers [2]<p>* Nginx web servers [3]<p>* Dramatiq&#x2F;Celery with RabbitMQ for background tasks<p>* Combination of Postgres, S3, and DigitalOcean Spaces for storing customer data [4]<p>* SSDB (disk-based Redis) for caching, global locks, rate limiting, queues and counters used in application logic, etc [5]<p>I like how OP shows the service providers he uses, and why he decides not to self-host those parts of his infra. Also, there&#x27;s a large up front cost involved for any stack (Rails, Django, k8s). I&#x27;d be interested in a more detailed writeup with configs, to try out OP&#x27;s auto-scaling setup. My configs are linked in the gist below [2] for my non-auto-scaling Flask setup.<p>I spend about $4,000&#x2F;mo on infra costs. S3 is $400&#x2F;mo, Mailgun $600&#x2F;mo, and DigitalOcean is $3,000&#x2F;mo. Our scale&#x2F;server load might be different, but I&#x27;m still interested in what the costs would be with your setup.<p>[1] <a href="https:&#x2F;&#x2F;wakatime.com&#x2F;blog&#x2F;33-flask-part-2-building-a-restful-api" rel="nofollow">https:&#x2F;&#x2F;wakatime.com&#x2F;blog&#x2F;33-flask-part-2-building-a-restful...</a><p>[2] <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;alanhamlett&#x2F;ac34e683efec731990a75ab69d5699a1" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;alanhamlett&#x2F;ac34e683efec731990a75ab6...</a><p>[3] <a href="https:&#x2F;&#x2F;wakatime.com&#x2F;blog&#x2F;23-how-to-scale-ssl-with-haproxy-and-nginx" rel="nofollow">https:&#x2F;&#x2F;wakatime.com&#x2F;blog&#x2F;23-how-to-scale-ssl-with-haproxy-a...</a><p>[4] <a href="https:&#x2F;&#x2F;wakatime.com&#x2F;blog&#x2F;46-latency-of-digitalocean-spaces-vs-aws-s3" rel="nofollow">https:&#x2F;&#x2F;wakatime.com&#x2F;blog&#x2F;46-latency-of-digitalocean-spaces-...</a><p>[5] <a href="https:&#x2F;&#x2F;wakatime.com&#x2F;blog&#x2F;45-using-a-diskbased-redis-clone-to-reduce-aws-s3-bill" rel="nofollow">https:&#x2F;&#x2F;wakatime.com&#x2F;blog&#x2F;45-using-a-diskbased-redis-clone-t...</a>
hardwaresoftonabout 4 years ago
I&#x27;d argue that just about every infrastructure that looks like this benefits from Kubernetes (that you&#x27;re not setting up and managing), and that&#x27;s <i>a lot</i> of them. The biggest problem is that not enough people have boiled down Kubernetes enough to look like heroku yet. Google Cloud Run is possibly the best example of what Kubernetes can look like&#x2F;run like -- it runs on (probably a relatively heavily modified) KNative, a project that runs <i>on top</i> of kubernetes.<p>The &quot;point&quot; of Kubernetes is to drop the difficulty of building a service like Cloud Run to zero. It drops the cost of building a Heroku down to zero. I&#x27;d bet my bottom dollar that fly.io and render are running on Kubernetes (maybe they mentioned it somewhere already and I just missed it). With the right cluster set up, building one of those platforms (or others that I won&#x27;t mention) is <i>almost</i> as simple as setting up stripe checkout and writing a web interface to turn form fields into JSON fields and send them to a kubernetes cluster (possibly with hard multi-tenancy! not to get too into it, but you can literally provision kubernetes clusters from kubernetes clusters, ephemeral or otherwise).<p>No other tool in the devops world except for maybe the initial orchestrator wave (ansible&#x2F;puppet&#x2F;salt&#x2F;chef) has been this much of a force multiplier. Ok, maybe that&#x27;s hyperbole, but if adhoc-bash-scripts-&gt;ansible is 1-&gt;2, Ansible-&gt;Kubernetes is similarly 1-&gt;2, especially if you consider baked in cloud provider support&#x2F;innovation.<p>But here&#x27;s the secret -- perversely, I&#x27;m happy deep down that everyone thinks k8s is too complicated&#x2F;is a buzzword&#x2F;isn&#x27;t worth the effort. All it means to me is that I&#x27;m still ahead of the curve.
评论 #26744344 未加载
评论 #26742282 未加载
评论 #26741470 未加载
ernsheongabout 4 years ago
I am also a one-man SaaS (though not a successful one). The following tends to be my stack (on Google Cloud, if you will):<p>- Cloud Run (serverless containers)<p>- Cloud SQL (via proxy)<p>- Cloud Monitoring &amp; Logging (formerly Stackdriver)<p>- Compute Engine (if necessary, e.g. websockets)<p>- Cloud Build for GitOps (deploy on push)<p>It&#x27;s clean and simple (to me). Billing is in one place, nicely separated by projects. Monitoring &amp; Logging is already built in. No need to span multiple dev SaaS tools. So far managed to avoid Redis caching because Golang + Postgres is fast enough, so far. But if you need Redis you can DIY on Compute Engine or try Cloud Memorystore (configure the memory to a low amount for cost savings).<p>Google Cloud drawbacks: Additional charges necessary to connect Cloud Run to VPC (via proxy instances). Load balancing on GCP ain&#x27;t cheap ($18&#x2F;month, though to a larger enterprise that is a rounding error). But in my setup I didn&#x27;t need these things.<p>As shown above, I have heavily optimized for cost and simplicity in my setup.
评论 #26742199 未加载
评论 #26741688 未加载
评论 #26745097 未加载
biztosabout 4 years ago
Good article. My comment might be off topic in which case, please ignore.<p>If you have a one-person SaaS company, how do you get past customers’ resistance to a single point of failure, namely you?<p>Do you pretend you’re not just one person? Do you only have customers who could handle losing the service when you, say, run away to meditate on the mountaintop? (Or get run over by a beer truck, or whatever.) Is there some non-obvious solution?<p>And — back on topic — is the architecture part of that sales pitch? “I’m just one dude, but look how simple this is, it can run itself if I am devoured by mice!”
评论 #26745543 未加载
评论 #26741430 未加载
评论 #26742188 未加载
评论 #26745550 未加载
tptacekabout 4 years ago
This is really well done.<p>A suggestion, hopefully helpful: a better approach to securing your admin console than simply layering 2FA onto it would be to expose it to a private WireGuard network. One very easy way to do that is with Tailscale, which will hook up to your GSuite authentication --- Google&#x27;s 2FA stack will be far better than anything you&#x27;d likely build on your own.<p>Tailscale is <i>disgustingly</i> simple to set up. If you&#x27;re a product person, it&#x27;s actually upsetting how easy they&#x27;ve made it to get set up.
评论 #26745693 未加载
michaelbuckbeeabout 4 years ago
An important distinction here is that PanelBear (OP&#x27;s One Man SAAS) is something I would define as an &quot;analytics&quot; SAAS and as such has requirements that are way above what a typical CRUD SaaS might have.<p>That&#x27;s not to take anything away from the excellent writeup, but more so that someone who is thinking about starting a SaaS maybe doesn&#x27;t jump to the conclusion of &quot;I should go learn Kubernetes&quot;.
评论 #26739816 未加载
_gjrnabout 4 years ago
Then reality hits, and most SaaS&#x27;s typically only need to handle about ~10 reqs&#x2F;day, those of the &quot;founder&quot;.
评论 #26739539 未加载
yaloginabout 4 years ago
This is probably not the best place to ask this question, but as a solo founder or just to reduce costs&#x2F;time are there some standard free software packages that are used when creating sites? For example most sites need a user sign up mechaism, a authN and authX mechanism to gate access to different pages. Are there open source projects that provide this? Or do site owners develop these from scratch every time?
评论 #26740619 未加载
评论 #26740449 未加载
评论 #26740454 未加载
评论 #26740953 未加载
评论 #26742646 未加载
评论 #26752752 未加载
评论 #26740453 未加载
评论 #26740986 未加载
efortisabout 4 years ago
My infrastructure is $2,800&#x2F;year.<p>There are two Servers load balanced with DNS.<p>Each Server has 3 jails (Nginx, App, DB) and 2 NICs<p>The internal NIC is for replicating the DB, and for the App Servers to target the Primary one.<p>Diagram and Configs: <a href="https:&#x2F;&#x2F;blog.uidrafter.com&#x2F;engineering&#x2F;freebsd-jails-network-setup" rel="nofollow">https:&#x2F;&#x2F;blog.uidrafter.com&#x2F;engineering&#x2F;freebsd-jails-network...</a>
评论 #26743669 未加载
评论 #26741748 未加载
dimeatreeabout 4 years ago
Good on them. I wish I could use K8 as effectively as the author, it is an incredibly overwhelming list and an impressive range of knowledge.<p>In my situation I am finding the lack of consistent environment a reoccuring issue, the developer environment does not match production. However I kept it simple with Google App Engine Standard and Flex environments, I found the deployment process simple and was enough for me (at the time) - however I am finding we are going to step into dockerland; however I feel like it is very over my head!
评论 #26747766 未加载
rufusroflpunchabout 4 years ago
I always feel like these write-ups about SaaS&#x27;s are written by people who make SaaS&#x27;s for other SaaS&#x27;s. Application monitoring, email marketing, etc.
评论 #26738421 未加载
评论 #26738433 未加载
评论 #26756891 未加载
评论 #26738676 未加载
bellttylerabout 4 years ago
In the beginning my startup only had 2 people. A designer (my friend) and me (a developer).<p>For our frontend we used Webflow. My friend was able to create the entire marketting site, and all the app UI&#x27;s without needing help from me. Webflow is an awesome tool for that sort of thing.<p>For the backend, I built a simple Node&#x2F;Express API and hosted via Heroku.<p>To this day, everything is still running fine and the API is processing roughly 200 million requests a month. The total cost to host that on heroku is $50&#x2F;mo.<p>You can definitely have a simple stack but have it be highly scaleable!
ijustwanttovoteabout 4 years ago
I really enjoy reading these to learn the infra behind one man bands.<p>Another good read is Wenbin from Listen notes. <a href="https:&#x2F;&#x2F;www.listennotes.com&#x2F;blog&#x2F;how-i-accidentally-built-a-podcast-api-business-46&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.listennotes.com&#x2F;blog&#x2F;how-i-accidentally-built-a-...</a>
eandreabout 4 years ago
Super interesting! Definitely feels like a lot of fairly low-level tech to have to deal with for a one-person company, but I guess that doesn&#x27;t surprise me any more :)
评论 #26738656 未加载
0xdbaabout 4 years ago
For my typing SaaS, I found firebase hosting&#x2F;realtime DB a ginormous time saver.<p>And since it hasn&#x27;t taken off (and probably won&#x27;t ever), it just costs me a pennies a month since I&#x27;m under their free limits, plus the domain.
评论 #26739216 未加载
say_it_as_it_isabout 4 years ago
I was under the impression that Kubernetes was a complicated beast not meant for small teams &#x2F; startups. What is the value of it in <i>this</i> monolith environment? Is the key to using it in a startup context to use it as a basic monolith auto-scaling orchestrator but no more than that? If you or anyone else here can comment about how to use Kubernetes strategically without falling into an unnecessary over-engineering rabbit hole, I&#x27;m willing to learn from you.<p>Regarding the rate limiting, you&#x27;re load balancing into nginx services that you&#x27;ve configured to limit requests. Are they synchronizing rate limiting state? I can&#x27;t seem to find nginx documentation supporting this. What value is there in this style of rate limiting, considering User X can send a sequence of requests into a load balancer that routes them to nginx boxes A, B, and C? The big picture that 3 requests were processed for user X gets lost. Your endpoint-level rate limiting, however, may potentially be achieving the synchronized rates if the redis servers in a cluster are synchronizing. I guess I&#x27;m asking about the strategy of using multiple lines of rate limiting defense. Is nginx-level rate limiting primarily for denial of service?<p>The horizontal autoscaler should be based on throughput rather than hardware consumption, shouldn&#x27;t it? If the req&#x2F;sec goes below a threshold, spawn a new service. Can anyone comment?
评论 #26739347 未加载
chrisandchrisabout 4 years ago
&gt; From a technical point of view, this SaaS processes a large amount of requests per second from anywhere in the world, and stores the data in an efficient format for real time querying.<p>That is the closes thing to a number of requests I could find. So this architecture, no matter how solid, is somewhere between „way to large“ and „matches perfect“.<p>It seems like a solid breakdown on how to deploy your services to k8s and how to properly do CD deployments. But it does never mention whether it actually makes sense at the scale he actually has.
评论 #26738315 未加载
评论 #26740687 未加载
评论 #26738191 未加载
rajatsxabout 4 years ago
My one-man-SaaS setup:<p>- A single VPS server to host the app. I love DigitalOcean.<p>- A single docker-compose file to bring up the entire stack containing the front-end, the back-end and the database.<p>- Caddy for automatic SSL certificates and proxying.<p>- JavaScript&#x2F;TypeScript for building stuff.<p>- Cloudflare For DNS
tluyben2about 4 years ago
I am running a few one man saas&#x27;s on a 2.99$ vps (1 per project) with php, mysql and nginx.
评论 #26741109 未加载
评论 #26742159 未加载
Sodmanabout 4 years ago
A lot of people are going to jump on the &quot;he used k8s and he doesn&#x27;t even work at Google scale!&quot; part of this writeup, but I think it&#x27;s a perfect demonstration of the concept of innovation tokens [1]. He admits in TFA that clickhouse was the only new piece of tech in his stack, and he was already familiar with k8s et al - so he&#x27;s able to focus on actually building the products he wants. I could see somebody unfamiliar with k8s (but very familiar with all other pieces of tech in the system they want to build) being able to learn it as part of a side project, if it&#x27;s the <i>only</i> new thing. Where the wheels come off is when you&#x27;ve never touched k8s, postgres, aws, rust, graphQL or vue - and you try to mash them all together in one ambitious project.<p>[1] <a href="https:&#x2F;&#x2F;mcfunley.com&#x2F;choose-boring-technology" rel="nofollow">https:&#x2F;&#x2F;mcfunley.com&#x2F;choose-boring-technology</a>
评论 #26740830 未加载
评论 #26740314 未加载
评论 #26741042 未加载
dpwebabout 4 years ago
As a one person company I find it not just helpful but a core principle to minimize the number of stacks&#x2F;tools&#x2F;services being used. Overhead of task switching and learning curves.
pier25about 4 years ago
Since you&#x27;re in Germany, how do you handle VAT, EU tax returns, invoices, etc?<p>What about taxes and invoices to other countries?
评论 #26742385 未加载
throwaway78123about 4 years ago
This goes against the HN trope that &quot;you don&#x27;t need Kubernetes unless you are Google-size&quot;.<p>It turns out Kubernetes is actually perfect for small teams as it solves many hard operational issues, allowing you to focus on the important part of the stack: the application.<p>The key is to stick to a simple setup (try not to mess with networking config) and use a managed offering such as GKE. We may need a Kubernetes, The Good Parts guide.
评论 #26738744 未加载
评论 #26738612 未加载
评论 #26738680 未加载
评论 #26739389 未加载
评论 #26738609 未加载
评论 #26739104 未加载
评论 #26738700 未加载
评论 #26739573 未加载
eruciabout 4 years ago
My one man SaaS setup: t4g.micro (Free Trial) on AWS Ec2 - one mod_perl module + a bunch of python&#x2F;perl scripts. ( <a href="https:&#x2F;&#x2F;poidata.xyz" rel="nofollow">https:&#x2F;&#x2F;poidata.xyz</a> ). Startup costs so far=$1 (domain registration).
singhracabout 4 years ago
Reminds me of Listen Notes: <a href="https:&#x2F;&#x2F;www.listennotes.com&#x2F;blog&#x2F;the-boring-technology-behind-a-one-person-23&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.listennotes.com&#x2F;blog&#x2F;the-boring-technology-behin...</a>
igammaraysabout 4 years ago
Anyone heard of a One Man SaaS unicorn, i.e. a product that scaled to $10m+ ARR with only a single founder right till the end?
评论 #26740134 未加载
anuragabout 4 years ago
(Render founder) This is incredible work, and underscores the reason Render exists and is recommended by OP. Everything mentioned in the post is baked into Render already:<p>* Automatic DNS, SSL, and Load Balancing<p>* Automated rollouts and rollbacks<p>* Health checks and zero downtime deploys (let it crash)<p>* Horizontal autoscaling (in early access!)<p>* Application data caching (one-click ClickHouse and Redis)<p>* Built-in cron jobs<p>* Zero-config secrets and environment variable management<p>* Managed PostgreSQL<p>* DNS-based service discovery with private networking<p>* Infrastructure-as-Code<p>* Native logging and monitoring and 3rd-party integrations (LogDNA, Datadog, more coming this month!)<p>* Slack notifications<p>More at <a href="https:&#x2F;&#x2F;render.com" rel="nofollow">https:&#x2F;&#x2F;render.com</a>.
评论 #26741032 未加载
throwaway823882about 4 years ago
Cool write-up. I am a K8s hater, but I can see how this can work well for small projects with 1 developer. EKS definitely takes a lot of the maintenance headache, but there&#x27;ll still be some down the line.
staticelfabout 4 years ago
Interesting post. I would advice people against running a kubernetes &#x2F; docker setup if you don&#x27;t know it well. It&#x27;s quite complicated and most small companies don&#x27;t really need it.<p>As the author say, he already got a lot of experience of it so it worked out great for him but it is probably easier just to install the tech needed for a small company.<p>Unless you have something very special going on, the dependencies (like databases) are probably not going to be that many.
alexellisukabout 4 years ago
I was just reading the beginning of Arvid Kahl&#x27;s Zero to Sold. He recommends using a tech stack that you already know and have lots of muscle memory with. I couldn&#x27;t agree with him more. [1]<p>This tech stack looks over-engineered upon first glance, but I don&#x27;t know much about the author or his product.<p>I use Kubernetes a fair bit whilst developing OpenFaaS and teaching people about K3s, but there is a whole world of development teams who aren&#x27;t prepared to consider it as an option. One of the reasons we created &quot;faasd&quot; [2] (single-node OpenFaaS) was to help people who just wanted to run some code, but didn&#x27;t want to take &quot;Kubernetes mastery 101&quot;<p>For a small app using a managed service like Cloud Run plus some cloud storage should get you very far. I saw that Heroku is still popular with the indie community, with the author of Bannerbear getting a lot of value from the managed platform.<p>[1] <a href="https:&#x2F;&#x2F;thebootstrappedfounder.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;thebootstrappedfounder.com&#x2F;</a> [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;openfaas&#x2F;faasd" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;openfaas&#x2F;faasd</a>
aaronbrethorstabout 4 years ago
My one-person SaaS architecture:<p>It’s a Rails monolith deployed on Heroku.<p>I’d rather have the time to build new features for my user base than spend it learning how to use k8s or wrangling AWS through its abysmal console website.
评论 #26740357 未加载
reubensabout 4 years ago
I love your landing page. Accessible, well-balanced... you clearly have garnered a degree of frontend experience to complement the work on the backend
dimitrios1about 4 years ago
One thing I noticed a lot with indie or &quot;one-man&quot; startups is they make ample use of other SaaS tooling, often lesser heard of or known ones as well.<p>I am not sure what the right answer is, but I at least appreciate that there founders out there willing to give the little-er shops a chance. A healthy ecosystem with competition is good for the most amount of people.
omarhaneefabout 4 years ago
I hate to give homework to other people but I suggest you expand this out: udemy class, booklet, or a series of blog posts with tasteful ads.<p>Ideally, you would get it to the point where a newbie can use it as a reference.
nicioanabout 4 years ago
Great write up! Reminded me of the &quot;The boring technology behind a one-person Internet company&quot; [0] and the HN discussion [1]. [0] <a href="https:&#x2F;&#x2F;www.listennotes.com&#x2F;blog&#x2F;the-boring-technology-behind-a-one-person-23&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.listennotes.com&#x2F;blog&#x2F;the-boring-technology-behin...</a> [1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20985875" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20985875</a>
plniiabout 4 years ago
I run a one-person SaaS company supporting three products. One is an iOS and Android all-local storage app so that costs me nothing to run. I have two projects running on Django sharing the same RDS DB. I can support two apps with just a single EC2 each. One runs docker containers. The other I did not dockerize yet. For me, the total costs are about $40&#x2F;month. I have looked at Netlify and other “easy options” but they double or more my costs due to their costly basic tiers.
albertTJamesabout 4 years ago
The secret management seems overly complex, why not use <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;blogs&#x2F;containers&#x2F;aws-secrets-controller-poc&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;blogs&#x2F;containers&#x2F;aws-secrets-controll...</a> or <a href="https:&#x2F;&#x2F;kubernetes.io&#x2F;docs&#x2F;concepts&#x2F;configuration&#x2F;secret&#x2F;" rel="nofollow">https:&#x2F;&#x2F;kubernetes.io&#x2F;docs&#x2F;concepts&#x2F;configuration&#x2F;secret&#x2F;</a> ?
kparajuabout 4 years ago
Thanks for a great post! It was super detailed and I loved reading it. I had a quick question about your pg setup. You mentioned that you use EBS for your persistence storage, which is locked by zone . You can&#x27;t have an EC2 instance in Zone 1 mount a storage in Zone 3. Does this cause issues with your db? Especially as you have HPA and ClusterAutoscaler, your k8s nodes could be spun up in Zone 1 for pg autoscaling but your data is in Zone 3.
ilovefoodabout 4 years ago
I use Nomad for this after 2 years Kubernetes and it has been a revelation that things shouldn&#x27;t be complicated. Won&#x27;t change back again.
de6u99erabout 4 years ago
This looks solid. And k8s makes total sense, since you are avoiding vendor lock-in.<p>I&#x27;m just wondering why you don&#x27;t also run your managed services in k8s?
评论 #26738447 未加载
peter_d_shermanabout 4 years ago
Panelbear&#x27;s homepage:<p><a href="https:&#x2F;&#x2F;panelbear.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;panelbear.com&#x2F;</a><p>&gt;&quot;Web Performance and Traffic Insights<p>From the small stuff to the big picture, Panelbear gives you the insights you need while respecting the privacy of your visitors. It&#x27;s simple, and fast.&quot;<p>Price is based on client websites&#x27; page views per month, with free tier to 5K page views.
knodiabout 4 years ago
I have done with before, ran and one man b2b saas platform with 30clients from around the world. Infrastructure was the easiest part. We where processing roughly 100million messages a day, about 5 nodes. Monitoring was good, application performance tracking was good. Business ran for close to 7 years, making about 1.3mill a year on an average year.
评论 #26740807 未加载
评论 #26744099 未加载
cadbox1about 4 years ago
I don&#x27;t have the startup part yet but here&#x27;s my one-person stack with Postgres, Node and React deployed on AWS with CDK using RDS, Lambda, S3 and Cloudfront. It&#x27;s 100% in the free tier.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;cadbox1&#x2F;prawn-stack" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cadbox1&#x2F;prawn-stack</a>
ccmcareyabout 4 years ago
Great writeup.<p>How do you handle database migrations when using an otherwise automated CI&#x2F;CD flow with gradual deployment?
评论 #26741142 未加载
评论 #26738991 未加载
评论 #26741385 未加载
mikestaubabout 4 years ago
I created a similar post a while back for the GRANTS stack. ( GraphQL, React, ArangoDB, Nodejs, Typescript, Serverless ) <a href="https:&#x2F;&#x2F;github.com&#x2F;mikestaub&#x2F;slack-lunch-club" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mikestaub&#x2F;slack-lunch-club</a>
lmarcosabout 4 years ago
Nice read. I haven&#x27;t seen any references to Ansible or similar tools. For the ones who know: given the architecture described in the article, does Ansible fit in the picture? I don&#x27;t know a lot of k8s but I wonder how VMs are provisioned (e.g., how docker is installed?)
评论 #26741091 未加载
评论 #26739834 未加载
chpmrcabout 4 years ago
Hey great post! Thanks for sharing so many details. Just one question: how do you approach profiling in production? Specifically in those cases where copying whatever slice of data from the prod DB would be too much to handle.
system2about 4 years ago
Digital Ocean &#x2F; Vultr + Ubuntu droplets solve everything for us. We slap a sucuri in front of it, or for cheaper projects Cloudflare. I can&#x27;t understand the complexity people come up with like this.
urashidmalikabout 4 years ago
Amazing!. How long did it take to reach this point from envisioning the idea.
undeadsushiabout 4 years ago
I&#x27;m currently using zappa and lambda for supporting about 25 b2b users. It&#x27;s a django &#x2F; react application and I use cloudwatch for scheduled cron jobs. My overall cost is &lt;$20 a month.
lemarchrabout 4 years ago
It&#x27;s probably fine, but reading about a single Postgres container in a Kubernetes cluster with backups to S3 gives me sweaty palms. I hope the author has fully tested their disaster recovery plan.
评论 #26744070 未加载
nodamageabout 4 years ago
If you&#x27;re using Stripe for billing how do you handle tax compliance, specifically related to the VAT requirements in each EU country as well as sales tax requirements in each US state?
sillycubeabout 4 years ago
I use docker compose on a DO droplet, 1 container for python &#x2F; django, 1 for postgresql, 1 for nginx.<p>Kubernetes is too complicated for me
yumrajabout 4 years ago
Does anyone know how those diagrams are drawn?
评论 #26744406 未加载
mjgsabout 4 years ago
Impressive Tony Stark level solo dev setup :)
nickthemagicmanabout 4 years ago
Who was the very successful startup guy who ran all of his services from a single digital ocean VPS?
评论 #26746665 未加载
umenabout 4 years ago
Does some one here build multiplayer game mobile or web setup and can share ?
msmaghabout 4 years ago
Loved reading this, thanks for putting in the effort to share with community.
siruva07about 4 years ago
Has there ever been a one-wo(man) SaaS founder to take a company public?
评论 #26738479 未加载
btbuildemabout 4 years ago
Leading with a little blurb about WHAT the solution does would be nice.
wenbinabout 4 years ago
Anthony, this is awesome!
mrwnmonmabout 4 years ago
Anyone knows the chart lib he is using in the frontend?
dikaioabout 4 years ago
Wow what a great post, thanks for sharing!
eweiseabout 4 years ago
This looks way too complicated.
ThePhysicistabout 4 years ago
It&#x27;s a great writeup, I just find it weird that the author runs his &quot;privacy-focused&quot; analytics service on AWS and Cloudflare. From a GDPR perspective it&#x27;s not even clear if this is lawful (Schrems-II), and there are some good alternative cloud services available in the EU (e.g. Hetzner or OVH). Also, Cloudflare still sets the __cf* cookie on every request, so it&#x27;s not really cookieless tracking (I&#x27;m aware that Cloudflare is planning to get rid off this cookie though).<p>Edit: Maybe the downvoters can explain what they&#x27;re disagreeing with?
评论 #26738167 未加载
评论 #26738235 未加载
riantogoabout 4 years ago
One person forum platform setup:<p>-Inmotion shared hosting (some $10&#x2F;mo fixed)<p>-PHP (codeigniter framework) with MySQL<p>Not very proud in the age of Cloud, but I can’t deal with all the complexities. Command line scares me (which seems to be the requirement these days for any development). Now I have a simple ftp folder mapped directly in VS Code.
1hakrabout 4 years ago
Thanks for sharing, very detailed. i might use some ideas for my own SaaS <a href="https:&#x2F;&#x2F;simpleops.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;simpleops.io&#x2F;</a>