Elastic Block Storage (Windows)

Elastic block storage volume configuration on Windows server

Deploy & Manage Volumes

Create a new volume

In case you don't have any storage devices in your project yet, click on Storage tab at Client Portal and you will see the following:

Screenshot 2019-05-09 at 08.44.50

In order to create a new volume click on "Add volume" button then select region, add description of your volume and choose desired size. Click "Add volume".

Screenshot 2019-05-09 at 12.14.45

Attach / Detach volume at Client Portal side

When volume is created you need to attach it to the desired server in order to mount and use it.

Screenshot 2019-05-09 at 09.04.22

In order to do that click on the volume management icon and select "Attach volume". Choose server to attach and click on "Attach Volume".

Screenshot 2019-05-09 at 12.16.35

Attach volume at the server side

Once server has been attached at the Client Portal, you need to configure it at your server side in order to mount and use it. To do so, we have prepared a script which automates the configuration process for you. Run it in you POWERSHELL environment as Administrator user.

wget -OutFile cherry-elastic-storage.ps1 https://raw.githubusercontent.com/cherryservers/cherry-elastic-storage/master/cherry-elastic-storage.ps1

You will find all the required variables for script to work at the Client Portal after volume attachment is done.

Screenshot 2019-05-13 at 09.53.21

After you import required variables and download the script run it as Administrator in your POWERSHELL environment:

./cherry-elastic-storage.ps1 -vlanId $vlan_id -vlanIp $vlan_ip -portalIp $portal_ip -initiator $initiator

Bear in mind, script will ask to to reboot the server in order to finish installation or the required roles and features. After that re-run the script. After it finishes, new device will be available.

Format And Mount the Volume

To format and mount the device go to Start -> Control Panel -> System and Security -> Administrative Tools. Click on Computer Management and from Storage drop down menu choose Disk Management.

Screenshot 2019-05-13 at 09.14.09

You will find Offline disk with Unallocated space. With the right click on that disk make it Online, then click on Initialize disk. You will be asked to choose partition style, either MBR or GPT. In case if your disk is less then 2TB, you may choose MBR type.

Screenshot 2019-05-13 at 09.36.30

Now you can create a new volume by right clicking on Unallocated space and selecting New Simple Volume...

Screenshot 2019-05-13 at 09.41.18

Go through wizard, choose partition size, by default it will suggest to use whole size of the disk, choose desired drive letter, file system and label for you new device. Click Finish.

Screenshot 2019-05-13 at 09.43.23

Well done! You can now access you new block storage device like local disk D.

Screenshot 2019-05-13 at 09.45.22