Updated! After installing many software in Amazon EC2 Ubuntu, we realize that our partition doesn't enough. What happen? It because our main system / sda1 storage ( EBS/Instant Store ) limit only 15 GB. Try using
sudo df -hT, we will see that there are 2 kind of partition, sda1 ( 15GB ) and sda2 ( 116 GB or more depend on EC package ) pointing on /mnt. Then, we should use sda2 for storing our files. If you use ubuntu, all files usually large at /var where all www, mysql, temporary, and another been placed. So, the solution is we need to pointing sda2 to /var. Remember, using symbolic link will give bad effect to future development.
Here the solution to fixing storage partition EC2 problem :
1. Backup /var
We need to backup /var to avoid problem. We create folder /var-old in /. Then, we will syncronize /var into /mnt as we pointing it later.
sudo mkdir var-old
sudo rsync -avr /var/* /var-old/
sudo rsync -avz /var/* /mnt/