Skip to content

Commit a918a96

Browse files
majguoyiliuTo
authored andcommitted
update workshop.md
Signed-off-by: Jianguo Ma <[email protected]>
1 parent 0168b25 commit a918a96

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

asset-manager/WORKSHOP.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ The first step is to assess the sample Java application `asset-manager`. The ass
4848

4949
You should see the matched predefined prompts for the selected solution are listed. Follow instructions to start the migration process.
5050

51-
1. Select the predefined prompt that best matches the solution. In the search area, select **OK**.
51+
1. Select the predefined prompt that best matches the solution. In this workshop, select the one for **Spring** because the sample Java application is a Spring Boot application.
52+
1. In the search area, select **OK**.
5253
1. In the **Formulas** pane, on the left, review the migration plan with files proposed to be modified. Disregard files you believe are not necessary to modify. For files you want to modify, do the following for each file:
5354
- Select the file. It starts to generate the code changes. Wait until the code changes are generated.
5455
- Review the proposed changes carefully.
@@ -79,7 +80,33 @@ Once you have completed the code changes, you can ask the tool to automatically
7980

8081
## Deploy to Azure
8182

82-
At this point, you have successfully migrated the sample Java application `asset-manager` to use Azure Database for PostgreSQL, Azure Blob Storage, and Azure Service Bus. Now, you deploy the migrated application to Azure using the Azure CLI. You can either run the deployment script locally or use the GitHub Codespaces. The recommended approach is to run the deployment script in the GitHub Codespaces, as it provides a ready-to-use environment with all the necessary dependencies.
83+
At this point, you have successfully migrated the sample Java application `asset-manager` to use Azure Database for PostgreSQL, Azure Blob Storage, and Azure Service Bus. Now, you deploy the migrated application to Azure using the Azure CLI after you identify a working location for your Azure resources.
84+
85+
For example, an Azure Database for PostgreSQL Flexible Server requires a location that supports the service. Follow the instructions below to find a suitable location.
86+
87+
1. Run the following command to list all available locations for your account:
88+
89+
```bash
90+
az account list-locations -o table
91+
```
92+
93+
1. Try a location from column **Name** in the output. For example, `eastus2` stands for **East US 2**.
94+
95+
1. Run the following command to list all available SKUs in the selected location for Azure Database for PostgreSQL Flexible Server:
96+
97+
```bash
98+
az postgres flexible-server list-skus --location <your location> -o table
99+
```
100+
101+
1. If you see the output contains the SKU `Standard_B1ms` and the **Tier** is `Burstable`, you can use the location for the deployment. Otherwise, try another location.
102+
103+
```text
104+
SKU Tier VCore Memory Max Disk IOPS
105+
----------------- --------------- ------- -------- ---------------
106+
Standard_B1ms Burstable 1 2 GiB 640e
107+
```
108+
109+
You can either run the deployment script locally or use the GitHub Codespaces. The recommended approach is to run the deployment script in the GitHub Codespaces, as it provides a ready-to-use environment with all the necessary dependencies.
83110

84111
Deploy using GitHub Codespaces:
85112
1. Commit and push the changes to your forked repository.

0 commit comments

Comments
 (0)