How to calculate pricing and resources for cloud computing?