Skip to content

Commit b2dac8b

Browse files
committed
Udpated Recomemdnations
1 parent 38de33e commit b2dac8b

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

articles/cosmos-db/mongodb/vcore/how-to-connect-mongo-shell.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Here are some prerequisites.
2626
- Ensure the firewall settings to allow the machine to connect. Follow the guidelines for [configuring the firewall for Azure Cosmos DB](../../../cosmos-db/how-to-configure-firewall.md)
2727
- You can choose to allow requests from your current IP, requests from cloud services or requests from virtual machines - specific IP Ranges
2828

29-
![Illustration that shows Firewall Settings update for MongoDB Vcore.](media/connect-using-mongo-shell/firewall-settings.gif)
29+
![Illustration that shows Firewall Settings update for MongoDB Vcore.](media/how-to-connect-mongo-shell/firewall-settings.gif)
3030

3131
If you accidentally open all the ports, you're warned before saving the changes.
3232

@@ -35,7 +35,7 @@ If you accidentally open all the ports, you're warned before saving the changes.
3535
To add your Azure Cosmos DB cluster to Mongo shell, perform the following steps:
3636
1. Retrieve the connection information for your Azure Cosmos DB for MongoDB vCore using the instructions [here](quickstart-portal.md#get-cluster-credentials).
3737

38-
![Illustration that shows getting connection string.](./media/connect-using-mongo-shell/get-connection-string-portal.gif)
38+
![Illustration that shows getting connection string.](./media/how-to-connect-mongo-shell/get-connection-string-portal.gif)
3939
Once you have the connection string, you can either
4040
- Have the shell prompt you to enter the password or
4141
- Provide the password as a part of the connection string
@@ -53,7 +53,7 @@ Here's an example of how the command looks like:
5353
```
5454
mongosh "mongodb+srv://[email protected]/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000
5555
```
56-
![Illustration that shows how to connect by entering a password.](./media/connect-using-mongo-shell/mongo-shell-connect.gif)
56+
![Illustration that shows how to connect by entering a password.](./media/how-to-connect-mongo-shell/mongo-shell-connect.gif)
5757

5858
Once you provide the password and are successfully authenticated, you notice some warning. It states *"This server or service appears to be an emulation of MongoDB"*.
5959
The warning can be ignored. It's the shell's way of notifying that you aren't connection to an emulation of MongoDB. When, it's an Azure as a platform as a service offering it's expected.
@@ -69,7 +69,7 @@ Here's an example of how the command looks like:
6969
```
7070
mongosh "mongodb+srv://mongodbvcoretesting.mongocluster.cosmos.azure.com/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000" --username "testuser" -password "******"
7171
```
72-
![Screenshot that shows a password as a part of a connection string.](./media/connect-using-mongo-shell/connection-string-with-password.png)
72+
![Screenshot that shows a password as a part of a connection string.](./media/how-to-connect-mongo-shell/connection-string-with-password.png)
7373

7474
## Next step
7575

199 KB
Loading

0 commit comments

Comments
 (0)