--- title: Volumes sidebar_position: 3 --- # Introduction to Volumes E2E Volume provides block-level storage volumes to use with our compute nodes. These volumes can be attached to your computing nodes, making their data and file system available for your nodes. If your node is running on Linux, you can mount this volume's filesystem just like mounting any other filesystem. E2E’s Volume can be useful when your storage needs increase more than your computing demands. Since these block storage volumes are directly connected to your nodes, their I/O speeds are much faster compared to alternative storage solutions like object storage. ## Getting Started ### Creating Volume You can create a volume and attach it to any of the supported nodes. Before creating a volume, you should consider the storage size. If you are creating a volume for high performance and storage, make sure to create volume storage with enough storage and IOPS. This section will show you how to create volume storage from the MyAccount portal. #### Login to MyAccount Portal - Log in to MyAccount Portal using the credentials set up at the time of creating and activating the E2E Networks ‘My Account’. #### Navigate to Volume - Once you have logged in to MyAccount Portal, navigate to the Volume page from the sidebar menu. ![Volume Navigation](images/Volume1.png) #### Add Volume - On the top right section of the block storage dashboard, click on the “Add Volume” button, which will prompt you to enter the details for your Block storage volume. ![Add Volume](images/Volume2.png) ### Volume Configurations You need to select the required configuration for your Block storage volume. The IOPS configuration increases with the size of the Block storage. Below are the plans available currently: | Volume Size(in TBs) | Number Of IOPS | |---------------------|----------------| | 0.25 | 5000 | | 0.5 | 10000 | | 1 | 20000 | | 2 | 40000 | | 4 | 80000 | | 8 | 120000 | | 16 | 240000 | | 24 | 360000 | **For Hourly Plan of Volume** ![Volume Configurations](images/Volume3.png) **For Committed Plan of Volume** ![Volume Configurations](images/Committed_plan.png) - Once the plan has been selected, enter the Volume name, select the Volume size, and then click on the **Launch Volume** button to create the volume. Your Volume status will change to **Available**, and you will now be able to attach it to your nodes. ![Volume Status](images/Volume4.png) ### Volume Details - You can view the details of your volume configuration on your dashboard. ![Volume Details](images/Volume5_2.png) ## Attaching Volume to Your Node - A volume can be attached to your supported compute nodes. Currently, you can attach your node to GPU, vGPU, SDC, SDC3, C3, and all Windows plan (CW & WSDC) nodes only. To attach the volume to a node, click on **Action** and select **Attach Volume**. ![Attach Volume](images/Volume6_1.png) - Select the node to which you want to attach your EBS using the scroll-down option and click **Attach**. ![Node Selection](images/Volume7.png) :::info Your node should be in a running or powered-off state before attaching block storage. ::: - Once you have attached your volume, the status will change to **Attached**, and you will be able to view the details of your attached node on the dashboard. ![Volume Attached](images/Volume8.png) ## Enable Monitoring for Your Volume - Volume monitoring refers to continuously tracking and observing the performance, usage, and read/write operations of storage volumes. ![Volume Monitoring](images/volume_monitoring/volumemonitoring1new.png) To activate a volume on your node, follow these steps: 1. SSH into your node. 2. Paste this command in the terminal: ```bash echo "UserParameter=mountpoint[*], grep \"/dev/\$1\" /proc/mounts | cut -f2 -d' '" >> /etc/zabbix/zabbix_agentd.conf && systemctl restart zabbix-agent ``` :::tip If you have recently mounted the volume, please wait for 10-15 minutes to view the monitoring data. ::: - Once monitoring is enabled, and a period of time has passed, a graph like this will be displayed. ![Monitoring Graph](images/volume_monitoring/volumemonitoring2.png) ## Detaching Volume from Your Node - To detach your Block Storage from your node, select **Action** and click on **Detach Volume**. ![Detach Volume](images/Volume9_1.png) - You will be asked for confirmation to detach the volume from your node. Tickmark the option and detach the node. To avoid any data loss, ensure that the volume is not in use while performing the detaching action. We recommend you first unmount the volume from the node before detaching it. ![Detach Confirmation](images/Volume11.png) - Once the volume has been detached from your node, its status will change from **Attached** to **Available** again. You can then use this volume to attach it to other nodes or delete it. ![Volume Detached](images/Volume11a.png) ## Create a Snapshot - To back up the volume's data, you can create a snapshot. To create a snapshot of your database, click on **Action** and select **Create Snapshot**. ![Create Snapshot](images/Volume12_1.png) - Enter the Snapshot name and click on **Create Snapshot**. ![Snapshot Created](images/Volume13.png) - The snapshots will now be available in the **Snapshot** section of your dashboard. ![Snapshots Available](images/Volume14.png) - Once the snapshot is created, your data will be backed up and preserved, and you will be able to create new volume storage from the available snapshot. - To create a new volume from the snapshot, select **Action** and click on **Create Volume**. - Enter the details of the new volume name and click on **Create**. - A new volume storage will be created from the snapshot you saved. ## Schedule Snapshot - In this field, you can schedule the snapshot on Daily, Weekly, or Monthly as shown in the image below. * ##### Schedule Snapshot with the Create Snapshot Interval Daily ![New Volume from Snapshot](images/schedule_snapshot1.png) * ##### Schedule the snapshot with the Create Snapshot Interval set to Weekly, and ensure it is scheduled on the selected Day of the week. ![New Volume from Snapshot](images/schedule_snapshot2.png) * ##### Schedule the snapshot with the Create Snapshot Interval set to Monthly, and ensure it is scheduled on the selected Date of the month. ![New Volume from Snapshot](images/schedule_snapshot3.png) :::tip Note - The user can schedule the snapshot for the last day of the month by selecting the interval **Monthly** and choosing **Last Day** as the date ::: ## Take Snapshot At - In this field, you can schedule the snapshot time, as shown below. ![New Volume from Snapshot](images/schedule_snapshot4.png) - After selecting the Snapshot interval & time, click on Save Changes. ![New Volume from Snapshot](images/schedule_snapshot5.png) - After saving the Snapshot interval and time, it will be shown in the list as shown below. ![New Volume from Snapshot](images/schedule_snapshot6.png) - To disable the scheduled snapshot settings, click on the Disable button. ![New Volume from Snapshot](images/schedule_snapshot7.png) - After clicking on the **Disable** tab, a confirmation message will appear on the screen. Click on **Confirm**, and the scheduled snapshot will be disabled. ![New Volume from Snapshot](images/schedule_snapshot8.png) ## Snapshot Lifecycle - Snapshot Lifecycle is used for deleting created scheduled snapshots. - You can configure the Snapshot Lifecycle by clicking Snapshot Lifecycle. ![New Volume from Snapshot](images/schedule_snapshot_lifecycle.png) - When you click on **Edit Lifecycle Settings** while a lifecycle is already scheduled, or if no lifecycle is applied, and then click on **Configure Snapshot Cycle**, the following tab will appear. ![New Volume from Snapshot](images/schedule_snapshot_lifecycle1.png) :::tip Note - In this field, you can select the Delete Snapshot Interval for 1 Days, 3 Days, 7 Days, 15 Days, 1 Month, 3 Months, 6 Months, or 1 Year, depending on your requirement. ::: - Select the **Delete Snapshot Interval** and then click on Save Changes. - The Snapshot Lifecycle Rule will successfully configured. ## Move Volume To Another Project Using this action, you can transfer your volume from its current project to another project within the same CRN. On transferring this volume, **Snapshots** of the volume will also be transferred. :::warning > - Ensure the volume is not in **Attached**, **Creating**, **Deleting**, or **Error** state. > - The volume must not have any **Tags** attached. ::: To transfer the volume, click on **Move To Another Project** in **Actions**. ![Move Volume to Another Project](images/Volume_project_transfer1.png) Then, select the **target project**, check the checkbox, and click on **Transfer**. :::info An audit log will be created for the transfer in both the current and target projects during the transfer. ::: ## Convert to Committed - To convert the volume from Hourly to Committed, it will first convert the Hourly plan volume to a Committed plan. When we set the "convert to Committed," it will apply the Committed setting for the next cycle, once the committed plan ends. :::warning You will convert the Hourly plan volume to a Committed plan, and no further conversion to Committed will be needed. ::: ![Committed_plan](images/Convert_to_committed1.png) ![Committed_plan1](images/Convert_to_committted2.png) - The user can now set the Committed Volume Settings for the next cycle, which will applied once the current Committed plan ends. ![Committed_plan1](images/Convert_to_Committed4.png) ![Committed_plan1](images/Convert_to_committed5.png) ## Upgrade Volume By utilizing the **Upgrade Volume** feature, you have the ability to enhance your volume size by increasing its memory capacity. To upgrade the volume, click on **Upgrade Volume** under the **Action** button. ![Upgrade Volume](images/Volume_Upgrade_1.png) After clicking on **Upgrade Volume**, a popup will open where you can select the new volume size. Click on **Upgrade**. Your volume will then be upgraded with the new volume size. :::warning If a Volume snapshot has been created, upgrading the volume will not be possible. In order to proceed with the upgrade, you will need to either delete the snapshot associated with the volume you wish to upgrade or create a new volume from that snapshot and upgrade the newly created volume. ::: If a snapshot has been created for the volume, you will encounter an issue when attempting to upgrade it. :::info In order to upgrade the volume, it is necessary for the volume to be attached to the node. ::: ## Delete a Volume - To delete a volume storage, select **Action** and click on **Delete**. ![Delete Volume](images/Volume18_1.png) - You will get a warning message that you will permanently lose data stored in the volume storage and associated snapshot upon deletion. Proceed and click on **Delete** to delete your volume. :::info You will need to detach your node from the volume before deleting it. ::: ---