Stating-ng multiple instances reddit / selfhosted ---------------------------------------------------------------------- Rooneybuk · 2023-12-02 11:42 Does anyone run statping with multiple container and just one backend Postgres ---------------------------------------------------------------------- thekrautboy · 2023-12-02 11:46 Maybe ask a specific question or explain the actual problem? Save yourself and others a bunch of pointless back and forth. ---------------------------------------------------------------------- Rooneybuk · 2023-12-02 11:49 I’d like to put statping in AWS Fargate with multiple instance of the container for high availability with a shared backend storage using EFS for the config and Postgres database instance for the data ---------------------------------------------------------------------- thekrautboy · 2023-12-02 13:46 Okay, thats your goal. And the problem is? ---------------------------------------------------------------------- lilolalu · 2023-12-02 14:38 Multiple instances for high availability which are using the DB... Find the error ---------------------------------------------------------------------- Rooneybuk · 2023-12-02 14:44 It’s was more of a curiosity question as when I asked the same about uptime Kuma I was told it wouldn’t work ---------------------------------------------------------------------- lilolalu · 2023-12-02 14:48 I think it might be possible - in theory - but it's not trivial. Like webservers, database servers have redundancy and failover mechanisms: https://enterprisedb.com/postgres-tutorials/postgresql-replication- and-automatic-failover-tutorial#:~:text=1.- ,What%20Is%20PostgreSQL%20Replication%3F,is%20called%20the%20Replica%2 0server. ---------------------------------------------------------------------- Rooneybuk · 2023-12-02 14:49 I think my best option is to probably set her target solution up locally in docker and just test ---------------------------------------------------------------------- thekrautboy · 2023-12-02 15:14 Eh, they are asking if it can be done, not if its a good idea ;)