Optimizing Cost in AWS: A Comprehensive Guide