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
Azure Spring Apps provides two types of built-in storage for your application: persistent and temporary.
22
22
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.
24
24
25
25
> [!WARNING]
26
26
> If you restart an application instance, the associated temporary storage is permanently deleted.
27
27
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*.
29
29
30
30
> [!WARNING]
31
31
> If you disable an applications's persistent storage, all of that storage is deallocated and all of the stored data is lost.
32
32
33
33
## Enable or disable built-in persistent storage
34
34
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.
36
36
37
37
#### [Portal](#tab/azure-portal)
38
38
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.
40
40
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.
42
42
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.
44
44
45
-
>
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.":::
46
46
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**.
48
48
49
-
> 
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.":::
50
50
51
-
1.Under the **Settings**heading, select **Apps**.
51
+
1.On the **Configuration**page, select **Persistent Storage**.
52
52
53
-
1. Your Azure Spring Apps services appear in a table. Select the service that you want to add persistentstorage 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.":::
54
54
55
-
> 
55
+
1. On the **Persistent Storage** tab, select**Enable** to enable persistent storage, or **Disable** to disable persistent storage.
56
56
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.":::
58
58
59
-
1. Select the **Persistent Storage** tab and select **Enable** to turn on persistent storage, or select **Disable** to turn off persistent storage.
0 commit comments