Skip to content

Commit 77c30f2

Browse files
Added more formatting.
1 parent 211a13a commit 77c30f2

File tree

5 files changed

+25
-17
lines changed

5 files changed

+25
-17
lines changed

content/learning-paths/servers-and-cloud-computing/net-aspire/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Run a .NET Aspire application on Arm-based VMs on AWS and GCP
33

44
minutes_to_complete: 60
55

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).
77

88
learning_objectives:
99
- Describe .NET Aspire, including what it can achieve.

content/learning-paths/servers-and-cloud-computing/net-aspire/_review.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ review:
2424
2525
- questions:
2626
question: >
27-
In Google Cloud Platform, which series should you select to use an Arm64 processor for your VM?
27+
In Google Cloud Platform, which series should you select to use an Arm64 processor for the VM?
2828
answers:
2929
- T2A (Ampere Altra Arm).
3030
- E2 (General Purpose).

content/learning-paths/servers-and-cloud-computing/net-aspire/aws.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: learningpathall
77
---
88

99
### 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.
1111

1212
### Set up your AWS EC2 Instance
1313
To set up an Arm-powered EC2 instance, follow these steps:

content/learning-paths/servers-and-cloud-computing/net-aspire/background.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ With a few helper method calls, you can create local resources, wait for the res
3131

3232
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.
3333

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.

content/learning-paths/servers-and-cloud-computing/net-aspire/gcp.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,26 @@ In this section, you will learn how to deploy the .NET Aspire application you cr
1212
### Create an Arm64 virtual machine
1313
To create an Arm64 VM, follow these steps:
1414
1. Create a Google Cloud Account. If you don’t already have an account, sign up for Google Cloud.
15+
1516
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+
1720
4. Click **Create Instance**.
21+
1822
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 example us-central1.
23+
* Name: **arm-server**.
24+
* Region/Zone: choose a region and zone where Arm64 processors are available, for example, **us-central1**.
2125
* Machine Family: select **General-purpose**.
22-
* Series: T2A.
26+
* Series: **T2A**.
2327
* Machine Type: select **t2a-standard-1**.
28+
2429
The configuration setup should resemble the following:
2530

2631
![fig14](figures/14.png)
2732

2833
6. Configure the Remaining Settings:
34+
2935
* Availability Policies: **Standard**.
3036
* Boot Disk: Click **Change**, then select **Ubuntu** as the operating system.
3137
* Identity and API Access: keep the default settings.
@@ -37,7 +43,7 @@ The configuration setup should resemble the following:
3743

3844
### Connecting to VM
3945
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**:
4147

4248
![fig16](figures/16.png)
4349

@@ -50,7 +56,8 @@ After creating the VM, connect to it as follows:
5056
![fig18](figures/18.png)
5157

5258
### 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+
5461
Update the Package List:
5562
```console
5663
sudo apt update && sudo apt upgrade -y
@@ -95,18 +102,19 @@ dotnet run --project NetAspire.Arm.AppHost
95102
You will see output similar to this:
96103
![fig19](figures/19.png)
97104

98-
### Exposing the application to the Public
105+
### Making your application public
106+
99107
To make your application publicly-accessible, configure the firewall rules:
100108
1. In the Google Cloud Console, navigate to **VPC Network** > **Firewall**.
101109
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**.
106114
* Click the **Create** button.
107115
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**.
109117
5. Click the **Save** button.
110118

111119
### 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

Comments
 (0)