Sesterce Cloud Doc
  • 👋Welcome on Sesterce Cloud
    • Glossary
    • Account creation
    • Manage your account
    • Payment & Billing
    • Invoicing
  • 🚀Compute instances
    • Configure your Compute Instance
      • SSH Keys management
      • Persistent storage (volumes)
    • Terminal connection
  • 💬AI Inference instances
    • Inference Instance configuration
      • Select your Flavor
      • Select your regions
      • Autoscaling limits
    • Edit an inference instance
    • Chat with Endpoint
  • ▶️Manage your instances
  • 🔗API Reference
    • Authentication
    • GPU Cloud instances
    • SSH Keys
    • Volumes
    • Inference Instances
  • 📗Tutorials
    • Which compute instance for AI models training and inference?
    • Expose AI model from Hugging Face using vLLM
Powered by GitBook
On this page
  • How to link a persistent storage (volume) to my Compute instance?
  • How to create a persistent volume from Storage page?
  • How to link the Volume to my Compute instance?
  • How to verify the Volume on the instance?
  • How to mount the Volume to a filesystem?

Was this helpful?

  1. Compute instances
  2. Configure your Compute Instance

Persistent storage (volumes)

PreviousSSH Keys managementNextTerminal connection

Last updated 2 days ago

Was this helpful?

How to link a persistent storage (volume) to my Compute instance?

If you need to store your dataset after the end of your instance, you need to add a volume to your Pod. There are two ways to create a volume on Sesterce Cloud:

  • From "Storage" tab

  • Directly from the instance creation path

If you don't have volume created yet, we suggest the second option. All you need to do is to make sure that the offers displayed are .

To create a volume, select your volume name and the size you need (in GB).

How to create a persistent volume from Storage page?

First, click on "Create volume" or "New volume" button (see below)

Volume name and region

Then, choose Volume name via the corresponding text field and Region where the volume will be hosted.

Availability Zone

According to the Region selected, several AZ will be available or note. Please note that you'll be able to link your Volume only to Compute instances that are launched in the same Regions and Availability Zone.

How to link the Volume to my Compute instance?

To simplify the process to its maximum, we implemented the following path: once your Volume is created, you can launch an instance via a dedicated CTA from volume page directly.

Click on Volume Card

Click "Attach GPU Instance"

You will be redirected to the Compute page, displaying all instances offers that match with your Persistent Volume location.

Select the Volume

In the instance creation page, you'll find your Volume displayed in the dedicated section. Select it to link your instance to this persistent storage.

How to verify the Volume on the instance?

# List all block devices attached to the instance
lsblk

You should have an output similar to this:

NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0     7:0    0  63.9M  1 loop /snap/core20/2318
loop1     7:1    0    87M  1 loop /snap/lxd/28373
loop2     7:2    0  38.8M  1 loop /snap/snapd/21759
loop3     7:3    0  44.3M  1 loop /snap/snapd/23258
loop4     7:4    0  63.7M  1 loop /snap/core20/2434
vda     252:0    0   128G  0 disk 
├─vda1  252:1    0 127.9G  0 part /
├─vda14 252:14   0     4M  0 part 
└─vda15 252:15   0   106M  0 part /boot/efi
vdb     252:16   0    50G  0 disk # this is the volume I mounted
nvme0n1 259:0    0 894.3G  0 disk

This command will display all block devices attached to the instance. You should see your volume listed as a new device, such as vdb, sbd, or similar.

How to mount the Volume to a filesystem?

To make the storage space accessible and usable by your operating system and applications, you need to mount the volume to a filesystem using the following command.

sudo mkdir /mnt/vdb
sudo mkfs.ext4 /dev/vdb
sudo mount -t ext4 /dev/vdb /mnt/vdb/
sudo chown -R sesterce:sesterce /mnt/vdb/

Now, the /mnt/vdb directory should be connected to your volume and fully accessible for you to write and read from.

Once the instance is active, connect into it . Then, run the following command:

🚀
through SSH command
supporting volumes by ticking the appropriate box