3 ms·
Yes. I self-host for my infrastructure. MariaDB and PostgresSQL. I've been self-hosting MySQL and Postgress for nearly 15 years now. But it's not something I re
by sumanthvepa 5y ago
Yes. I self-host for my infrastructure. MariaDB and PostgresSQL. I've been self-hosting MySQL and Postgress for nearly 15 years now. But it's not something I recommend my clients doing.You need to be really careful to avoid foot guns like the one that took down new blur. For example. I don't run my DBs in containers, although I run my applications within containers.
- vira28 5y agoMakes sense. How do you handle firewall? Just open up the source IP with the IP of wherever the Application is hosted?
- throwawayboise 5y agoYes, limit connections in firewall. Ideally you are only listening on a private network anyway, better yet only listening on loopback or a local socket. But still firewall it. You can also configure the database to only accept connections from a particular source. Do that too.
- vira28 5y agoThanks for clarifying. > you are only listening on a private network anyway what if i host my app in say some where else than the DB? > better yet only listening on loopback or a local socket. For that app and db needs to run on the same server. Isn't it?
- backd00r 5y agoWhat are the downsides of running DB in containers?