Implement first function of cloud compute API