Storage

The default filesystem for applications running on Qovery is ephemeral. Application data isn’t persisted across deploys and restarts, which works just fine for most apps because they use managed databases to persist data.

However, many applications need persistent disk storage that isn’t ephemeral. These include:

  • Blogging platforms and CMSs like WordPress, Ghost, and Strapi.
  • Collaboration apps like Mattermost, GitLab, and Discourse.

This is where Qovery Storage comes in. Qovery applications can use storage to store data that persists across deploys and restarts, making it easy to deploy stateful applications.

Qovery Storage supports:

TypeMax IOPSMax ThroughputMin SizeMax SizeUse cases
slow_hdd250250MB/s500GB16TBStore a lot of data that do not need to be frequently accessed
hdd500500MB/s500GB16TBBig data, Log processing
ssd16000250MB/s1GB16TBRecommended for most workload
fast_ssd640001GB/s4GB16TBCritical business applications that require sustained IOPS like databases

Configuration

To specify one or more storage attached to your application, you need to modify your .qovery.yml

.qovery.yml
application:
name: jhipster-sample-app
project: jhipster-sample-app
publicly_accessible: true
storage:
- name: images
type: ssd
size: 10GB
mount_point: /mnt/images
routers:
- name: main
routes:
- application_name: jhipster-sample-app
paths:
- /*
  • name must be unique across your storage attached to your application.
  • type you have the choice between: slow_hdd, hdd, ssd and fast_ssd. Refer to the details above.
  • size size in GB, and TB are available
  • mount_point (optional): per default qovery will mount your disk into /mnt/{name}

Delete a storage

To delete a storage, you have two options:

  • Remove it from the configuration file, commit and push
  • If you worked on a feature branch, delete the branch, and the storage instance automatically deletes as well

FAQ

Do you use encryption

Yes, all your data are encrypted with AES-256.

How to extend the size of a storage

You need to update with a higher size value your storage.size property inside your .qovery.yml.

How to reduce the size of a storage

Once you have defined the size of your storage, you can't reduce it. If you want to reduce the size, you must create a new storage with a smaller size, transfer the data from the old storage to the new one, then delete the old storage.

How to change the Storage type

Once you have defined the type of your storage, you can't change it. If you want to change the type, you must create a new storage with the new type, transfer the data from the old storage to the new one, then delete the old storage.