Deploying analytics microservices in the cloud