upgrade storage ec2 code example
Example 1: aws modify volume size
#after modifying volume in aws account restart server and volume will be expaneded
#or
sudo growpart /dev/xvda1 1
#may need to change xvda1 with your file system name to see names run:
df -hT
Example 2: aws resized volume but still not space on ec2
sudo resize2fs /dev/xvda1