SabaKore

Home / Articles / Use cases

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, a junior infrastructure engineer

Ren

I want to manage my photos and files on my own VPS. What size plan do I need?
Procura, a cloud AI robot who explains

Procura

This use differs from the others in one decisive way. Disk space matters before memory does. So the axis for choosing a plan changes.

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 cloud AI robot who explains

Procura

Most software of this kind also uses a database. So you need capacity for both the application and the database.
  • 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, a cloud AI robot who explains

Procura

Syncing with your devices puts more load on than you'd think. When you sync a large number of files for the first time, it uses CPU, disk and bandwidth. On plans with a transfer limit, watch that too.
  • 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, the security guard

Wilson

...Sorry to spoil your relief at having your data in your own hands. But if that server goes down, the data goes with it.
Procura, a cloud AI robot who explains

Procura

That's an easy thing to misunderstand. Hosting it yourself and storing it safely are separate matters. In fact, you need to provide yourself the redundancy (keeping copies so nothing is lost if something breaks) that a ready-made service used to provide.
  • 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, a cloud AI robot who explains

Procura

With this use, you'll hit a capacity problem sooner or later. There are four options, so choose according to your situation.
  • 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, a cloud AI robot who explains

Procura

Whether the second option is possible differs by provider. As noted earlier, if you plan to use it for a long time, check before you sign up. On our comparison table, you can filter by disk capacity.
Ren, a junior infrastructure engineer

Ren

So disk is the star. And if you host it yourself, backups are on you too.

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