Skip to content

Commit 8a7a98f

Browse files
committed
updated Recommendations
1 parent 7667e2d commit 8a7a98f

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 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 CosmosDB](../../../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-
![GIF of Firewall Settings update for MongoDB Vcore](media/connect-using-mongoshell/firewall-settings.gif)
29+
![Illustration that shows Firewall Settings update for MongoDB Vcore.](media/connect-using-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-
![GIF for getting connection string](./media/connect-using-mongoshell//getting-connectionstring-from-portal.gif)
38+
![GIF for getting connection string](./media/connect-using-mongo-shell/get-connections-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
@@ -44,7 +44,7 @@ Once you have the connection string, you can either
4444

4545
**A. By entering the password in the MongoShell Prompt**
4646

47-
![PNG Prompt image for password for MongoShell](./media/connect-using-mongoshell/password-prompting-shell.PNG)
47+
![Screenshot that shows the prompt for a password for MongoShell.](./media/connect-using-mongo-shell/password-shell-prompt.PNG)
4848

4949
Your connection string would look like this:
5050
```
@@ -54,7 +54,7 @@ Here's an example of how the command looks like:
5454
```
5555
mongosh "mongodb+srv://[email protected]/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000
5656
```
57-
![GIF for connecting by entering password](./media/connect-using-mongoshell/mongo-shell-connect.gif)
57+
![Illustration that shows how to connect by entering a password.](./media/connect-using-mongo-shell/mongo-shell-connect.gif)
5858

5959
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"*.
6060
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.
@@ -70,7 +70,7 @@ Here's an example of how the command looks like:
7070
```
7171
mongosh "mongodb+srv://mongodbvcoretesting.mongocluster.cosmos.azure.com/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000" --username "testuser" -password "******"
7272
```
73-
![PNG Image for password as a part of connection string ](./media/connect-using-mongoshell/connectionstring-with-password.PNG)
73+
![Screenshot that shows a password as a part of a connection string.](./media/connect-using-mongo-shell/connectionstring-with-password.PNG)
7474

7575
## Next step
7676

83.9 KB
Loading

0 commit comments

Comments
 (0)