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/net-aspire/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Run a .NET Aspire application on Arm-based VMs on AWS and GCP
3
3
4
4
minutes_to_complete: 60
5
5
6
-
who_is_this_for: This is an introductory topic for software developers interested in learning how to deploy .NET Aspire applications on Arm-based Virtual Machines (VMs) on Amazon Web Services (AWS) and Google Cloud Platform (GCP).
6
+
who_is_this_for: This is an introductory topic for software developers interested in learning how to deploy .NET Aspire applications on Arm-based virtual machines (VMs) on Amazon Web Services (AWS) and Google Cloud Platform (GCP).
7
7
8
8
learning_objectives:
9
9
- Describe .NET Aspire, including what it can achieve.
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/net-aspire/aws.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ layout: learningpathall
7
7
---
8
8
9
9
### Objective
10
-
In this section, you will learn how to deploy the .NET Aspire application you created on to an AWS Elastic Compute Cloud (EC2) Virtual Machine powered by Arm-based processors, such as AWS Graviton. This allows you to leverage the cost and performance benefits of Arm architecture while benefiting from the seamless deployment of cloud-native applications on modern infrastructure.
10
+
In this section, you will learn how to deploy the .NET Aspire application you created on to an AWS Elastic Compute Cloud (EC2) virtual machine powered by Arm-based processors, such as AWS Graviton. This allows you to leverage the cost and performance benefits of Arm architecture while benefiting from the seamless deployment of cloud-native applications on modern infrastructure.
11
11
12
12
### Set up your AWS EC2 Instance
13
13
To set up an Arm-powered EC2 instance, follow these steps:
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/net-aspire/background.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,4 +31,4 @@ With a few helper method calls, you can create local resources, wait for the res
31
31
32
32
By providing a consistent set of tools and patterns, .NET Aspire streamlines the development process of cloud-native applications. It manages complex applications during the development phase without dealing with low-level implementation details. .NET Aspire easily connects to commonly-used services with standardized interfaces and configurations. There are also various templates and tooling to accelerate project setup and development cycles.
33
33
34
-
In this Learning Path, you will learn how to create a .NET Aspire application, describe the project, and modify the code on a Windows on Arm development machine. You will then deploy the application firstly, to an AWS Arm-powered virtual machines, and secondly, to a GCP Arm-powered virtual machine.
34
+
In this Learning Path, you will learn how to create a .NET Aspire application, describe the project, and modify the code on a Windows on Arm development machine. You will then deploy the application firstly, to an AWS Arm-powered virtual machine, and secondly, to a GCP Arm-powered virtual machine.
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/net-aspire/gcp.md
+21-13Lines changed: 21 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,20 +12,26 @@ In this section, you will learn how to deploy the .NET Aspire application you cr
12
12
### Create an Arm64 virtual machine
13
13
To create an Arm64 VM, follow these steps:
14
14
1. Create a Google Cloud Account. If you don’t already have an account, sign up for Google Cloud.
15
+
15
16
2. Open the Google Cloud Console [here](https://console.cloud.google.com).
16
-
3. Navigate to Compute Engine. In the Google Cloud Console, open the Navigation menu, and go to Compute Engine > VM Instances. Enable any relevant APIs if prompted.
17
+
18
+
3. Navigate to Compute Engine. In the Google Cloud Console, open the Navigation menu, and go to **Compute Engine** > **VM Instances**. Enable any relevant APIs if prompted.
19
+
17
20
4. Click **Create Instance**.
21
+
18
22
5. Configure the VM Instance as follows:
19
-
* Name: **arm-server**
20
-
* Region/Zone: choose a region and zone where Arm64 processors are available, for exampleus-central1.
23
+
* Name: **arm-server**.
24
+
* Region/Zone: choose a region and zone where Arm64 processors are available, for example, **us-central1**.
21
25
* Machine Family: select **General-purpose**.
22
-
* Series: T2A.
26
+
* Series: **T2A**.
23
27
* Machine Type: select **t2a-standard-1**.
28
+
24
29
The configuration setup should resemble the following:
25
30
26
31

27
32
28
33
6. Configure the Remaining Settings:
34
+
29
35
* Availability Policies: **Standard**.
30
36
* Boot Disk: Click **Change**, then select **Ubuntu** as the operating system.
31
37
* Identity and API Access: keep the default settings.
@@ -37,7 +43,7 @@ The configuration setup should resemble the following:
37
43
38
44
### Connecting to VM
39
45
After creating the VM, connect to it as follows:
40
-
1. In Compute Engine, click the SSH drop-down menu next to your VM, and select **Open in browser window**:
46
+
1. In **Compute Engine**, click the SSH drop-down menu next to your VM, and select **Open in browser window**:
41
47
42
48

43
49
@@ -50,7 +56,8 @@ After creating the VM, connect to it as follows:
50
56

51
57
52
58
### Installing dependencies and deploying an app
53
-
Once the connection is established, you can install the required dependencies (.NET SDK, Aspire workload, and Git), fetch the application code, and deploy it:
59
+
Once the connection is established, you can install the required dependencies (.NET SDK, Aspire workload, and Git), fetch the application code, and deploy it.
60
+
54
61
Update the Package List:
55
62
```console
56
63
sudo apt update && sudo apt upgrade -y
@@ -95,18 +102,19 @@ dotnet run --project NetAspire.Arm.AppHost
95
102
You will see output similar to this:
96
103

97
104
98
-
### Exposing the application to the Public
105
+
### Making your application public
106
+
99
107
To make your application publicly-accessible, configure the firewall rules:
100
108
1. In the Google Cloud Console, navigate to **VPC Network** > **Firewall**.
101
109
2. Click **Create Firewall Rule** and configure the following:
102
-
* Name: allow-dotnet-ports.
103
-
* Target Tags: dotnet-app.
104
-
* Source IP Ranges: 0.0.0.0/0 (for public access).
105
-
* Protocols and Ports: allow TCP on ports 7133, 7511, and 17222.
110
+
* Name: **allow-dotnet-ports**.
111
+
* Target Tags: **dotnet-app**.
112
+
* Source IP Ranges: **0.0.0.0/0** (for public access).
113
+
* Protocols and Ports: **allow TCP on ports 7133, 7511, and 17222**.
106
114
* Click the **Create** button.
107
115
3. Go back to your VM instance.
108
-
4. Click **Edit**, and under Networking find Network Tags, add the tag dotnet-app.
116
+
4. Click **Edit**, and under **Networking** find **Network Tags**, add the tag **dotnet-app**.
109
117
5. Click the **Save** button.
110
118
111
119
### Summary
112
-
You have successfully deployed the Aspire app onto an Arm-powered GCP Virtual Machine. This deployment demonstrates the compatibility of .NET applications with Arm architecture and GCP, offering high performance and cost-efficiency.
120
+
You have successfully deployed the Aspire app onto an Arm-powered GCP virtual machine. This deployment demonstrates the compatibility of .NET applications with Arm architecture and GCP, offering high performance and cost-efficiency.
0 commit comments