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:
|Type||Max IOPS||Max Throughput||Min Size||Max Size||Use cases|
|slow_hdd||250||250MB/s||500GB||16TB||Store a lot of data that do not need to be frequently accessed|
|hdd||500||500MB/s||500GB||16TB||Big data, Log processing|
|ssd||16000||250MB/s||1GB||16TB||Recommended for most workload|
|fast_ssd||64000||1GB/s||4GB||16TB||Critical business applications that require sustained IOPS like databases|
To specify one or more storage attached to your application, you need to modify your
application:name: jhipster-sample-appproject: jhipster-sample-appcloud_region: aws/us-west-2publicly_accessible: truestorage:- name: imagestype: ssdsize: 10GBmount_point: /mnt/imagesrouters:- name: mainroutes:- application_name: jhipster-sample-apppaths:- /*
namemust be unique across your storage attached to your application.
typeyou have the choice between:
fast_ssd. Refer to the details above.
sizesize in GB, and TB are available
mount_point(optional): per default qovery will mount your disk into
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
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
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.