Modify Elastic Block Storage (EBS) Volumes for Bitnami Applications on AWS
Introduction
If your Bitnami application running on Amazon Web Services (AWS) is running out of storage space, you can increase available storage by expanding the Amazon Elastic Block Store (EBS) volume attached to it. EBS volumes are persistent block storage volumes that are available in either SSD or HDD format and come with a 99.99% availability guarantee for maximum data security and reliability.
This guide walks you through the process of modifying the root EBS volume attached to your instance.
Assumptions and prerequisites
This guide assumes that you have a Bitnami application running on AWS, deployed using the Bitnami Launchpad for AWS, the AWS Marketplace or the AWS Console.
Step 1: Identify the volume in the AWS EC2 Console
The first step is to identify your Bitnami application instance. To do this:
-
Log in to the AWS EC2 console.
-
From the “Services” menu, select the “EC2” service.
-
From the EC2 Dashboard, select the “Instances -> Instances” menu item.
-
Search for and select your Bitnami application instance from the list of available instances.
-
From the instance details pane, note the EBS identifier of the root device.
-
Stop the instance using the “Actions -> Instance State -> Stop” menu item
Step 2: Modify the volume
The next step is to modify the volume size. Here’s how:
-
Log in to the AWS EC2 console (if you’re not already logged in).
-
From the “Services” menu, select the “EC2” service.
-
From the EC2 Dashboard, select the “Elastic Block Store -> Volumes” menu item.
-
Search for and select the volume attached to your instance using the EBS identifier for the previous step.
-
Select the “Actions -> Modify Volume” menu item.
-
In the “Modify Volume” dialog, modify the size of the volume as required. Click “Modify” to save the changes.
-
Once the modification has been registered, return to the list of instances in the EC2 dashboard.
-
Search for and select your Bitnami application instance from the list of available instances.
-
Restart the instance using the “Actions -> Instance State -> Start” menu item
The Bitnami initialization script will automatically resize the partition to use the new volume size when the instance restarts.
Useful links
To learn more about the topics discussed in this guide, consider visiting the following links: