News for hackers. Stuff that matters.
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by TekMol on Tuesday October 12, 2021 @09:09AM (#28839182)
I scaled to millions of users as a solo founder and still run the whole show myself. AMA if you like.

Here is what works for me:

CI: From the terminal, I run my tests and commit to git.

Deployments: rsync

Rollbacks: Never did one. If something breaks, I fix it and rsync the fix to production.

DB: MariaDB

k8s: I don't use it. Computers are very fast these days. A cheap single VPS will get you a long way.

Nightmare: Not really. I spend about 30 minutes per week on DevOps.

Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by tommiegannert on Tuesday October 12, 2021 @11:56AM (#28841295)
Agreed on rollbacks. I think rollbacks are a thing when you don't know the code, or you're too busy to be able to debug. Like when being on-call for a large codebase.

If you're solo, you probably know enough that fix-forward is the way to go. (This assumes the system isn't critical enough that it needs fixing even if you're asleep, but then you would probably not be solo anyway.)

Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by orky56 on Tuesday October 12, 2021 @12:43PM (#28841853)
Not sure if it's a philosophical question but as a solopreneur I have always rolled back since it keeps my commit chain cleaner rather than have previous versions that were buggy. I want to minimize downtime and a rollback is always faster than a fix-forward even when you know, or think you know, the fix.
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by XCSme on Friday October 15, 2021 @06:00AM (#28876087)
I do the same, I feel like a simple VPS is a lot easier to manage and less prone to failures than a "cloud" provider. Normally the push-back is "what if it fails, what if you need to scale, etc.", but so far no VPS failed on me (even if it did, you can just use backups and restore with a bit of downtime) and the scaling part can be solved through a good horizontal-scaling server architecture, instead of relying on the cloud to automatically do that for you (which anyway still requires your architecture to support horizontal scaling).
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by aristofun on Tuesday October 12, 2021 @09:26AM (#28839357)
Best comment so far. Thank you for being specific and to the point.
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by jitendrac on Wednesday October 13, 2021 @07:18AM (#28850798)
Would you like to share the vps configuration and traffic you handle per month without diving deep into your venture?
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by launchiterate on Tuesday October 12, 2021 @10:08AM (#28839837)
What are the most important things you learned and what would be your core advice for someone who wants to run a solo operation? How do you schedule your time to work on your project and how has it changed over time? Thanks in advance!
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by TekMol on Tuesday October 12, 2021 @10:46AM (#28840382)
I would say the most important thing is a combination of two things:

1: Work on something that you yourself or your users want to exist. Don't think about what others might want. Make something that you consider pretty cool shit. Or something your users are asking for. Something where you or your users say "OMG when this is ready I will fricking love using it! I can't wait!".

2: Most founders, me included, often get stifled. They stop putting time into their project because they think it is just a dream. Remember that all amazing things have been built by people just like you. And to keep putting time into building something that you yourself or your users want.

Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by launchiterate on Tuesday October 12, 2021 @11:38AM (#28841065)
Thank you so much !!! And congratulations on all you have accomplished!
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by CodinM on Tuesday October 12, 2021 @09:11AM (#28839203)
What is the domain of your venture? (assuming it's not something you want to advertise specifically)
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by TekMol on Tuesday October 12, 2021 @09:14AM (#28839235)
I like to keep it off my HN profile. I feel I am more open to share details this way.
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by lambdaba on Tuesday October 12, 2021 @11:11AM (#28840698)
Do you mind putting in some contact details (even temporarily) on your profile? I'd like to have a chat with you some time, I was looking through this whole thread for a comment like yours and I resonated a lot with you. (my details are in my profile)

Not immediately, but in the following weeks.

Thanks again for sharing.

Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by juanse on Tuesday October 12, 2021 @02:57PM (#28843643)
Which tech stack are you using?

PD: I follow a similar approach. I am glad you said it.

Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by hnick on Tuesday October 12, 2021 @07:57PM (#28846599)
How about backups? I struggle with it a bit for our home office.
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by nkzd on Tuesday October 12, 2021 @10:34AM (#28840193)
How do you host your DB? Do you use managed DB service?
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by TekMol on Tuesday October 12, 2021 @10:47AM (#28840393)
I run it on my VPS along with the rest of my project.

If I want to set it up on a new server, I start a fresh Debian machine, do "apt install mariadb-server" and I am good to go.

I don't like managed services (like Heroku) because:

1: I cannot easily replicate the setup locally.

2: It creates vendor lock-in which will cause me trouble when the vendors service changes in a way I don't like.

3: I would not be able to put the whole setup of my project in one setup script. It is so nice to just have a single script that contains all the steps that need to be done (Like the "apt install mariadb-server") to run the project on a fresh machine.

Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by strzibny on Tuesday October 12, 2021 @11:29AM (#28840941)
If someone wants to know how to host a database for the first time, I have a full chapter on PostgreSQL (and one on Redis) in my new book https://deploymentfromscratch.com/. There is also a demo that sets up an independent database server (which you can treat as your own managed db).

It's easier than you think if you stick to your distributions' packages. Just need to know how to 1, do auth right 2, enable SSL 3, run with SELinux 4, set a different location (for attached storage) 5, managed backups.

Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by whitepoplar on Tuesday October 12, 2021 @01:27PM (#28842479)
Any chance you have an HN discount code? :-)
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by strzibny on Tuesday October 12, 2021 @04:05PM (#28844423)
I want to do Show HN, but probably have to prepare a bigger preview for that. Grab the "ruby30" code from the Reddit announcement: https://www.reddit.com/r/ruby/comments/pg3c9c/i_posted_on_th...
Re:Ask HN: Solo-preneurs, how do you DevOps to save time? by whitepoplar on Tuesday October 12, 2021 @08:08PM (#28846668)
Purchased. Thanks!