News for hackers. Stuff that matters.
Re:Deploy your side-projects at scale for basically nothing ... by zebnyc on Monday January 13, 2020 @01:48AM (#22032381)
Are you hosting the database on the same instance? Also, how are you doing automatic backups?

Thanks

Re:Deploy your side-projects at scale for basically nothing ... by freehunter on Monday January 13, 2020 @10:25AM (#22035197)
Yes the database is on the same instance. The biggest downside to that is my droplet gets low on space as the database grows but so far it hasn’t been too much of an issue. The growing need for SSD space has pretty much matched the growing need for RAM as I increase the droplet size.

For backups: I have a bash script set up every night to run a pg_backup and send it to an S3 bucket where I store the last 7 days of backups. All static files (images mostly) are hosted on S3 with no real backup but that works fine for my particular use case.