A comprehensive guide to cloud pricing models including on-demand, reserved, and spot instances for cost optimization