Network-attached storage is a fine choice and a bad default. Application performance 101 says you want to move your application as close as possible to your database. The shorter that distance across the network, the faster reads and writes move between them.