Skip to content

Commit 378d483

Browse files
committed
add faq list
1 parent 8570d45 commit 378d483

File tree

1 file changed

+5
-42
lines changed

1 file changed

+5
-42
lines changed

articles/app-service/tutorial-java-quarkus-postgresql-app.md

Lines changed: 5 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -58,47 +58,6 @@ The tutorial uses [Quarkus sample: Hibernate ORM with Panache and RESTEasy](http
5858

5959
For more information on how the Quarkus sample application is created, see Quarkus documentation [Simplified Hibernate ORM with Panache](https://quarkus.io/guides/hibernate-orm-panache) and [Configure data sources in Quarkus](https://quarkus.io/guides/datasource).
6060

61-
## 1 - Create App Service and PostgreSQL resources
62-
63-
In this step, 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 PostgreSQL. For the creation process, you'll specify:
64-
65-
* 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`.
66-
* The **Region** to run the app physically in the world.
67-
* The **Runtime stack** for the app. It's where you select the version of Java SDK to use for your app.
68-
* The **Hosting plan** for the app. It's the pricing tier that includes the set of features and scaling capacity for your app.
69-
* The **Resource Group** for the app. A resource group lets you group (in a logical container) all the Azure resources needed for the application.
70-
71-
Sign in to the [Azure portal](https://portal.azure.com/) and follow these steps to create your Azure App Service resources.
72-
73-
:::row:::
74-
:::column span="2":::
75-
**Step 1:** In the Azure portal:
76-
1. Enter "web app database" in the search bar at the top of the Azure portal.
77-
1. Select the item labeled **Web App + Database** under the **Marketplace** heading.
78-
You can also navigate to the [creation wizard](https://portal.azure.com/?feature.customportal=false#create/Microsoft.AppServiceWebAppDatabaseV3) directly.
79-
:::column-end:::
80-
:::column:::
81-
:::image type="content" source="./media/tutorial-java-quarkus-postgresql-app/azure-portal-create-app-postgres-1.png" alt-text="A screenshot showing how to use the search box in the top tool bar to find the Web App + Database creation wizard." lightbox="./media/tutorial-java-quarkus-postgresql-app/azure-portal-create-app-postgres-1.png":::
82-
:::column-end:::
83-
:::row-end:::
84-
:::row:::
85-
:::column span="2":::
86-
**Step 2:** In the **Create Web App + Database** page, fill out the form as follows.
87-
1. *Resource Group* &rarr; Select **Create new** and use a name of **msdocs-quarkus-postgres-tutorial**.
88-
1. *Region* &rarr; Any Azure region near you.
89-
1. *Name* &rarr; **msdocs-quarkus-postgres-XYZ** where *XYZ* is any three random characters. This name must be unique across Azure.
90-
1. *Runtime stack* &rarr; **Java 17**.
91-
1. *Java web server stack* &rarr; **Java SE (Embedded Web Server)**.
92-
1. *Database* &rarr; **PostgreSQL - Flexible Server**. The server name and database name are set by default to appropriate values.
93-
1. *Hosting plan* &rarr; **Basic**. When you're ready, you can [scale up](manage-scale-up.md) to a production pricing tier later.
94-
1. Select **Review + create**.
95-
1. After validation completes, select **Create**.
96-
:::column-end:::
97-
:::column:::
98-
:::image type="content" source="./media/tutorial-java-quarkus-postgresql-app/azure-portal-create-app-postgres-2.png" alt-text="A screenshot showing how to configure a new app and database in the Web App + Database wizard." lightbox="./media/tutorial-java-quarkus-postgresql-app/azure-portal-create-app-postgres-2.png":::
99-
:::column-end:::
100-
:::row-end:::
101-
10261
## 2. Create App Service and PostgreSQL
10362

10463
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 PostgreSQL. For the creation process, you'll specify:
@@ -360,7 +319,6 @@ When you're finished, you can delete all of the resources from your Azure subscr
360319
:::image type="content" source="./media/tutorial-java-quarkus-postgresql-app/azure-portal-clean-up-resources-3.png" alt-text="A screenshot of the confirmation dialog for deleting a resource group in the Azure portal." lightbox="./media/tutorial-java-quarkus-postgresql-app/azure-portal-clean-up-resources-3.png"::::
361320
:::column-end:::
362321
:::row-end:::
363-
::: zone-end
364322

365323
## Troubleshooting
366324

@@ -374,6 +332,11 @@ This Quarkus error is most likely because the app can't connect to the Azure dat
374332

375333
## Frequently asked questions
376334

335+
- [How much does this setup cost?](#how-much-does-this-setup-cost)
336+
- [How do I connect to the PostgreSQL server that's secured behind the virtual network with other tools?](#how-do-i-connect-to-the-postgresql-server-thats-secured-behind-the-virtual-network-with-other-tools)
337+
- [How does local app development work with GitHub Actions?](#how-does-local-app-development-work-with-github-actions)
338+
- [What if I want to run tests with PostgreSQL during the GitHub workflow?](#what-if-i-want-to-run-tests-with-postgresql-during-the-github-workflow)
339+
377340
#### How much does this setup cost?
378341

379342
Pricing for the created resources is as follows:

0 commit comments

Comments
 (0)