Live data from Hacker News

Ask HN: Solo-preneurs, how do you DevOps to save time?

news.ycombinator.com

311–320 of 328 posts

Re: Ask HN: Solo-preneurs, how do you DevOps to save time?

#311

I run a solo SaaS product with 15,000+ users. I use the "arcane/wizardry" techniques still. I simply run "make deploy" and a new production build is made and rsync'd to production. Then the script executes a "deploy.sh" on the production server which reloads the system process to pick up the new binary. Poof.

And if your singular production server catches on fire?

Has been five years and never happened. I don't optimize for problems I don't have.

I do daily backups and have the ability to deploy a "new" server if need be. It's a little bit of manual work but would be trivial.

Re: Ask HN: Solo-preneurs, how do you DevOps to save time?

#312
post #13

Not a solo founder, but I do a lot of ops professionally. Unless you have a specific reason, I say it’s best to avoid complicated tooling until later. k8s, ci, etc are all really useful and solve a lot of hard problems, but god are they a bitch to set up and then monitor, fix when something weird happens, secure from nasty people outside, patch when some update becomes necessary, resist the urge to “improve”, etc. Th…

At this point CI is pretty easy to setup and monitor and it's integrated with practically every development/deployment tool, so I have to disagree about waiting to implement it.

What do you use for CI?

Re: Ask HN: Solo-preneurs, how do you DevOps to save time?

#313
post #68

Earlier quoted context omitted.

I really like Heroku, when I work on NodeJS projects. BUT: In the last year I've had some rather serious downtime issues that were 100% Heroku's fault . (Poor encapsulation of Postgres configuration via the connection string, and they mistakenly claimed that I violated their TOS when I didn't. They apologized and fixed the situation.) I'd really like to see some good alternatives to Heroku. Not just because of their…

which languages do you want to work on?

C# and Rust.

Edit: Yes, I know there are community supported ways to do this, But I want something that is as slick as the NodeJS ecosystem on Heroku.

Re: Ask HN: Solo-preneurs, how do you DevOps to save time?

#315

Earlier quoted context omitted.

Heroku is by far the best for this but just to throw in some alternatives: * Digital Ocean Apps -- somewhat finicky but works very similar to Heroku, it gets closer to bare metal so I prefer it * render.com * AWS Elastic Beanstalk -- though setting this up is non-trivial, it is very similar to Heroku with its "set it and forget it" * AWS Container Services -- if you're using Docker * Google App Engine * Supabase -- g…

Does SPA stand for Single Page Application?

I think so. You'd use it as the backend for your SPA:

> Create a backend

But you'd probably host your SPA elsewhere, eg Vercel, Netlify, GitHub pages

Re: Ask HN: Solo-preneurs, how do you DevOps to save time?

#316
post #43

Earlier quoted context omitted.

Yep! Used Heroku at a previous gig (now a mid-size startup), worked great, now on Render.com and it's also great. Also factor in fly.io and railway as quickly-growing platforms in the same PaaS sort of space.

I head up Dev Advocacy at Render (previously at Heroku). Happy to answer any questions about Render.

I'm really only waiting on PITR for postgres before moving all my workloads over to render. Do you know when that will be available?

Re: Ask HN: Solo-preneurs, how do you DevOps to save time?

#317
Shameless plug:

Try https://treblle.com/how-it-works

Treblle allows you to test API requests with one click. Because Treblle knows what data was sent and what was returned it can replicate any call that the user has made and quickly allow you to re-run specific requests. Treblle also provides you with a way of running manual tests from our platform.

It also has an auto-generated documentation feature. Treblle can generate the required documentation for each endpoint just after 1 API call. It understands your JSON responses, can detect various authentication methods, group variable URLs in a single endpoint, support different documentation versions, and similar.

https://www.youtube.com/watch?v=3_W7zHrsM7E&ab_channel=Trebl... Here is a quick overview.

Let me know what you think.

Re: Ask HN: Solo-preneurs, how do you DevOps to save time?

#318
post #14

I only have side-projects, very different from a full-time, revenue earning solo-preneur, but I only use serverless. My preferred stack now is NextJS, hosted on Vercel with FaunaDB. The main reason is to “outsource” devops to them. I am not sure how it would work on a larger scale, but for my use is perfect.

How much money do you spend on this?

Right now, zero, as I am using only free tiers. But my understanding is that it is expensive when you scale.

Vercel first paid plan is $20/month and FaunaDB $25/month, so my guess is a business with some traction would have to pay at least these $45/month.

Re: Ask HN: Solo-preneurs, how do you DevOps to save time?

#319
I try to keep it as simple/basic as possible. Most of my deployments are Gulp tasks, usually in the form of: build & upload via SFTP.

Whenever there is a task that I have to manually do when building (eg. committing build hashes to a git repo, or manually replacing the version number in the UI), I create a gulp task to do that for me. Not only this saves time when deploying, but it also dramatically reduces the mistakes I can possibly make.

Re: Ask HN: Solo-preneurs, how do you DevOps to save time?

#320
post #319

I try to keep it as simple/basic as possible. Most of my deployments are Gulp tasks, usually in the form of: build & upload via SFTP. Whenever there is a task that I have to manually do when building (eg. committing build hashes to a git repo, or manually replacing the version number in the UI), I create a gulp task to do that for me. Not only this saves time when deploying, but it also dramatically reduces the mista…

To further add to this, when working at a company we were using a more complex deploying system, but in the end it it was a lot slower and failed a lot more often than the simple tasks that just build and customize locally and upload to the servers.
Post reply on HN