Aws memory 500 error

My server is throwing an error temporary file cannot be created while I still have 32 GB left in my instance.
Here is the memory consumption list.

Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G  288M  2.9G  10% /run
/dev/nvme0n1p1   16G   16G     0 100% /
tmpfs            16G     0   16G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/loop0       90M   90M     0 100% /snap/core/6818
/dev/loop1       18M   18M     0 100% /snap/amazon-ssm-agent/1335
/dev/loop2       94M   94M     0 100% /snap/core/9066
/dev/loop3       18M   18M     0 100% /snap/amazon-ssm-agent/1566
tmpfs           3.2G     0  3.2G   0% /run/user/1000

What am I doing wrong

Hi @Mirieri! You do not have 32 Gb left of free space on your instance. Your root filesystem is full, as indicated by the following line:

/dev/nvme0n1p1   16G   16G     0 100% /

I suggest you increase the size of your EBS volume, as instructed here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modify-volume.html

Don’t forget to extend your filesystem, as instructed here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html