I have followed the steps for resizing an EC2 volume
Just in case if anyone here for GCP google cloud platform , Try this:
sudo growpart /dev/sdb 1 sudo resize2fs /dev/sdb1