Increase Size of EBS Volume

With the growth of your business, there might be a need to increase the size of your EBS volume. This would allow your PortSIP PBX HA to support a larger number of users, process more calls, and store more recording files. This guide provides step-by-step instructions on how to increase the size of an AWS EBS volume.

Prerequisites

Back-up EBS

Before you proceed with increasing the size of your EBS volume, it's recommended to create a snapshot of the EBS. This will back up your PBX data, providing a safety net that allows you to roll back if any issues arise during the resizing process.

Please follow the below steps to process.

  • Sign in to the AWS EC2 console.

  • In the navigation panel, select Elastic Block Store, and choose Volumes.

  • Find the volume that is being used in HA and select its checkbox.

  • Click on Actions, then select Create snapshot. In the Description field, enter pbx-ha-volumes-backup.

  • Click on Create snapshot.

Increase Size of EBS Volume

Please follow the steps below to increase the EBS volume size to 2000GB as an example:

  1. Sign in to the AWS EC2 console. In the navigation pane, select Elastic Block Store, then choose Volumes.

  2. Find the volume that is being used in HA and select its checkbox. Click on Actions, then select Modify volume.

  3. The Modify volume screen will display the volume ID and the current configuration of the volume, including type, size, input/output operations per second (IOPS), and throughput.

    • For the Volume type, do not change the value.

    • For Size, change it to 2000 GB.

    • For IOPS, do not change the value.

    • For Throughput, do not change the value.

  4. Click on Modify. When prompted for confirmation, choose Modify again.

Extend the File System

Perform the below command on the PBX HA EC2 instance ip-172-31-16-133 only.

cd /opt/portsip-pbx-ha-guide && /bin/bash extend.sh run -s disk-only

Last updated