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
# Tutorial: Build a Tomcat web app with Azure App Service on Linux and MySQL
@@ -84,7 +85,7 @@ For your convenience, the [sample repository](https://github.com/Azure-Samples/m
84
85
85
86
## 2. Create App Service and MySQL
86
87
87
-
First, you create the Azure resources. The steps used in this tutorial create a set of secure-by-default resources that include App Service and Azure Database for MySQL. For the creation process, you'll specify:
88
+
First, you create the Azure resources. The steps used in this tutorial create a set of secure-by-default resources that include App Service and Azure Database for MySQL. For the creation process, you specify:
88
89
89
90
* The **Name** for the web app. It's the name used as part of the DNS name for your webapp in the form of `https://<app-name>.azurewebsites.net`.
90
91
* The **Region** to run the app physically in the world.
@@ -343,7 +344,7 @@ When you're finished, you can delete all of the resources from your Azure subscr
343
344
**Step 2:** In the resource group page, select **Delete resource group**.
344
345
:::column-end:::
345
346
:::column:::
346
-
:::image type="content" source="./media/tutorial-java-tomcat-mysql-app/azure-portal-clean-up-resources-2.png" alt-text="A screenshot showing the location of the Delete Resource Group button in the Azure portal." lightbox="./media/tutorial-java-tomcat-mysql-app/azure-portal-clean-up-resources-2.png":::
347
+
:::image type="content" source="./media/tutorial-java-tomcat-mysql-app/azure-portal-clean-up-resources-2.png" alt-text="A screenshot showing the location of the **Delete Resource Group** button in the Azure portal." lightbox="./media/tutorial-java-tomcat-mysql-app/azure-portal-clean-up-resources-2.png":::
347
348
:::column-end:::
348
349
:::row-end:::
349
350
:::row:::
@@ -395,7 +396,7 @@ In this step, you create the Azure resources and deploy a sample app to App Serv
395
396
azd auth login
396
397
```
397
398
398
-
1. Run the `azd up`command to provision the necessary Azure resources and deploy the app code. Follow the prompt to selectthe desired subscription and location for the Azure resources.
399
+
1. Run the `azd up`command to create the necessary Azure resources and deploy the app code. Follow the prompt to selectthe desired subscription and location for the Azure resources.
399
400
400
401
```bash
401
402
azd up
@@ -536,7 +537,7 @@ You can ignore the warnings. The Maven Jetty plugin shows the warnings because t
536
537
## Frequently asked questions
537
538
538
539
- [How much does this setup cost?](#how-much-does-this-setup-cost)
539
-
- [How do I connect to the MySQL server behind the virtual network with other tools?](#how-do-i-connect-to-the-mysql-server-thats-secured-behind-the-virtual-network-with-other-tools)
540
+
- [How do I connect to the MySQL server behind the virtual network with other tools?](#how-do-i-connect-to-the-mysql-server-behind-the-virtual-network-with-other-tools)
540
541
- [How does local app development work with GitHub Actions?](#how-does-local-app-development-work-with-github-actions)
541
542
542
543
#### How much does this setup cost?
@@ -549,7 +550,7 @@ Pricing for the created resources is as follows:
549
550
- The virtual network doesn't incur a charge unless you configure extra functionality, such as peering. See [Azure Virtual Network pricing](https://azure.microsoft.com/pricing/details/virtual-network/).
550
551
- The private DNS zone incurs a small charge. See [Azure DNS pricing](https://azure.microsoft.com/pricing/details/dns/).
551
552
552
-
#### How do I connect to the MySQL database behind the virtual network with other tools?
553
+
#### How do I connect to the MySQL server behind the virtual network with other tools?
553
554
554
555
- The Tomcat container currently doesn't have the `mysql-client` terminal too. If you want, you must manually install it. Note that anything you install won't persist across app restart.
555
556
- To connect from a desktop tool like MySQL Workbench, your machine must be within the virtual network. For example, it could be an Azure VM that's connected to one of the subnets, or a machine in an on-premises network that has a [site-to-site VPN](../vpn-gateway/vpn-gateway-about-vpngateways.md) connection with the Azure virtual network.
0 commit comments