Cloud storage versus local disk
Storage on your developer computer is an easy thing to understand. Even a budget laptop has an SSD these days, and while it might not compare with the premium options out there, it's usually sufficient for a simple web app. You store your stuff in
C:\foo and there are no major worries unless Windows crashes or something similar.
Moving your code to production changes a few things. Your code can still remain in
C:\foo on your virtual machine, but the hard drives underneath are possibly configured differently. This is still not a problem, however.
Storage is cheap these days, at least until you factor in other things. One SSD in a laptop might not cost that much, but if you want to deploy a web app running locally, you can bring out the calculator to add on extra costs. Since a hard drive can fail, you need to double up and put two drives in a mirror. But since that only handles redundancy, you need two more drives for handling backup (which...