In the previous recipe, we saw how to set up an account on MongoLab and add users to your account. We still haven't seen how to fire up an instance on the cloud and use it to perform some simple operations. In this recipe, this is exactly what we will do.
Refer to the previous recipe to set up an account with MongoLab. We will set up a free sandbox instance. We will require some way to connect to this started Mongo instance, and thus, we will need a Mongo shell, which comes only with the complete Mongo installation, or you might choose to use a programming language of your choice to connect to the started Mongo instance. Refer to Chapter 3, Programming Language Drivers, for recipes on connecting and performing operations using a Java or Python client.
Go to the home page at https://mongolab.com/home and click on the Create new button.
Select a cloud provider; for this example, we chose Amazon Web Services.
Click on Single...