If you are getting out of space in your current EC2. Then its time to get some more space.
1. Login in to your AWS account.
2. Go into Elastic Block Store -> Volumes
3. Match the EC2 id in volumes listing. Then right click on it and click on Modify Volume
4. Add any number which you want
5. Click Modify
Now this will assign more space in your EC2 but to merge it in your current EC2. You need to run the commands below
lsblk
sudo resize2fs /dev/xvda1
After running those commands you can run command below to verify it.
df
This will now show more space in your EC2.
Thank you.