Keywords: WordPress - AWS - Technical issue - Other
I have a very high configuration light sail instance running on my AWS account. Here's the configuration: 4 GB Ram and 2 vCPUs. This is an extremely high-end configuration for client's use case of a small e-commerce platform.
As the title mentions, even after this config, my website keeps crashing. On further investigation, I found out that my disk is full and following a few other articles on this community it was clear that it was my /data folder.
I ran the following commands on the server:
sudo du -h . -d 1 | sort -h
sudo du -h /opt/bitnami/mysql/data -d 1 | sort -h
I am even unable to run the bnsupport-tool on the server due to no space as well. I tried removing the unnecessary plugins and uploads using SFTP on Filezilla as well.
I need to resolve this issue once and for all as there is no reason that my data directory should have 73 gigs in it.
Hoping to solve this issue now.