Increase disk space of a new AWS instance

The following topic explains how to increase the disk space of a newly deployed AWS instance by extending your out-of-the-box storage device.

The AlgoSec AMI comes with 250 GB in the data partition. After you deploy it in a AWS environment, according to your sizing, you may need to increase the disk space of your newly deployed AWS instance.

Increase disk space (up to 6 TB)

Do the following:

During the Add Storage phase of the setup process, increase disk space on your AWS instance.

  1. Set volume to 2000 GiB

  1. Run fdisk -l to check the Physical Volume name:

  2. Run pvdisplay to verify the physical volume /dev/nvme2n1 already in vg_algosec group:

  1. Run pvresize /dev/nvme2n1 to resize PV and Run pvdisplay to see the change:

  2. Run vgdisplay to see the VG size has already changed:

  3. Run lvextend /dev/vg_algosec/data -l+100%FREE to extend the LV:

  4. Run lvdisplay:

  5. Run df -h:

  6. Run xfs_growfs /dev/vg_algosec/data:

  7. Run df -h: