In this tutorial, we will show you solved Amazon EC2 instance has only 8 GB spaces. Yesterday I launched Amazon EC2 t.micro instance. When prompted to set HDD size, I put 30 GB size and type SSD. After successful deployment, I installed WHM CPanel on it. The install process took very long may be due to low CPU (only 1 core for t.micro) and low RAM (509 MB).
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges.
SOLVED Why Amazon EC2 instance has only 8 GB spaces
The odd thing begin when I finished WHM/CPanel deployment. I got an email from WHM stating that my disk space only left 1GB out of 8GB total space. Where is the remaining 22 GB? Why only 8 GB?(30 GB – 8 GB).
Googled around and found a very simple solution for this. They said that the default EC2 instance on launch is mounted with 8 GB so we need to resize the partition using the following easy command:
On my EC2 instance, the HDD main partition is mounted as
/dev/xvde, please change it to refer to your EC2 instance HDD partition.