Using MongoDB in the cloud