Persistent Storage can be added to new container workloads and virtual machines (VMs) to expand the overall storage space allotted to each instance of the workload upon creation. This space can be used for storing logs or any other miscellaneous content stored by your workload.
If you have any questions about Persistent Storage, check out this article.
Setting Up Persistent Storage
Setting up Persistent Storage is easy, and is included in part of the workload creation process. During this process, there will be the option to set up an Persistent Storage by specifying the Mount Path, and the storage size.
- Enter your desired mount path
- Enter the amount of storage you would like to add.
This option can be configured with up to 1000GB of storage. If you require more storage space, it is recommended to use StackPath's Object Storage.
Finding the Volume
When using SSH to connect to your workload, you can navigate to the storage location in the directory specified upon creation. For this example, the storage was mounted in
/mnt/example. You can verify the existence of the mount using the
df-h command on any VM workload, or Linux based container.
The line highlighted in green below shows our Persistent Storage location.
~$ df -h