Live data from Hacker News

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

news.ycombinator.com

181–190 of 328 posts

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

#181
ECS gives you pretty much everything K8S gives you, in a fully managed package. Obviously you can't (simply) run ECS in development, but sticking with Docker Compose keeps the semantics close enough, as well as giving you advantage of clean separation from any other code on your machine.

CI/Deployment: hosted CI, merged PRs to main branch auto-deploy (I've used both Codeship and Github Actions with ECS)

DB: managed RDS

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

#182
post #138

Earlier quoted context omitted.

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!

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…

Thank you so much !!! And congratulations on all you have accomplished!

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

#183
post #177

Talking about myself, as a python dev: - cheap VPS for hosting, postgres for the db, nginx as a proxy, redis for everything else, including caching. - deploy python projects by packing them as zipapp with shiv, then use fabric to ssh and performs any migrations necessary. No, not even ansible. - build, lint, format and test, like all automatizable stuff, are made using pydoit. If you are solo, you don't need a CI ser…

People are renting 32 cores for E$320/mo? ...Anybody wanna rent 56 cores and 128GB of RAM for that rate?

If you can give the guarantees and convenience that lease web give, then yes.

Is your bandwidth unmeterred?

Do you have redundancy everywhere, including link and power?

Do you have software to remotely manage the server, including install, reinstall and emergency access?

Can I pay you with the company credit card? Do you provide a billing system with VAT?

If the answers are yes, then congrats, you can open your own hosting business.

But remember next year, the servers will be obsolete.

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

#184

ECS gives you pretty much everything K8S gives you, in a fully managed package. Obviously you can't (simply) run ECS in development, but sticking with Docker Compose keeps the semantics close enough, as well as giving you advantage of clean separation from any other code on your machine. CI/Deployment: hosted CI, merged PRs to main branch auto-deploy (I've used both Codeship and Github Actions with ECS) DB: managed R…

Keep in mind you can run EKS in aws to get K8S in a fully managed package as well.

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

#185
post #92
post #22

Lots and lots of best practice exists specifically to help teams , and especially teams with some normal amount of turnover. The problems of a solo dev are very different than a dev on a team. Knowledge silos don't exist. Distributed expertise doesn't exist. There's no one to mentor, no shared vision to maintain, no intertia to combat. I consult on big complicated team projects. I also manage multiple solo projects.…

> I pay a service to manage backups so I can walk away from a solo project for months and know it's ticking away. Any recommendation of such service?

Tarsnap

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

#186
post #34

Earlier quoted context omitted.

> spooky arcane oldhat sysadmin deploy techniques (scp release to prod hosts, run deploy script I never realised I was using spooky arcane oldhat stuff! I feel wizardly now. My projects (for small clients and myself) basically use this. - A "build.sh" script that does a local build of back end and front end - A "deploy.sh" script that scp's everything to the server (either a digital ocean VPS or an EC2 instance), run…

Naive question: what's the correct way of doing this when you need to cp your content to a dir like /var/www/html that your user doesn't own (when logging in as root is prohibited)? My "spooky" (and probably very stupid) method is an Expect script that lets me supply a password to sudo.

Login as the user that owns that dir, don't try to hack around the user permissions.

Also you probably don't want your web under /var if its a partition and you fill it with lets say user content then you will lock up your server.

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

#187
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.

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

#188

I have no idea why there's nothing here saying "don't". Go and get a Heroku account, hook it up to your Github repository's master branch for deploys, use Github Actions for CI, and then get on with life. Yes, you'll pay more for a Heroku Postgres instance than you would for a VPS on Digital Ocean with Postgres running on it, likewise you'll pay more for Heroku Dynos than another VPS to run your application server. O…

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 -- geared for SPAs but this may be the ticket depending on what you're building, is open source

You may want to use your own VPS but spend for a managed database solution as this has the most potential for catastrophe.

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

#189

I have no idea why there's nothing here saying "don't". Go and get a Heroku account, hook it up to your Github repository's master branch for deploys, use Github Actions for CI, and then get on with life. Yes, you'll pay more for a Heroku Postgres instance than you would for a VPS on Digital Ocean with Postgres running on it, likewise you'll pay more for Heroku Dynos than another VPS to run your application server. O…

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…

Also AWS Copilot if you like CLI based tooling, similar to Elastic Beanstalk but easier (at least if you're comfortable making a Dockerfile)

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

#190

I have no idea why there's nothing here saying "don't". Go and get a Heroku account, hook it up to your Github repository's master branch for deploys, use Github Actions for CI, and then get on with life. Yes, you'll pay more for a Heroku Postgres instance than you would for a VPS on Digital Ocean with Postgres running on it, likewise you'll pay more for Heroku Dynos than another VPS to run your application server. O…

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…

I would advise against Elastic Beanstalk, last time I used it the product had the stink of being on life support - they've not really added any new features to it in several years, and even before that it was incredibly flakey.
Post reply on HN