To add additional disk storage to your Charon host instance in AWS (for example, for storing virtual disk containers), perform the steps described below.
Please note: the GUI may look slightly different depending on which version of the GUI you use. However, the available options should be the same.
In the AWS environment, you can, for example,
These steps are shown below.
For more details, please refer to the AWS documentation.
Step | Details |
---|---|
Open the Volumes configuration from the EC2 dashboard | This will open the volume overview screen. |
Create a new volume | Click on the Create Volume button on top of the volume overview screen. This will open the volume creation window. |
Select
Then click on Create Volume at the bottom of the window. | |
You will receive a confirmation window. Close it to return to the volume overview screen where you should now see the new volume. |
Once a volume has been created, you can attach it to your instance.
Step | Details |
---|---|
Attach the volume to your instance | In the volumes overview screen, check that your volume has the state available. Right-click on it and select Attach Volume. This will open a small input screen. |
Select the instance to which the volume is to be attached. Optionally, you can change the device name that will be presented to the Charon AWS instance. Click on Attach to confirm the configuration and to attach the volume to the instance. The status of the volume in the volume overview screen will change from available to in-use. | |
Verify success in the instance description | Go to the instance overview list and select your instance. In the storage tab at the bottom, you will see that the instance now has two block devices. |
If the volume is the root device of the instance, you must stop the instance before detaching the volume.
If the volume is not the root device of the instance, unmount the volume in the Charon host system before detaching it (see Steps on the Charon Host System below).
Then detach the volume from your instance:
After the volume has been attached to the instance, it must be included in the Charon-SSP host system configuration. On a Charon-SSP AL instance, this is achieved via the Charon-SSP Manager.
This will mount the new volume under /charon/storage/media/<UUID>/.
The following image shows a sample:
Please note: The device on the host system is called /dev/xvdf
(XEN virtual block device). This is equivalent to an /dev/sdf
volume shown in AWS. The device naming depends on the instance type and the kernel storage drivers. For example, a device may be presented to LInux as a nvme device as well.
Once the filesystem has been mounted, the space is available to the Charon-SSP host system. After the first mount via the Storage Manager, the filesystem will be automatically mounted after a restart of the Charon host instance.
To unmount a volume before perform the following steps:
# umount <device-path>
or # umount <mount-point>