Increase EC2 root volume size
Introduction: To increase EC2 Linux server's root volume size. Why was this tutorial made? I had this issue in one of my EC2 instances where I was running Codeigniter Project. So what was the problem? Codeigniter pop-out a message saying " fopen(/var/lib/php/sessions/ci_session2be254f027bc9251bf55ddd02b09c35e5ff7a7c1): failed to open stream: No space left on device " Now I, connected to my instance using Public DNS ran df command ( report free disk space ) By running Df command, I made sure the problem was with the root volume of my EC2 instance. While creating a new instance in EC2, most Linux instances come with an 8GB root volume unless you changed it at first launch. So in my case, I made use of 8GB Volume. Solution Now, we need to increase the space of root volume attached to our EC2 instance. Step 1: Navigate to your AWS Console and then click EC2 and then Volumes on the left panel. Step 2: Finding th...