- Root disk and ephemeral storage
- Persistent volumes
- Object storage (Allas)
- Snapshots
---
# Root disk and ephemeral storage
- File storage, shown as volumes inside the VM
- Stored together with the VM
- Root contains the OS
- Ephemeral is for performance but should be considered unreliable
- Data is lost if the VM is deleted
---
# Persistent volumes
- File storage, shown as a volume inside the VM
- Project-specific; can have multiple volumes
- Transferable to other projects
- Attachable to one VM at a time
- Fault-tolerant against disk/server failures and VM deletion or crashes
- But not against human error — no automatic backups
---
# Object storage (Allas)
- It is not a file storage ➡️ a different use case from the OS point of view
- Accessed through an API (a-commands)
- Access outside the VM at
- Default quota is 10 TiB
- Hard limits:
- 1 000 buckets / project
- 500 000 objects / bucket
---
# File storage vs object storage
**File storage**
- Hierarchical structure
- Flexible file access
- Integrates with the OS
- Limited scalability
- Manual management
- More expensive at large scale
- More restricted access over the network
**Object storage**
- Highly scalable, massive amounts of unstructured data
- Flat namespace and object keys
- Easily accessible over the network
- No hierarchical structure / file semantics
- "download – modify – upload" model
---
# Snapshots
- Store the data of a VM or volume at a certain state
- A VM snapshot can be used to launch a new instance
- A VM snapshot does not contain ephemeral storage
- Take a snapshot of a VM that is in the powered-off state