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: asset-manager/WORKSHOP.md
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,8 @@ The first step is to assess the sample Java application `asset-manager`. The ass
48
48
49
49
You should see the matched predefined prompts for the selected solution are listed. Follow instructions to start the migration process.
50
50
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**.
52
53
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:
53
54
- Select the file. It starts to generate the code changes. Wait until the code changes are generated.
54
55
- Review the proposed changes carefully.
@@ -79,7 +80,33 @@ Once you have completed the code changes, you can ask the tool to automatically
79
80
80
81
## Deploy to Azure
81
82
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.
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
110
84
111
Deploy using GitHub Codespaces:
85
112
1. Commit and push the changes to your forked repository.
0 commit comments