Amazon EC2 Instance with EBS Block attached
Posted on 2016-09-28
So I've setup an EC2 instance and took advice from here instead of expanding the root volume to add an additional EBS storage block.
I thought everything was working correctly until when copying some files I got an out of storage error. So I ran df -h and I see that I have these volumes:
/dev/xvda1 it's almost full
/dev/xvde1 it's 500 gigs all empty
I'm updating files in the /var/www/html/ directory which I thought resided on the 500 gig hard drive not the small root one. Is there an easy/quick method to move /var/www/html to the 500 gig drive and have site still work correctly?