You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/mongodb-on-azure/_index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@ title: Run MongoDB on Arm-based Microsoft Azure Cobalt 100 instances
3
3
4
4
minutes_to_complete: 30
5
5
6
-
who_is_this_for: Software developers who want to migrate MongoDB workloads to Arm-based platforms, with a focus on Microsoft Azure Cobalt 100 Arm64 instances.
6
+
who_is_this_for: This is an introductory topic for software developers who want to migrate MongoDB workloads to Arm-based platforms, with a focus on Microsoft Azure Cobalt 100 Arm64 instances.
7
7
8
8
learning_objectives:
9
-
- Provision an Arm64-based Cobalt 100 virtual machine in Azure using Ubuntu Pro 24.04 LTS.
10
-
- Deploy MongoDB on the Cobalt 100 instance.
11
-
- Run baseline tests and performance benchmarks on MongoDB in the Arm64 environment.
9
+
- Provision an Arm64-based Cobalt 100 virtual machine in Azure using Ubuntu Pro 24.04 LTS
10
+
- Deploy MongoDB on the Cobalt 100 instance
11
+
- Run baseline tests and performance benchmarks on MongoDB in the Arm64 environment
12
12
13
13
prerequisites:
14
14
- A [Microsoft Azure](https://azure.microsoft.com/) account with access to Cobalt 100 (Dpsv6) instances
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/mongodb-on-azure/background.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,10 @@ layout: "learningpathall"
10
10
11
11
Azure’s Cobalt 100 is Microsoft’s first-generation, in-house Arm-based processor. Built on the Arm Neoverse N2 architecture, this 64-bit CPU improves performance and energy efficiency for a wide range of cloud-native, scale-out Linux workloads. These include web and application servers, data analytics, open-source databases, caching systems, and more. Running at 3.4 GHz, the Cobalt 100 processor allocates a dedicated physical core for each vCPU to ensure consistent, predictable performance.
12
12
13
-
To learn more, see the [Azure Cobalt 100 announcement blog](https://techcommunity.microsoft.com/blog/azurecompute/announcing-the-preview-of-new-azure-vms-based-on-the-azure-cobalt-100-processor/4146353).
13
+
To find out more, see the [Azure Cobalt 100 announcement blog](https://techcommunity.microsoft.com/blog/azurecompute/announcing-the-preview-of-new-azure-vms-based-on-the-azure-cobalt-100-processor/4146353).
14
14
15
15
## MongoDB
16
16
17
-
MongoDB is an open-source NoSQL database known for high performance, scalability, and flexibility. It stores data in JSON-like BSON documents, making it ideal for applications that need dynamic, schema-less data structures. Developers commonly use MongoDB for web, mobile, IoT, and real-time analytics workloads. Learn more on the [MongoDB website](https://www.mongodb.com/) and in the [official documentation](https://www.mongodb.com/docs/).
17
+
MongoDB is an open-source NoSQL database known for high performance, scalability, and flexibility. It stores data in JSON-like BSON documents, making it ideal for applications that need dynamic, schema-less data structures. Developers commonly use MongoDB for web, mobile, IoT, and real-time analytics workloads.
18
+
19
+
To find out more, see the [MongoDB website](https://www.mongodb.com/) and the [official documentation](https://www.mongodb.com/docs/).
title: Create an Armbased cloud virtual machine using Microsoft Cobalt 100 CPU
2
+
title: Create an Arm-based cloud virtual machine using Microsoft Cobalt 100 CPU
3
3
weight: 3
4
4
5
5
### FIXED, DO NOT MODIFY
@@ -8,39 +8,43 @@ layout: learningpathall
8
8
9
9
## Introduction
10
10
11
-
There are several ways to create an Arm-based Cobalt 100 virtual machine: the Microsoft Azure console, the Azure CLI tool, or using your choice of IaC (Infrastructure as Code). In this section, you will use the Azure console to create a virtual machine with Arm-based Azure Cobalt 100 Processor.
11
+
There are several ways to create an Arm-based Cobalt 100 virtual machine: the Microsoft Azure console, the Azure CLI, or your preferred infrastructure as code (IaC) tool. In this section, you will use the Azure console to create a virtual machine with the Arm-based Azure Cobalt 100 processor.
12
12
13
-
This learning path focuses on the general-purpose virtual machine of the D series. Please read the guide on [Dpsv6 size series](https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/general-purpose/dpsv6-series) offered by Microsoft Azure.
13
+
This Learning Path focuses on the general-purpose virtual machines in the **Dpsv6** series. For further information, see the [Microsoft Azure Dpsv6 sizes series guide](https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/general-purpose/dpsv6-series).
14
14
15
-
While the steps to create this instance are included here for your convenience, you can also refer to the [Deploy a Cobalt 100 Virtual Machine on Azure Learning Path](/learning-paths/servers-and-cloud-computing/cobalt/)
15
+
While the steps to create this instance are included here for convenience, you can also refer to the [Deploy a Cobalt 100 virtual machine on Azure Learning Path](/learning-paths/servers-and-cloud-computing/cobalt/).
16
16
17
-
####Create an Arm-based Azure Virtual Machine
17
+
## Create an Arm-based Azure virtual machine
18
18
19
-
Creating a virtual machine based on Azure Cobalt 100 is no different from creating any other virtual machine in Azure. To create an Azure virtual machine, launch the Azure portal and navigate to "Virtual Machines".
20
-
1. Select "Create", and click on "Virtual Machine" from the drop-down list.
21
-
2. Inside the "Basic" tab, fill in the Instance details such as "Virtual machine name" and "Region".
22
-
3. Choose the image for your virtual machine (for example, Ubuntu Pro 24.04 LTS) and select “Arm64” as the VM architecture.
23
-
4. In the “Size” field, click on “See all sizes” and select the D-Series v6 family of virtual machines. Select “D4ps_v6” from the list.
19
+
Creating a virtual machine on Azure Cobalt 100 is similar to creating any other virtual machine in Azure. To create an Azure virtual machine, open the Azure portal and navigate to **Virtual machines**.
24
20
25
-

21
+
Then follow these steps:
26
22
27
-
5. Select "SSH public key" as an Authentication type. Azure will automatically generate an SSH key pair for you and allow you to store it for future use. It is a fast, simple, and secure way to connect to your virtual machine.
28
-
6. Fill in the Administrator username for your VM.
29
-
7. Select "Generate new key pair", and select "RSA SSH Format" as the SSH Key Type. RSA could offer better security with keys longer than 3072 bits. Give a Key pair name to your SSH key.
30
-
8. In the "Inbound port rules", select HTTP (80) and SSH (22) as the inbound ports.
23
+
- Select **Create**, then select **Virtual machine** from the drop-down list.
24
+
- In the **Basics** tab, enter the instance details such as **Virtual machine name** and **Region**.
25
+
- Choose the image for your virtual machine (for example, **Ubuntu Pro 24.04 LTS**) and select **Arm64** as the **VM architecture**.
26
+
- In the **Size** field, select **See all sizes**and choose the **D-series v6** family of virtual machines. Select **D4ps_v6** from the list.
31
27
32
-

28
+

33
29
34
-
9. Click on the "Review + Create" tab and review the configuration for your virtual machine. It should look like the following:
30
+
Now select **SSH public key** as the **Authentication type**. Azure can generate an **SSH key pair** for you and store it for future use. This is a fast, simple, and secure way to connect to your virtual machine.
31
+
Enter the **Administrator username** for your VM
32
+
Select **Generate new key pair**, and select **RSA SSH format** as the **SSH key type**. RSA could offer better security with keys longer than 3072 bits. Give a Key pair name to your SSH key.
35
33
36
-

34
+
In **Inbound port rules**, select **HTTP (80)**and **SSH (22)** as the inbound ports.
37
35
38
-
10. Finally, when you are confident about your selection, click on the "Create" button, and click on the "Download Private key and Create Resources" button.
36
+

39
37
40
-

38
+
Select the **Review and create** tab and confirm your configuration. It should look similar to the following:
41
39
42
-
11. Your virtual machine should be ready and running within no time. You can SSH into the virtual machine using the private key, along with the Public IP details.
40
+

43
41
44
-

42
+
When you are satisfied with your selections, select **Create**, then select **Download private key and create resources**.
45
43
46
-
While the virtual machine ready, proceed to the next section to deploy MongoDB on your running instance.
44
+

45
+
46
+
After deployment, your virtual machine will be running. Use the private key and the **Public IP** to connect over **SSH**
47
+
48
+

49
+
50
+
With the virtual machine ready, proceed to the next section to deploy MongoDB on your running instance.
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/mongodb-on-azure/deploy.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,19 @@ weight: 4
6
6
layout: learningpathall
7
7
---
8
8
9
+
## Install MongoDB and mongosh on the Ubuntu Pro 24.04 LTS Arm instance
9
10
10
-
## Install MongoDB and Mongosh on the Ubuntu Pro 24.04 LTS Arm instance
11
+
Install MongoDB and `mongosh on Ubuntu Pro 24.04 LTS (Arm64) by downloading the binaries, setting up environment paths, configuring data and log directories, and starting the server for local access and verification.
11
12
12
-
Install MongoDB and mongosh on Ubuntu Pro 24.04 LTS Arm64 by downloading the binaries, setting up environment paths, configuring data and log directories, and starting the server for local access and verification.
13
+
## Install system dependencies
13
14
14
-
1. Install System Dependencies
15
-
16
-
Install required system packages to support MongoDB:
15
+
Install the required system packages to support MongoDB:
about to fork child process, waiting until server is ready for connections.
58
57
forked process: 3356
59
58
child process started successfully, parent exiting
60
59
```
61
60
62
-
6. Install mongosh
61
+
6.**Install mongosh**
63
62
64
-
**mongosh** is the MongoDB Shell used to interact with your MongoDB server. It provides a modern, user-friendly CLI for running queries and database operations.
63
+
**mongosh** is the MongoDB shell used to interact with your MongoDB server. It provides a modern, user-friendly CLI for running queries and database operations.
65
64
66
-
Download and install MongoDB’s command-line shell for Arm:
echo 'export PATH=/usr/local/mongosh/bin:$PATH' | sudo tee /etc/profile.d/mongosh.sh
75
75
source /etc/profile.d/mongosh.sh
76
76
```
77
77
78
-
### Verify MongoDB and mongosh Installation
78
+
### Verify MongoDB and mongosh installation
79
79
80
-
Check if MongoDB and mongosh are properly installed on your machine:
80
+
Check if MongoDB and `mongosh` are properly installed on your machine:
81
81
```console
82
82
mongod --version
83
83
mongosh --version
84
84
```
85
-
You should see output similar to:
85
+
You should see output similar to:
86
86
```output
87
87
db version v8.0.12
88
88
Build Info: {
@@ -102,11 +102,11 @@ Build Info: {
102
102
103
103
### Connect to MongoDB via mongosh
104
104
105
-
You can now start interacting with MongoDB through its shell interface:
105
+
Start interacting with MongoDB through the shell:
106
106
```console
107
107
mongosh mongodb://127.0.0.1:27017
108
108
```
109
-
You should see output on your terminal similar to:
109
+
You should see output similar to:
110
110
```output
111
111
Current Mongosh Log ID: 68b573411523231d81a00aa0
112
112
Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.3.8
@@ -130,4 +130,4 @@ For mongosh info see: https://www.mongodb.com/docs/mongodb-shell/
130
130
test>
131
131
```
132
132
133
-
With this you have verified that the MongoDB installation is complete. You can now proceed with the baseline testing of MongoDB on your Azure Cobalt 100 based VM.
133
+
With this, you have verified that the MongoDB installation is complete. You can now proceed with baseline testing of MongoDB on your Azure Cobalt 100 VM.
0 commit comments