From 353a0b415609f40710e3435d276493d7200c0e50 Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Wed, 18 Oct 2023 10:24:07 +0100 Subject: [PATCH 01/15] Update _index.md Removed 'From IoT to Cloud' from title as too long and title needs to start with a verb. Minor editorial changes elsewhere. --- .../from-iot-to-the-cloud-part1/_index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_index.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_index.md index 98121d0c5..218bde79a 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_index.md @@ -1,20 +1,20 @@ --- -title: 'From IoT to the Cloud: Deploying applications to Arm64-powered Virtual Machine in Microsoft Azure' +title: 'Deploying applications to Arm64-powered Virtual Machine in Microsoft Azure' minutes_to_complete: 30 -who_is_this_for: 'This learning path is dedicated to IoT developers interested in learning how to deploy applications to Microsoft Azure using Arm64-powered Virtual Machines, being a part of the Infrastructure as a Service offering. +who_is_this_for: 'This learning path is for IoT developers interested in learning how to deploy applications to Microsoft Azure using Arm64-powered Virtual Machines. This learning path is the first part of the series: From IoT to the Cloud.' learning_objectives: - Create a Virtual Machine (VM) in Microsoft Azure. - - Connect to VM to install app dependencies, including SDK. + - Connect to the VM to install app dependencies, including SDK. - Create and run the .NET application. - Configure the network security group of the VM to expose the application over the Internet. prerequisites: - - 'Azure subscription. Use this link to sign up for a free account: https://azure.microsoft.com/en-us/free/' + - 'Subscription to Azure. Use this link to sign up for a free account: https://azure.microsoft.com/en-us/free/' author_primary: Dawid Borycki From 112ebf955e501af65a877eb1f6bf56d6b8741cb6 Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Wed, 18 Oct 2023 10:27:31 +0100 Subject: [PATCH 02/15] Update _next-steps.md This needs to be populated with the link to the next LP once it's been created. Is there any other documentation that we could link to? --- .../from-iot-to-the-cloud-part1/_next-steps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_next-steps.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_next-steps.md index 13159119b..0b38e19b7 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_next-steps.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_next-steps.md @@ -1,7 +1,7 @@ --- next_step_guidance: Part 2 -recommended_path: /learning-paths/PLACEHOLDER_CATEGORY/PLACEHOLDER_LEARNING_PATH/ + # further_reading: # - resource: From 7b101c1119cf8e7509bc0391f8e7c46109d91055 Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Wed, 18 Oct 2023 13:41:35 +0100 Subject: [PATCH 03/15] Update _review.md Made links part of the text instead of separate URLs. --- .../from-iot-to-the-cloud-part1/_review.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_review.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_review.md index f295ce3e1..f5e7a1b95 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_review.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_review.md @@ -9,7 +9,7 @@ review: - Microsoft Firewall correct_answer: 1 explanation: > - Network Security Group is the Azure resource you use to filter newtork traffic: https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview + [Network Security Group](https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview) is the Azure resource you can use to filter newtork traffic. - questions: question: > @@ -22,7 +22,7 @@ review: correct_answer: 3 explanation: > - .NET CLI is the command-line tool you use to build and run applications. The tool is accessed by dotnet command. To run the application you use run subcommand. See here to learn more: https://learn.microsoft.com/en-us/dotnet/core/tools/ + .NET CLI is the command-line tool you use to build and run applications. The tool is accessed by dotnet command. To run the application you use run subcommand. See [this .NET CLI article](https://learn.microsoft.com/en-us/dotnet/core/tools) to learn more. From be310381074620989453018eedca7d7d9402341c Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Wed, 18 Oct 2023 13:45:27 +0100 Subject: [PATCH 04/15] Update how-to-1.md minor editorial changes --- .../from-iot-to-the-cloud-part1/how-to-1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-1.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-1.md index 4cb5f9abe..635e0b51d 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-1.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-1.md @@ -7,10 +7,10 @@ layout: learningpathall --- ## Why arm64 in the cloud? -The general architecture of the Internet of Things includes various edge devices, which stream data to the central processing unit, which is deployed to the cloud. +The general architecture of the Internet of Things includes various edge devices which stream data to the central processing unit which, in turn, is deployed to the cloud. As an IoT or Arm developer, you are already familiar with app development for your edge devices. Also, you know that arm64-powered devices offer power-efficient computations that enable us to achieve accelerated computing at reduced power consumption. -Cloud providers, including Microsoft Azure are now adopting this advantage. Specifically, Azure provides arm64-powered virtual machines, which you can use to deploy your apps to utilize arm64 power and reduce the carbon trace. +Cloud providers including Microsoft Azure are now adopting this advantage. Specifically, Azure provides arm64-powered virtual machines which you can use to deploy your apps to utilize arm64 power and reduce the carbon trace. -This tutorial shows how to create the arm64-powered virtual machine in Microsoft Azure and use it for hosting a .NET application. The idea is to show you how to leverage Microsoft Azure, .NET, and aarch64 to build and host a central unit for your IoT solutions. \ No newline at end of file +This tutorial demonstrates how to create the arm64-powered virtual machine in Microsoft Azure and use it for hosting a .NET application. The idea is to show you how to leverage Microsoft Azure, .NET, and aarch64 to build and host a central unit for your IoT solutions. From ef8b60240b7162376bd4f9c1bfffdbb6a8a5ed62 Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Wed, 18 Oct 2023 16:25:16 +0100 Subject: [PATCH 05/15] Update how-to-2.md some editorial changes and amends to the language --- .../from-iot-to-the-cloud-part1/how-to-2.md | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-2.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-2.md index d53f3f4cb..eafc38297 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-2.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-2.md @@ -9,54 +9,54 @@ layout: learningpathall ## Virtual Machine ### Virtual Machine Azure Resource -Let's start by creating the Virtual Machine. To do so, go to https://portal.azure.com and then sign in. You will see the screen which enables you to create Azure resources: +Let's start by creating the Virtual Machine. Go to https://portal.azure.com and sign in. You will see this screen which enables you to create Azure resources: ![Azure portal#left](figures/01.png "Figure 1. A fragment of the Azure Portal") -In the search box (which is on the top of the screen), type **VM**, and pick the first item on the list (Virtual machines): +In the search box, type **VM**, and pick the first item on the list (Virtual machines): ![Selecting Virtual Machine resource#left](figures/02.png "Figure 2. Selecting the virtual machine Azure resource") -In the Virtual machines, click **+ Create (top left corner)**, and then select **Azure virtual machine**: +In the Virtual machines, click **+ Create** (in the top left corner), and then select **Azure virtual machine**: ![Creating Virtual Machine#left](figures/03.png "Figure 3. Creating the virtual machine") -This will take you to the Create a Virtual Machine wizard, which looks as follows: +This takes you to the **Create a Virtual Machine** wizard as shown below: ![Creating Virtual Machine#left](figures/04.png "Figure 4. Virtual machine wizard") ### Virtual machine configuration -1. Subscription. Select your subscription. -2. Resource group. Click Create new link, then type **rg-arm64**, and click OK. +1. Subscription: select your subscription. +2. Resource group: click Create new link, then type **rg-arm64**, and click OK. 3. Virtual machine name: **vm-arm64**. -4. Region. Select East US (or any other, depending on your physical location). -5. Availability options. Select **No infrastructure redundancy required**. +4. Region: select depending on your physical location. +5. Availability options: select **No infrastructure redundancy required**. 6. Security type: **Standard**. 7. VM architecture: **arm64**. 8. Image: **Ubuntu Server 20.04 LTS – ARM64 Gen 2**. 9. Size: - * Click See all sizes. - * In the Select a VM size type **D2pds** in the search box - * Select **D2pds_v5**. Note that this size might not be available due to quota limits. In such a case click Request quota link (which will be located next to the VM size name). This will activate the New Quota Request, in which you type **2** under New limit and click Submit. Wait a few minutes for the quota limits to be updated. + * Click **See all sizes**. + * In the **Select a VM size** type **D2pds** in the search box + * Select **D2pds_v5**. *Note* that this size might not be available due to quota limits. If this happens, click **Request quota link** (which is located next to the **VM size** name). This will activate a New Quota Request. Type **2** under New limit and click Submit. Wait a few minutes for the quota limits to be updated. -At this point, your configuration should look as follows: +At this point, your configuration should look like this example: ![Creating Virtual Machine#left](figures/05.png "Figure 5. Virtual machine wizard (configured)") -Let's now configure other aspects of the Virtual Machine (Figure 6): -1. Administrator account. **Select Password**, and then populate other fields: +Let's now configure other aspects of the Virtual Machine: +1. Administrator account. **Select Password**, and then populate with: * Username: **arm** - * Password: type your password. Make a note of this password. You'll need it to connect to VM. - * Confirm password: re-type your password. + * Password: type your password (make a note of this password as you'll need it to connect to VM) + * Confirm password: re-type your password 2. Inbound port rules. Keep them default: **SSH(22)**. ![Creating Virtual Machine#left](figures/06.png "Figure 6. Administrator account and inbound rules of the virtual machine") -Click the **Review + create** button. Azure Portal will validate your configuration, and you will see a green box saying: Validation passed: +Click the **Review + create** button. Azure Portal will validate your configuration and, if all is correct, you will see a green box saying: Validation passed: ![Creating Virtual Machine#left](figures/07.png "Figure 7. A summary of the create virtual machine wizard") -Click the Create button. The portal will now start the process of creating your VM. You will notice that apart from the VM itself, the portal is creating additional resources for you: -* Public IP address – you'll use it to connect to VM and then to see your application running, -* Network Security Group, -* Virtual network, -* Network interface, -* Virtual disk. +Click the Create button. The portal will now start the process of creating your VM. You will notice that apart from the VM itself, the portal creates additional resources for you: +* Public IP address (you'll need to use it to connect to the VM and then to see your application running) +* Network Security Group +* Virtual network +* Network interface +* Virtual disk Wait a few moments for the deployment to be completed: ![Creating Virtual Machine#left](figures/08.png "Figure 8. A confirmation screen") @@ -64,4 +64,4 @@ Wait a few moments for the deployment to be completed: Finally, click the **Go to resource** button. You'll be redirected to the overview of your newly created virtual machine in Microsoft Azure: ![Creating Virtual Machine#left](figures/09.png "Figure 9. An overview of the virtual machine") -Note your Public IP address (top right part of the overview). In this tutorial, that is **52.149.156.228**. \ No newline at end of file +Note your Public IP address (top right part of the overview). In this tutorial, this is **52.149.156.228**. From 71f6763f61572c2acf22c95c3cb4a97db0a2c6f3 Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Wed, 18 Oct 2023 16:32:51 +0100 Subject: [PATCH 06/15] Update how-to-3.md minor editorial dependencies --- .../from-iot-to-the-cloud-part1/how-to-3.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-3.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-3.md index 3ca0247ea..698fe534a 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-3.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-3.md @@ -7,28 +7,28 @@ layout: learningpathall --- ## Objective -You'll now connect to the VM using SSH protocol and the public IP address of the virtual machine. Note that we will be using the public IP **52.149.156.228**. Please make sure to use the public IP of your virtual machine instead. +You will now connect to the VM using the SSH protocol and the public IP address of the virtual machine. *Note* that in this tutorial we will be using the public IP **52.149.156.228**. Please make sure to use the public IP of your virtual machine instead. -You can use a local terminal or the Azure Cloud Shell to connect to the VM. The latter is available straight from the Azure Portal. So you do not need to install additional tools. Therefore, in this tutorial, we use Cloud Shell. +You can use a local terminal or the Azure Cloud Shell to connect to the VM. The latter is available directly from the Azure Portal and so to avoid installing additional tools, we use Cloud Shell. ### Azure Cloud Shell -To open the Cloud Shell, click a Cloud Shell icon located in the top right corner of Azure Portal: +To open the Cloud Shell, click on the Cloud Shell icon located in the top right corner of Azure Portal: ![Azure Cloud Shell#left](figures/10.png "Figure 10. A top right corner of the Azure Portal") -This will activate the new popup window, which appears at the bottom of Azure Portal: +This will activate a new popup window which appears at the bottom of Azure Portal: ![Azure Cloud Shell#left](figures/11.png "Figure 11. Mounting a storage") -Click **Create storage**, and wait until the storage account is created. A Cloud Shell terminal should be ready. If it asks you for the interpreter, select Bash. The Cloud Shell terminal will look as follows +Click **Create storage**, and wait until the storage account is created. A Cloud Shell terminal should be ready. If it asks you for the interpreter, select **Bash**. The Cloud Shell terminal will look as follows ![Azure Cloud Shell#left](figures/12.png "Figure 12. Cloud shell") ### Connecting to the Virtual Machine using Azure Cloud Shell -You will now use the Cloud Shell to connect to the VM via SSH. To do so, type (remember to use the Public IP address of your virtual machine): +You can now use the Cloud Shell to connect to the VM via SSH. To do so, type (remember to use the Public IP address of your virtual machine): ```console ssh arm@52.149.156.228 ``` -This will initiate the connection with VM. The ssh will display the following message: Are you sure you want to continue connecting (yes/no/[fingerprint])? Type **yes**. Then provide your password to authenticate: +This will initiate the connection with the VM. The ssh will display the following message: Are you sure you want to continue connecting (yes/no/[fingerprint])? Type **yes**. Then provide your password to authenticate: ![Azure Cloud Shell#left](figures/13.png "Figure 13. Authentication") -You are now having terminal access to the VM. You'll use it in the next step to install application dependencies (.NET SDK). \ No newline at end of file +You now have terminal access to the VM. You can use it in the next step to install application dependencies (.NET SDK). From b42cf6c74a29b385243b7bc711a4b0af1e688952 Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Wed, 18 Oct 2023 16:51:21 +0100 Subject: [PATCH 07/15] Update how-to-4.md Minor editorial amends --- .../from-iot-to-the-cloud-part1/how-to-4.md | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-4.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-4.md index d05c720d4..584f084bc 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-4.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-4.md @@ -8,10 +8,10 @@ layout: learningpathall ## Objective In this step, you will install in the virtual machine the following tools: -• .NET 7 SDK – to build and run the application, -• git – to clone application sources. +- .NET 7 SDK – to build and run the application +- git – to clone application sources -Then, you will use git to clone applicaiton sources. Finally, you will build and launch the application. +Next, you will use git to clone application sources and finally, you will build and launch the application. ### Dependencies To install .NET SDK: @@ -29,47 +29,47 @@ chmod +x dotnet-install.sh ```console ./dotnet-install.sh --channel 7.0 ``` -4. Let's add .dotnet folder to the PATH by typing: +4. Add the .dotnet folder to the PATH by typing: ```console export PATH="/home/arm/.dotnet/:$PATH" ``` -5. To ensure that installation was successful, type: +5. To check that the installation was successful, type: ```console dotnet --list-sdsk ``` -Note that, in this tutorial, we installed .NET 7 because the application we will deploy was built using .NET 7. If you need to install another .NET version, modify the channel parameter of the installation script. +*Note* that, in this tutorial, we installed .NET 7 because the application we will deploy was built using .NET 7. If you need to install another .NET version, modify the channel parameter of the installation script. -To install git use the terminal of the virtual machine, where you type +To install git, use the terminal of the virtual machine and type: ```console sudo apt-get install -y git-all ``` -Wait for the installation to be completed. It will take a longer while. +Wait for the installation to be completed. It will take a while. ### Clone and run the application You will now clone the application by typing: ```console git clone https://github.com/dawidborycki/People.WebApp.git ``` -The application sources will be cloned to People.WebApp folder. So, we change the working directory: +The application sources will be cloned to the People.WebApp folder. Change the working directory to: ```conolse cd People.WebApp/ ``` -Then, we run the application such that it will listen on port 8080: +Then, run the application so that it will listen on port 8080: ```console dotnet run --urls "http://0.0.0.0:8080" ``` -After completing this you will see the following output: +After completing this step, you will see the following output: ![Application#left](figures/14.png "Figure 14. Cloning and running the application") The application is ready and listening for the requests on port 8080. However, the network traffic is blocked on all ports except 22. You will need to configure the Network Security Group to enable the traffic. ### Configure Network Security Group -To pass through the traffic on port 8080 for the Virtual Machine of name vm-arm64 you proceed as follows: -1. In the search box of Azure Portal, type **vm-arm64**, and select this resource. -2. In the vm-arm64 screen, click the Networking tab on the left (it's under Settings). You will see the following screen: +To allow the traffic on port 8080 for the Virtual Machine **vm-arm64**, proceed as follows: +1. In the search box of Azure Portal, type **vm-arm64** and select this resource +2. In the vm-arm64 screen, click the Networking tab on the left (it's under **Settings**). You will see the following screen: ![Application#left](figures/15.png "Figure 15. Networking tab of the virtual machine") In the Networking tab of the Virtual Machine, click the **Add inbound port rule** button (it's on the right). This will open a new popup window **Add inbound security rule**: @@ -88,5 +88,5 @@ Ensure the rule is configured as follows: Then, click **Add** and wait for the security rule to be applied. -Once this is done, open your web browser, and type the public IP address of your VM followed by 8080 port: **52.149.156.228:8080**. You'll see the application up and running: -![Application#left](figures/17.png "Figure 17. An application deployed to Azure virtual machine") \ No newline at end of file +Once this is done, open your web browser and type the public IP address of your VM followed by 8080 port: **52.149.156.228:8080**. You'll see the application up and running: +![Application#left](figures/17.png "Figure 17. An application deployed to Azure virtual machine") From f2744c779bf2758016bfbc8cd7f5866a917fc75c Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Wed, 18 Oct 2023 16:54:19 +0100 Subject: [PATCH 08/15] Update how-to-5.md minor editorial amends --- .../from-iot-to-the-cloud-part1/how-to-5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-5.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-5.md index f74619cde..c8bcfb7ab 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-5.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-5.md @@ -7,4 +7,4 @@ layout: learningpathall --- ## Summary -This tutorial taught you how to create an arm64-powered Virtual Machine in Microsoft Azure. Then, you connect to that VM using SSH and install the tools required to build and run the .NET web application. Finally, you learned how to configure a network security group to enable inbound traffic on port 8080. \ No newline at end of file +This tutorial has shown you how to create an arm64-powered Virtual Machine in Microsoft Azure, how to connect to that VM using SSH, and how to install the tools required to build and run the .NET web application. Finally, you learned how to configure a network security group to enable inbound traffic on port 8080. From b5391fce0ccf9ca459c7a8c809d2e872a2bcaa4a Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:08:34 +0100 Subject: [PATCH 09/15] Update _index.md --- .../from-iot-to-the-cloud-part1/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_index.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_index.md index 218bde79a..cd2465064 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_index.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_index.md @@ -14,7 +14,7 @@ learning_objectives: - Configure the network security group of the VM to expose the application over the Internet. prerequisites: - - 'Subscription to Azure. Use this link to sign up for a free account: https://azure.microsoft.com/en-us/free/' + - 'A subscription to Azure. Use this link to sign up for a free account: https://azure.microsoft.com/en-us/free/' author_primary: Dawid Borycki From ecd0845922fd6b83663aee272528868792f4e0d3 Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:10:50 +0100 Subject: [PATCH 10/15] Update _review.md minor editorial amends --- .../from-iot-to-the-cloud-part1/_review.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_review.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_review.md index f5e7a1b95..dc24bffa1 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_review.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/_review.md @@ -9,7 +9,7 @@ review: - Microsoft Firewall correct_answer: 1 explanation: > - [Network Security Group](https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview) is the Azure resource you can use to filter newtork traffic. + [Network Security Group](https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview) is the Azure resource you can use to filter network traffic. - questions: question: > @@ -22,7 +22,7 @@ review: correct_answer: 3 explanation: > - .NET CLI is the command-line tool you use to build and run applications. The tool is accessed by dotnet command. To run the application you use run subcommand. See [this .NET CLI article](https://learn.microsoft.com/en-us/dotnet/core/tools) to learn more. + .NET CLI is the command-line tool you use to build and run applications. The tool is accessed by dotnet command. To run the application you use the run subcommand. See [this .NET CLI article](https://learn.microsoft.com/en-us/dotnet/core/tools) to learn more. From 6de00a07917e99cd54e73f44fc6edcf27ca5f6bd Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:13:59 +0100 Subject: [PATCH 11/15] Update how-to-1.md minor editorial amends --- .../from-iot-to-the-cloud-part1/how-to-1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-1.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-1.md index 635e0b51d..82b520c72 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-1.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-1.md @@ -11,6 +11,6 @@ The general architecture of the Internet of Things includes various edge devices As an IoT or Arm developer, you are already familiar with app development for your edge devices. Also, you know that arm64-powered devices offer power-efficient computations that enable us to achieve accelerated computing at reduced power consumption. -Cloud providers including Microsoft Azure are now adopting this advantage. Specifically, Azure provides arm64-powered virtual machines which you can use to deploy your apps to utilize arm64 power and reduce the carbon trace. +Cloud providers including Microsoft Azure are now adopting this technology. Specifically, Azure provides arm64-powered virtual machines which you can use to deploy your apps to utilize arm64 power and reduce the carbon trace. This tutorial demonstrates how to create the arm64-powered virtual machine in Microsoft Azure and use it for hosting a .NET application. The idea is to show you how to leverage Microsoft Azure, .NET, and aarch64 to build and host a central unit for your IoT solutions. From 73d9f0b6dcc867554a23e8c7b94dd9ed95ff084c Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:17:28 +0100 Subject: [PATCH 12/15] Update how-to-2.md minor editorial amends --- .../from-iot-to-the-cloud-part1/how-to-2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-2.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-2.md index eafc38297..943b3c892 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-2.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-2.md @@ -47,7 +47,7 @@ Let's now configure other aspects of the Virtual Machine: ![Creating Virtual Machine#left](figures/06.png "Figure 6. Administrator account and inbound rules of the virtual machine") -Click the **Review + create** button. Azure Portal will validate your configuration and, if all is correct, you will see a green box saying: Validation passed: +Click the **Review + create** button. The Azure Portal will validate your configuration and, if all is correct, you will see a green box saying: **Validation passed**: ![Creating Virtual Machine#left](figures/07.png "Figure 7. A summary of the create virtual machine wizard") From e667f87caeee3a81253b9166bc07161024d65457 Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:20:39 +0100 Subject: [PATCH 13/15] Update how-to-3.md editorial amends --- .../from-iot-to-the-cloud-part1/how-to-3.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-3.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-3.md index 698fe534a..d5e8ed447 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-3.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-3.md @@ -9,20 +9,20 @@ layout: learningpathall ## Objective You will now connect to the VM using the SSH protocol and the public IP address of the virtual machine. *Note* that in this tutorial we will be using the public IP **52.149.156.228**. Please make sure to use the public IP of your virtual machine instead. -You can use a local terminal or the Azure Cloud Shell to connect to the VM. The latter is available directly from the Azure Portal and so to avoid installing additional tools, we use Cloud Shell. +You can use a local terminal or the Azure Cloud Shell to connect to the VM. The latter is available directly from the Azure Portal and to avoid installing additional tools, we will use the Cloud Shell. ### Azure Cloud Shell To open the Cloud Shell, click on the Cloud Shell icon located in the top right corner of Azure Portal: ![Azure Cloud Shell#left](figures/10.png "Figure 10. A top right corner of the Azure Portal") -This will activate a new popup window which appears at the bottom of Azure Portal: +This will activate a new popup window which appears at the bottom of the Azure Portal: ![Azure Cloud Shell#left](figures/11.png "Figure 11. Mounting a storage") -Click **Create storage**, and wait until the storage account is created. A Cloud Shell terminal should be ready. If it asks you for the interpreter, select **Bash**. The Cloud Shell terminal will look as follows +Click **Create storage**, and wait until the storage account is created. A Cloud Shell terminal should be ready. If it asks you for the interpreter, select **Bash**. The Cloud Shell terminal will look as follows: ![Azure Cloud Shell#left](figures/12.png "Figure 12. Cloud shell") ### Connecting to the Virtual Machine using Azure Cloud Shell -You can now use the Cloud Shell to connect to the VM via SSH. To do so, type (remember to use the Public IP address of your virtual machine): +You can now use the Cloud Shell to connect to the VM via SSH. To do so, type the Public IP address (remember to use the Public IP address of your virtual machine): ```console ssh arm@52.149.156.228 From 6591cca129fd0d16417ee30aaca6c43577dcbb77 Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:26:28 +0100 Subject: [PATCH 14/15] Update how-to-4.md editorial amends --- .../from-iot-to-the-cloud-part1/how-to-4.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-4.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-4.md index 584f084bc..ffe09f491 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-4.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-4.md @@ -56,7 +56,7 @@ The application sources will be cloned to the People.WebApp folder. Change the w ```conolse cd People.WebApp/ ``` -Then, run the application so that it will listen on port 8080: +Then, run the application so that it will listen for requests on port 8080: ```console dotnet run --urls "http://0.0.0.0:8080" ``` @@ -67,12 +67,12 @@ After completing this step, you will see the following output: The application is ready and listening for the requests on port 8080. However, the network traffic is blocked on all ports except 22. You will need to configure the Network Security Group to enable the traffic. ### Configure Network Security Group -To allow the traffic on port 8080 for the Virtual Machine **vm-arm64**, proceed as follows: -1. In the search box of Azure Portal, type **vm-arm64** and select this resource -2. In the vm-arm64 screen, click the Networking tab on the left (it's under **Settings**). You will see the following screen: +To allow traffic on port 8080 for the Virtual Machine **vm-arm64**, proceed as follows: +1. In the search box of the Azure Portal, type **vm-arm64** and select this resource +2. In the **vm-arm64** screen, click the **Networking** tab on the left (it's under **Settings**). You will see the following screen: ![Application#left](figures/15.png "Figure 15. Networking tab of the virtual machine") -In the Networking tab of the Virtual Machine, click the **Add inbound port rule** button (it's on the right). This will open a new popup window **Add inbound security rule**: +In the **Networking** tab of the Virtual Machine, click the **Add inbound port rule** button (it's on the right). This will open a new popup window **Add inbound security rule**: ![Application#left](figures/16.png "Figure 16. Adding inbound port rule") Ensure the rule is configured as follows: @@ -88,5 +88,5 @@ Ensure the rule is configured as follows: Then, click **Add** and wait for the security rule to be applied. -Once this is done, open your web browser and type the public IP address of your VM followed by 8080 port: **52.149.156.228:8080**. You'll see the application up and running: +Once this is done, open your web browser and type the public IP address of your VM followed by 8080 port: **52.149.156.228:8080**. You'll see that the application is up and running: ![Application#left](figures/17.png "Figure 17. An application deployed to Azure virtual machine") From a20b579289a94350194c3e4431f4becfb9772c99 Mon Sep 17 00:00:00 2001 From: Liz Warman <81630105+lizwar@users.noreply.github.com> Date: Thu, 19 Oct 2023 09:27:17 +0100 Subject: [PATCH 15/15] Update how-to-5.md minor editorial changes --- .../from-iot-to-the-cloud-part1/how-to-5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-5.md b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-5.md index c8bcfb7ab..f9b614629 100644 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-5.md +++ b/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-5.md @@ -7,4 +7,4 @@ layout: learningpathall --- ## Summary -This tutorial has shown you how to create an arm64-powered Virtual Machine in Microsoft Azure, how to connect to that VM using SSH, and how to install the tools required to build and run the .NET web application. Finally, you learned how to configure a network security group to enable inbound traffic on port 8080. +This tutorial has shown you how to create an arm64-powered Virtual Machine in Microsoft Azure, how to connect to that VM using SSH, and how to install the tools required to build and run the .NET web application. Finally, you have learned how to configure a network security group to enable inbound traffic on port 8080.