Optimizing Distributed Infrastructures: A Comprehensive Engineering Guide to Cloud Operations