In EC2 Ubuntu instance, we have noticed that the size of the folder "/usr/src/" increased a lot due to the linux-aws-headers inside it.
This happens because of the automatic updates. We can free up the disk by removing the unused kernel images and headers.
Please note that if the disk is 100% full this command will not work. In such situations we need to remove one or two older headers manually and try the above command.