Storage Volumes
Storage Volumes on Customary are persistent storage spaces that you can attach to your deployments. Unlike the regular deployment storage, which is ephemeral and gets deleted on every deployment or restart, Storage Volumes maintain their data between deployments and restarts.
Creating and Using Storage Volumes
Creating a Storage Volume on Customary is a straightforward process. Once created, you can attach the Storage Volume to any deployment. During this process, you’ll choose a mount point for the Storage Volume. This mount point is the path within your deployment where you can access the Storage Volume. For example, if you choose “/depot/files/” as your mount point, that’s where your code should look for your Storage Volume in your deployment.
Benefits of Using Storage Volumes
Storage Volumes provide a reliable and persistent storage solution for your deployments. They are particularly useful for applications that need to store user data or other information that needs to persist across different deployment cycles.
Conclusion
Storage Volumes on Customary offer a persistent storage solution for your deployments, ensuring that your data remains safe and accessible across deployments and restarts. By understanding what Storage Volumes are and how to use them, you can enhance the functionality and reliability of your applications on Customary.