Create an account with www.mlab.com and create the 4 databases given below.
- Analyticsdb
- tracking_live
- tracking_history
- tracking_contact
Please follow the same instructions to create the rest of the three databases.
Let’s start the process by clicking Create new button, as shown below.
Click Create new button and you will be taken to Create new deployment step, where you choose the following.
- Choose Amazon Web Services as your Cloud provider and Single-node option in the plan, as shown below.
- Choose sandbox in the Standard Line section, as shown below.
- Provide the database name. I have provided anayticsdb. You need to repeat the process for the rest of the three databases.
Once you provide all the details, click Create new MongoDB deployment button. After few seconds, the database will be created, as shown below.
Once you create the database, you need to create, assign and use to access the databases. Click on the database to navigate to the page given below.
Choose Users tab and click Add database user button, which opens the popup, as shown below.
Please provide the username, password and click Create button to create the user. As shown below, the user is created and assigned successfully.
Once you create all the four databases, your home page would look something, as shown below.
After successfully creating all the 4 databases, you need to collect the connection strings of all those databases, as shown below.
We will be using these connections in ARM template later.