Putting Your Own Cloud Storage on a VPS
A setup for managing your photos and files on your own server. This article explains how to think about the capacity and memory you need, the load from syncing, and why you need backups twice over.

Ren

Procura
Disk is the star
Unlike other uses, here the disk runs out first. You get a lopsided squeeze: memory and CPU have room, but only the capacity is short. What makes it tricky is that the way to add only disk differs by provider, and in some cases the added space remains and keeps being billed even after you delete the server. It's worth checking how to add space before you sign up.
- The amount of data you want to store is the capacity you need, as is
- Thumbnails and converted files are also generated, so allow for those
- If you expect it to grow, leave plenty of room from the start
How much memory you need

Procura
- A typical setup has the application, a web server and a database on the same server
- For one user, it runs without being that large
- If several people use it or syncing is frequent, allow more room
- When photo conversion runs, usage spikes temporarily
Don't overlook the sync load

Procura
- The first sync takes time and puts load on the server
- The more devices you have, the more syncs happen
- If there's a transfer allowance, it can matter depending on how many photos you have
- Access from outside your home also uses transfer
You need backups separately
A mechanism that syncs across several devices is not a backup. If you delete something in one place, it's deleted from the synced places too. When you want to recover a file you deleted by mistake, syncing won't help. You're prepared only once you set up a separate mechanism that keeps past versions.

Wilson

Procura
- Take backups regularly to somewhere outside the server
- Keeping them on the same server is pointless
- The data is large, so you need capacity at the backup destination too
- Try restoring at least once to be sure it works
When you run out of capacity

Procura
- Move to a higher plan (the disk increases with it)
- Add only disk (if your provider supports it)
- Move old data to another storage location
- Decide how long to keep data in the first place, and tidy up automatically

Procura

Ren
This article is translated from the Japanese original. If the two differ, the Japanese version is the one we keep up to date.