From 06376c214ce7f1ccb03e51641c6ed6ad0470b0a9 Mon Sep 17 00:00:00 2001 From: pareenaverma Date: Thu, 19 Oct 2023 19:21:52 +0000 Subject: [PATCH] Reviewed Azure .net LP --- .../from-iot-to-the-cloud-part1/_index.md | 9 ++++----- .../from-iot-to-the-cloud-part1/_review.md | 4 ++-- .../from-iot-to-the-cloud-part1/how-to-1.md | 2 +- .../from-iot-to-the-cloud-part1/how-to-2.md | 6 +++++- .../from-iot-to-the-cloud-part1/how-to-3.md | 3 ++- .../from-iot-to-the-cloud-part1/how-to-4.md | 5 ++++- .../from-iot-to-the-cloud-part1/how-to-5.md | 10 ---------- 7 files changed, 18 insertions(+), 21 deletions(-) delete mode 100644 content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-5.md 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 cd2465064..4c7da95d9 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,11 +1,9 @@ --- -title: 'Deploying applications to Arm64-powered Virtual Machine in Microsoft Azure' +title: 'Deploy .NET applications to Arm Virtual Machines in Microsoft Azure' minutes_to_complete: 30 -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.' +who_is_this_for: This learning path is for software developers interested in learning how to deploy .NET applications to Microsoft Azure using Arm64-powered Virtual Machines. learning_objectives: - Create a Virtual Machine (VM) in Microsoft Azure. @@ -14,7 +12,7 @@ learning_objectives: - Configure the network security group of the VM to expose the application over the Internet. prerequisites: - - 'A 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 @@ -28,6 +26,7 @@ armips: tools_software_languages: - .NET SDK - C# + - Azure operatingsystems: - Linux 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 dc24bffa1..59ad69058 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 network traffic. + Network Security Group 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 the 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. 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 82b520c72..589a6c923 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 @@ -13,4 +13,4 @@ As an IoT or Arm developer, you are already familiar with app development for yo 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. +This tutorial demonstrates how to create the arm64-powered virtual machine in Microsoft Azure and use it for running 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. 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 943b3c892..30634f97f 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 @@ -22,6 +22,8 @@ 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 +Configure your VM with the following settings: + 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**. @@ -33,7 +35,9 @@ This takes you to the **Create a Virtual Machine** wizard as shown below: 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. 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. + * Select **D2pds_v5**. + +{{% notice Note %}} 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.{{% /notice %}} At this point, your configuration should look like this example: ![Creating Virtual Machine#left](figures/05.png "Figure 5. Virtual machine wizard (configured)") 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 d5e8ed447..8338d04ee 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,7 +7,8 @@ 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 will now connect to the VM using the SSH protocol and the public IP address of the virtual machine. +{{% notice Note %}} In this tutorial we will use the public IP **52.149.156.228**. Please make sure to use the public IP of your virtual machine instead. {{% /notice %}} 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. 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 ffe09f491..bc621e7c3 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 @@ -38,7 +38,7 @@ export PATH="/home/arm/.dotnet/:$PATH" 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. +{{% notice Note %}} 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.{{% /notice %}} To install git, use the terminal of the virtual machine and type: ```console @@ -90,3 +90,6 @@ 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 that the application is up and running: ![Application#left](figures/17.png "Figure 17. An application deployed to Azure virtual machine") + +## 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 have learned how to configure a network security group to enable inbound traffic on port 8080. 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 deleted file mode 100644 index f9b614629..000000000 --- a/content/learning-paths/servers-and-cloud-computing/from-iot-to-the-cloud-part1/how-to-5.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Wrapping up -weight: 6 - -### FIXED, DO NOT MODIFY -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 have learned how to configure a network security group to enable inbound traffic on port 8080.