Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: detaching storage

...

  • create a new storage volume, and
  • attach an existing storage volume to your instance,
  • detach a storage volume from your instance.

These steps are shown below.

Creating a New Volume

StepDetails
Open the Volumes configuration from the EC2 dashboard

Image Modified

This will open the volume overview screen.

Create a new volume

Click on the Create Volume button on top of the volume overview screen.

Image Modified

This will open the volume creation window.


Select 

  • Volume type
  • Volume size
  • Availability zone ( (warning) Must be the same as the Charon-SSP AWS instance!)
  • Optionally, add a name tag.

Then click on Create Volume.

Image Modified


You will receive a confirmation window. Close it to return to the volume overview screen where you should now see the new volume.


Attaching an Existing Volume to an Instance

Once a volume has been created, you can attach it to your instance.

StepDetails
Attach the volume to your instanceIn 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.

Image Modified

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-SSP 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 description tab at the bottom, you will see that the instance now has two block devices.

Image Modified

Detaching a Volume from an Instance

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 before detaching it:

  • Stop all Charon instances that might use the volume that is about to be detached.
  • In Charon Manager go to Tools > AWS Cloud > Storage Manager.
  • Select the volume.
  • Click on the cogwheel symbol and select Unmount the Filesystem.

Then detach the volume from your instance:

  • Go to the Elastic Block Store volumes list.
  • Select the volume to be detached.
  • Use the menu Actions > Detach volume.

Steps in Charon-SSP Manager

...