News for hackers. Stuff that matters.
Re:A developer goes to a DevOps conference by 1337shadow on Sunday September 29, 2019 @03:31AM (#21105672)
I don't think you ever "just need one", for me one is always two : staging (and ci, by extension ..) and production.

Provisioning an EC2 instance or a dedicated server just has the same cost in terms of manhour: running some automation in deployment pipeline, is something that you'll have to setup and maintain.

Be it updating a docker-compose file over ssh with ansible or something else: you have to do it anyway. If you want to cut that cost perhaps try with a starter project from OpenShift or Heroku, but that will also have a bigger cost even than an EC2 instance, and you will still have to take time to ensure your deployment is properly automated, with automated backups as part of the process.

Re:A developer goes to a DevOps conference by chupy on Sunday September 29, 2019 @04:13AM (#21105829)
> I don't think you ever "just need one", for me one is always two : staging (and ci, by extension ..) and production.

It's always at least two in production if you ever need it to be HA.

Re:A developer goes to a DevOps conference by 1337shadow on Sunday September 29, 2019 @05:09AM (#21105992)
Most project never get to the point where they need more than 99.9% which is perfectly feasible with a single server. Interesting remark nonetheless.
Re:A developer goes to a DevOps conference by erik_seaberg on Sunday September 29, 2019 @07:36PM (#21110366)
Prod needs n + 2 if you want to survive losing one (machine, datacenter, whatever) while you have one out for maintenance. Buying three when you need one is pretty expensive; buying seven when you need five isn't as big a deal.

Staging just needs n > 1 to test that sharding works at all.