I have a free tier linux instance on AWS running a bitnami ubuntu parse dashboard that is the backend for an iOS app and website. When I log on to my instance it says that I am using 100% of the 9.76gb available when I run the df command:
df -h bitnami@ip-172-31-22-220:~/apps/parse/htdocs/logs$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 9.7G 9.7G 0 100% /
I have found other posts about searching for what files are filling up the file server but was hoping someone may be able to offer insights into the specific set up of AWS/Ubuntu/Bitnami parse-platform. This is my first question on this board, so before voting down please let me know if there are ways to improve my question. For example when I noticed when running du -ah there were a series of files that looked like AWS specific log files like /usr/src/linux-aws-headers-4.4.0-1109
. Does AWS write out some files that I need to clear out or back up to S3 to keep my server from filling?
My website is down because of this and I am not sure what commands I can run that will help me find what is taking up all the space. I did some research on the du
command but wasn't quite sure how I could use that to track down where the space has accumulated. I stumbled on one log file area that I try to clean out but it was only filling up about 1.6gb. Is there a way I can run a command on unix that will list out which directories are > a 1gb or something? I suspect that there is another place like the folder I found du -h /home/bitnami/apps/parse/htdocs/logs
where log or error files exist that need to be cleaned out and I just don't know how the ubuntu bitnami parse instance stores those things. I am new to AWS so I am pretty sure that I need to upgrade my account or something so I have more then 9.76 gb in filespace before I release my app for general use, so you if you happen to have any advice for what an AWS instance that is the backend for an iOS should be set up as I would appreciate any insights on that topic as well.