Getting started with MongoDB DBaaS from mlab

Friday, 26th January 2018


Database as a service (DBaaS) is a cloud computing service model that provides users with some form of access to a database without the need for setting up physical hardware, installing software or configuring for performance.

DBaaS is a service in which you get access to the database which suns on the service provider's physical infrastructure. The service is available on the rental basis. With the database as service model, application owners do not need to install and maintain the database. Instead, the database service provider takes the responsiblity of installing and maintaining the database. Application owners are charged based on their usage. Some service provider's offer this service for free, with limited features, for prototyping and developement.

Many service provider's offer different databases such as redis, MySQL, MongoDB etc., as service. mLab is one of the such service provider which offer MongoDB database as a service. mLab offer different plans and pricing from free to dedicated to meet wide variety of needs. You can use Amazon Web Services or Google cloud platform or Microsoft Azure to host your database.

Let's go with getting up and running with MongoDB on mLab

Step 1: Go to mLab and click on SIGN UP


Step 2: Fill in all details and click on create account


Step 3: Verify your email address. Go to your email and check for verification mail.

Step 4: Click on create new to create a new database.


Step 5: Click on any of the cloud provider and in plan type select SANDBOX which is a free one. Then continue.


Step 6: Choose any of the available region and click continue.


Step 7: Enter database name and click continue.


Step 8: Verify eveything and submit order. Sit back and relax until the resources are provisioned.

After successful creation you'll see the following screen with all the details.


Step 9: Click on the entry to view database details


Here you can create collections, insert documents in the collection and also create users to access the database.


mLab provide the URI's connect to your database using shell or a driver.


Have anything to add or need help, just ping

Remember "Sharing is Caring"

Managed WordPress Hosting Static New


Thank You...

request failed! Contact admin.

Search Your Domain Name Here

WordPress Hosting Offer July