4 ms·
I only use it for side projects right now, and in the past for a real production application for which "high availability" was not a problem (I could do ocasion
by 0xblinq 4y ago
I only use it for side projects right now, and in the past for a real production application for which "high availability" was not a problem (I could do ocasional maintenance windows out of work hours). Here's how I did it in case it helps you:
> deploy from source repo? Terraform?
I use Dokku (https://dokku.com/ https://dokku.com/), then the workflow is the same as if you'd be using Heroku
> keep software up to date? ex: Postgres, OS
Automattic ubuntu updates + I once a week SSH to it and apt-get update, etc.
> do load balancing? built-in load balancer?
I just don't. I don't need for the load of my projects.
> handle scaling? Terraform?
Just vertical scaling for now. A single powerful server can do great before you might need to add more servers.
> automate backups? ex: databases, storage. Do you use provided backups and snapshots?
I just enable the "backup" feature on their admin panel. Adds 20% to the cost but works great and it's easy.
> maintain security? built-in firewall and DDoS protection?
I only expose the HTTP(s) and SSH ports, and I also have setup fail2ban for bruteforce attacks.
> If there is any open source automation scripts please share.
Dokku.