Help us make these docs great!

All rapyuta.io docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Adding Persistent Storage

Applications running on the cloud de-allocate any resources consumed when they stop, scale down, or fail. This implies that the working storage associated with them is ephemeral. To get around this problem rapyuta.io provides a mechanism to consume persistent block storage for your applications running in the cloud. This storage can be associated with at most one running deployment at any given point in time. A user is typically required to manage the lifecycle of the application code independently from the associated storage.

The Rapyuta IO Persistent Volume is a storage package. A storage package is a public package that is available to all users out of the box. You cannot delete or modify storage packages, and they are available to every user.

Creating Storage

To preserve data files saved on the file server, deploy a persistent volume and add it to the package deployment.

  1. Select the public package, Rapyuta IO Persistent Volume from storage packages.
  2. Click Deploy package.
  3. In the Name of deployment field, type a name for the volume storage package.
  4. By default, the diskType is SSD. It provisions an SSD for block storage.
  5. From the Capacity drop-down menu, select the disk memory requirement of the package. It refers to the size of block storage. You can select one of the following memories for the package.
  • 4 GB
  • 8 GB
  • 16 GB
  • 32 GB
  • 64 GB
  • 128 GB
  • 256 GB
  • 512 GB
  1. Click CREATE DEPLOYMENT > Confirm. The storage package is deployed.

Adding Storage to a Deployment

You can add the storage package as a dependent deployment. To add storage to a deployment, do the following.

  1. Deploy the package where you want to add the storage package as a dependent deployment. For more information, click here.

  2. On the deployment page, click Add Volume and do the following.

add-volume

  1. Select the package deployment from the Deployment drop-down menu.
  2. Select the package component where you want to attach the volume package from the Applicable Component drop-down menu.
  3. Add the path where you want to add the volume package in the Mount Path field.
  4. To create a deployment, click Create Deployment>Confirm. The storage deployment is added to the deployment.