Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Accepted Answer
Hello,
I would recommend first copying your current uploads folder to your new location:
cp -r /var/www/example.com/u/wp-content/uploads/* /mnt/storage/uploads
That way you would make sure that your existing images are also present in your new uploads directory.
Also, I would suggest keeping your new uploads folder within your document root. So either mount the block storage somehere in: /var/www/example.com/u/ or create a symlink for /mnt/storage/uploads to /var/www/example.com/u/uploads for example.
Here’s an example on how to create the symlink:
ln -s /mnt/storage/uploads /var/www/example.com/u/uploads
Then update the UPLOAD path in your wp-config file to /var/www/example.com/u/uploads. This way your images would be available via http.
Let me know how it goes. Regards, Bobby