r/linuxadmin • u/man__i__love__frogs • Oct 21 '25
Self hosting containers - does it require a principal of redundancy for all infrastructure?
Hey there, I'm a Windows/M365 admin, but as part of an Azure migration to go 'serverless', we've put some apps into Azure Container Apps, and I guess I have....seen the light.
Just for example I'm running a SFTPGO on a container app, that points to a postgresql db for config, and a storage location for the ftp data. These have redundancy themselves, but that is through Azure.
It got me thinking if I wanted to build an on prem environment with containerization in mind. Is the principal generally that everything should be designed with redundancy/failover in mind?
I am thinking of maintenance like system updates on the VMs - if I need a postgresql should it be designed with HA/load balancer kind of thing, so that both containers and the db can be drained and the host vms updated/restarted without downtime?
View all comments
Show parent comment
5
u/GenuineGeek Oct 21 '25
Look into stateless vs stateful. Stateless is easily scalable, stateful requires some additional considerations. You can absolutely containerize an RDBMS like PostgreSQL, but it's is stateful, so you'll have to understand how it works in the background and plan accordingly for redundancy.