Resizing AWS EC2 partition

  1. AWS Console > Instances > Choose instance > Scroll down to "Block devices" > Click /dev/xvda > Click the volume > Actions > Modify > Expand to your size of choice > Apply
  2. Once that's completed, SSH to the instance and run:
    growpart /dev/xvda 1
    resize2fs /dev/xvda1