aws change volume type without losing data code example
Example: 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