Retrofitting Apps for Cloud Storage with Zero Code Changes

from blog Posts on mtlynch.io, | ↗ original
I recently installed a media sharing app to one of my servers. It was simple to install, but it hid a dastardly trap for long-term maintenance. Every time a user uploaded a file, the web app saved it to the local filesystem. If I ever blew away the server and rebuilt it, I’d have to backup and restore every file manually. The better architecture...