Cloud Platform Optimization Methods In Python Class