Run them in containers, put them behind a reverse proxy that does TLS, point fail2ban at the proxy logs. Use strong passwords. Take backups. Life is full of risk, learn to live with it.