Skip to content

Commit 59a0808

Browse files
authored
Merge pull request #211607 from SteveSaunders1952/v-ssaunders-how-to-built-in-persistent-storage
Update screenshots for how-to-built-in-persistent-storage.md
2 parents 96972f8 + ee21972 commit 59a0808

File tree

9 files changed

+22
-26
lines changed

9 files changed

+22
-26
lines changed
Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: How to use built-in persistent storage in Azure Spring Apps | Microsoft Docs
3-
description: How to use built-in persistent storage in Azure Spring Apps
2+
title: Use built-in persistent storage in Azure Spring Apps | Microsoft Docs
3+
description: Learn how to use built-in persistent storage in Azure Spring Apps
44
author: karlerickson
55
ms.service: spring-apps
66
ms.topic: conceptual
@@ -20,50 +20,46 @@ ms.custom: devx-track-java, devx-track-azurecli, event-tier1-build-2022
2020

2121
Azure Spring Apps provides two types of built-in storage for your application: persistent and temporary.
2222

23-
By default, Azure Spring Apps provides temporary storage for each application instance. Temporary storage is limited to 5 GB per instance with the default mount path /tmp.
23+
By default, Azure Spring Apps provides temporary storage for each application instance. Temporary storage is limited to 5 GB per instance with */tmp* as the default mount path.
2424

2525
> [!WARNING]
2626
> If you restart an application instance, the associated temporary storage is permanently deleted.
2727
28-
Persistent storage is a file-share container managed by Azure and allocated per application. Data stored in persistent storage is shared by all instances of an application. An Azure Spring Apps instance can have a maximum of 10 applications with persistent storage enabled. Each application is allocated 50 GB of persistent storage. The default mount path for persistent storage is /persistent.
28+
Persistent storage is a file-share container managed by Azure and allocated per application. Data stored in persistent storage is shared by all instances of an application. An Azure Spring Apps instance can have a maximum of 10 applications with persistent storage enabled. Each application is allocated 50 GB of persistent storage. The default mount path for persistent storage is */persistent*.
2929

3030
> [!WARNING]
3131
> If you disable an applications's persistent storage, all of that storage is deallocated and all of the stored data is lost.
3232
3333
## Enable or disable built-in persistent storage
3434

35-
You can modify the state of built-in persistent storage using the Azure portal or by using the Azure CLI.
35+
You can enable or disable built-in persistent storage using the Azure portal or Azure CLI.
3636

3737
#### [Portal](#tab/azure-portal)
3838

39-
## Enable or disable built-in persistent storage with the portal
39+
Use the following steps to enable or disable built-in persistent storage using the Azure portal.
4040

41-
The portal can be used to enable or disable built-in persistent storage.
41+
1. Go to your Azure Spring Apps instance in the Azure portal.
4242

43-
1. From the **Home** page of your Azure portal, select **All Resources**.
43+
1. Select **Apps** to view apps for your service instance, and then select an app to display the app's **Overview** page.
4444

45-
>![Locate the All Resources icon](media/portal-all-resources.jpg)
45+
:::image type="content" source="media/how-to-built-in-persistent-storage/app-selected.png" lightbox="media/how-to-built-in-persistent-storage/app-selected.png" alt-text="Screenshot of Azure portal showing the Apps page.":::
4646

47-
1. Select the Azure Spring Apps resource that needs persistent storage. In this example, the selected application is called **upspring**.
47+
1. On the **Overview** page, select **Configuration**.
4848

49-
> ![Select your application](media/select-service.jpg)
49+
:::image type="content" source="media/how-to-built-in-persistent-storage/select-configuration.png" lightbox="media/how-to-built-in-persistent-storage/select-configuration.png" alt-text="Screenshot of Azure portal showing details for an app.":::
5050

51-
1. Under the **Settings** heading, select **Apps**.
51+
1. On the **Configuration** page, select **Persistent Storage**.
5252

53-
1. Your Azure Spring Apps services appear in a table. Select the service that you want to add persistent storage to. In this example, the **gateway** service is selected.
53+
:::image type="content" source="media/how-to-built-in-persistent-storage/select-persistent-storage.png" lightbox="media/how-to-built-in-persistent-storage/select-persistent-storage.png" alt-text="Screenshot of Azure portal showing the Configuration page.":::
5454

55-
> ![Select your service](media/select-gateway.jpg)
55+
1. On the **Persistent Storage** tab, select **Enable** to enable persistent storage, or **Disable** to disable persistent storage.
5656

57-
1. From the service's configuration page, select **Configuration**
57+
:::image type="content" source="media/how-to-built-in-persistent-storage/enable-persistent-storage.png" lightbox="media/how-to-built-in-persistent-storage/enable-persistent-storage.png" alt-text="Screenshot of Azure portal showing the Persistent Storage tab.":::
5858

59-
1. Select the **Persistent Storage** tab and select **Enable** to turn on persistent storage, or select **Disable** to turn off persistent storage.
60-
61-
> ![Enable persistent storage](media/enable-persistent-storage.jpg)
62-
63-
If persistent storage is enabled, its size and path are shown on the **Persistent Storage** tab.
59+
If persistent storage is enabled, the **Persistent Storage** tab displays the storage size and path.
6460

6561
#### [Azure CLI](#tab/azure-cli)
66-
## Use the Azure CLI to enable or disable built-in persistent storage
62+
6763
If necessary, install the Azure Spring Apps extension for the Azure CLI using this command:
6864

6965
```azurecli
@@ -72,19 +68,19 @@ az extension add --name spring
7268

7369
Other operations:
7470

75-
* To create an app with built-in persistent storage enabled:
71+
- To create an app with built-in persistent storage enabled:
7672

7773
```azurecli
7874
az spring app create -n <app> -g <resource-group> -s <service-name> --enable-persistent-storage true
7975
```
8076
81-
* To enable built-in persistent storage for an existing app:
77+
- To enable built-in persistent storage for an existing app:
8278
8379
```azurecli
8480
az spring app update -n <app> -g <resource-group> -s <service-name> --enable-persistent-storage true
8581
```
8682
87-
* To disable built-in persistent storage in an existing app:
83+
- To disable built-in persistent storage in an existing app:
8884
8985
```azurecli
9086
az spring app update -n <app> -g <resource-group> -s <service-name> --enable-persistent-storage false
@@ -97,5 +93,5 @@ Other operations:
9793
9894
## Next steps
9995
100-
* Learn about [application and service quotas](./quotas.md).
101-
* Learn how to [manually scale your application](./how-to-scale-manual.md).
96+
- [Quotas and service plans for Azure Spring Apps](./quotas.md)
97+
- [Scale an application in Azure Spring Apps](./how-to-scale-manual.md)
Binary file not shown.
39.4 KB
Loading
96.3 KB
Loading
40.9 KB
Loading
66.8 KB
Loading
Binary file not shown.
-156 KB
Binary file not shown.
-157 KB
Binary file not shown.

0 commit comments

Comments
 (0)