Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Even systemd units start with separate control groups to allow you to terminate everything at once

My experience has been that _literally_every_ advanced cloud architecture can be simplified to:

- Host w/1 administration IP on a vlan w/ admin services on that IP, then N customer/service IPs w/ customer+service apps bound to them (11.12.13.14:5432 for customer A postgres, 25.26.27.28:5432 for customer B postgres, whatever)

- For each IP+service combo, configure the service to use its own directory of storage. Back each storage according to what it needs; the DB is backed by block RAM > SSD partitions > HDD partitions > SMB nonsense.

- For each Host+customer+service triple, write a python (complex)/shell (simple) deployment.py/sh and health script.py/sh to handle 95% of monthly deployment+maintenance needs.

Done. Scale to MxN HostsxServices across M IPs by N services over N customers.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: