How to get started with File Storage
File Storage is managed NFS storage. Cloud Servers on the same SDN Private Network mount its shares over NFS and work with the same files at the same time.
This guide walks you through creating a File Storage instance in the Control Panel or with the UpCloud API, adding a share and giving your servers access to it. It also covers finding the File Storage's IP address, what a server needs to mount the share, and deleting the File Storage.
Before you start
You need an SDN Private Network in a location where File Storage is available. The Cloud Servers that mount the share must be attached to the same network. To create a network, see How to configure SDN Private Networks.
For the API steps, you need an API token. To create one, see How to get started using the UpCloud API.
For prices, see the pricing page.
Choose your options
Location
Create the File Storage in the same location as the SDN Private Network and the servers that will use it. For the list of locations, see File Storage availability.
Size
The size can be from 250 GiB to 25,000 GiB. You can increase it later, but you can't reduce it. The number of files an instance can hold is also set when you create it, and doesn't grow when you increase the size. For details, see File Storage concepts.
Encryption
File Storage can encrypt your data at rest, at no extra cost. You can only turn encryption on when you create the instance, and you can't turn it off later. For details, see File Storage encryption.
Network
A File Storage instance is attached to one SDN Private Network, and your servers reach it through that network. The instance gets its own IP address on the network, which you can choose yourself or leave to be assigned automatically.
Name
The name can contain letters, numbers, underscores and hyphens, up to 64 characters. It must be different from the names of your other File Storage instances.
Create the File Storage
In the Control Panel, go to File Storage and click Create new File Storage.
Under Location, select the location.
Under Storage size, set the size with the slider or type it in the box.
To encrypt the data at rest, turn on Encryption.
Under Network, click Attach network. Select your SDN Private Network under Network, and enter a Name for the attachment. Leave File Storage IP address empty to have an address assigned, then click Attach.

Enter a Name for the File Storage and click Create.
The File Storage's page opens, and the File Storage is ready once its status changes to Running.
Create a share and give access to it
A share is a directory on the File Storage that servers mount. Its access rules decide which servers can mount it: each rule allows an IP address or a network in CIDR form, with read and write or read-only access. A share without access rules can't be mounted.
If a server's address matches more than one rule, the most permissive one applies. To give some servers read-only access, use a range that doesn't overlap the read and write ones. For an example, see File Storage access control.
Open the File Storage, go to the Shares tab and click Create share.
Enter the Share path, for example
/data, and click Create. The share's name is taken from the path. You can't change the path later.
The share's page opens. Under Access Rules, click Create.
Enter a Name for the rule. In Allow from, enter an IP address or a network, for example your SDN Private Network's range,
10.20.0.0/24. Select Read & Write or Read Only under Permissions, then click Add.
When you add or change a share or an access rule, the File Storage's status shows that it's setting up until the change has been applied. Servers that have already mounted a share keep working in the meantime.
Find the File Storage's IP address
Servers mount shares by the File Storage's IP address on the SDN Private Network.
Open the File Storage. On the Overview tab, the Network section shows the address under File Storage IP address.

Mount the share
A server can mount the share when:
- It's attached to the same SDN Private Network as the File Storage.
- Its address on that network matches one of the share's access rules.
- It can reach TCP port
2049on the File Storage, if a firewall filters its private network traffic.
Before you mount the share, install the NFS client on the server. On Ubuntu and Debian:
sudo apt update
sudo apt install nfs-common -yOn Rocky Linux and AlmaLinux:
sudo dnf install nfs-utils -yWe recommend these mount options, with _netdev added when you mount the share from /etc/fstab:
vers=4.1,nconnect=8,rsize=1048576,wsize=1048576,noatime,hard| Option | What it does |
|---|---|
vers=4.1 | Uses NFS version 4.1. |
nconnect=8 | Opens 8 parallel connections to the File Storage. |
rsize=1048576 | Reads data in blocks of up to 1 MiB. |
wsize=1048576 | Writes data in blocks of up to 1 MiB. |
noatime | Doesn't update file access times, which reduces NFS traffic. |
hard | Keeps retrying if the File Storage stops responding, instead of failing. |
_netdev | In /etc/fstab, mounts the share only after the network is up. |
For the steps on Ubuntu, including mounting the share at boot, see Share files over NFS with File Storage on Ubuntu. To use the share from an UpCloud Managed Kubernetes cluster, see How to use File Storage (NFS) with Managed Kubernetes.
Delete the File Storage
Before you delete a File Storage instance, unmount its shares on your servers. Deleting the instance also deletes all its shares and the files on them.
- Go to File Storage and open the File Storage.
- Click the bin icon next to Shut down.
- Click Delete to confirm.