Skip to content

Commit 2ecb8bb

Browse files
Merge pull request #228630 from frankliu20/frank/big-app-asa-e
feat: doc to manage large app for azure spring apps
2 parents 2da2f76 + 4ae85f1 commit 2ecb8bb

File tree

4 files changed

+124
-14
lines changed

4 files changed

+124
-14
lines changed
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
---
2+
title: How to deploy large CPU and memory applications in Azure Spring Apps in the Enterprise tier
3+
description: Learn how to deploy large CPU and memory applications in the Enterprise tier for Azure Spring Apps.
4+
author: karlerickson
5+
ms.author: haital
6+
ms.service: spring-apps
7+
ms.topic: how-to
8+
ms.date: 03/17/2023
9+
ms.custom: devx-track-java, devx-track-azurecli
10+
---
11+
12+
# Deploy large CPU and memory applications in Azure Spring Apps in the Enterprise tier
13+
14+
**This article applies to:** ❌ Basic/Standard tier ✔️ Enterprise tier
15+
16+
This article shows how to deploy large CPU and memory applications in Azure Spring Apps to support CPU intensive or memory intensive workloads. Support for large applications is currently available only in the Enterprise tier, which supports the CPU and memory combinations as shown in the following table.
17+
18+
| CPU (cores) | Memory (GB) |
19+
| ----------- | ----------- |
20+
| 4 | 16 |
21+
| 6 | 24 |
22+
| 8 | 32 |
23+
24+
## Prerequisites
25+
26+
- An Azure subscription. If you don't have a subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
27+
- An Azure Spring Apps service instance. For more information, see [Quickstart: Provision an Azure Spring Apps service instance](/azure/spring-apps/quickstart-provision-service-instance).
28+
- The [Azure CLI](/cli/azure/install-azure-cli). Install the Azure Spring Apps extension with the following command: `az extension add --name spring`.
29+
30+
## Create a large CPU and memory application
31+
32+
You can use the Azure portal or the Azure CLI to create applications.
33+
34+
### [Azure portal](#tab/azure-portal)
35+
36+
Use the following steps to create a large CPU and memory application using the Azure portal.
37+
38+
1. Go to your Azure Spring Apps service instance.
39+
40+
1. In the navigation pane, select **Apps**, and then select **Create app**.
41+
42+
1. On the **Create App** page, provide a name for **App name** and select the desired **vCpu** and **Memory** values for your application.
43+
44+
1. Select **Create**.
45+
46+
:::image type="content" source="media/how-to-enterprise-large-cpu-memory-applications/create-large-application.png" lightbox="media/how-to-enterprise-large-cpu-memory-applications/create-large-application.png" alt-text="Screenshot of the Azure portal Create App page in Azure Spring Apps showing configuration settings for a new app.":::
47+
48+
### [Azure CLI](#tab/azure-cli)
49+
50+
The following command creates an application with the CPU set to eight core processors and memory set to 32 gigabytes.
51+
52+
```azurecli
53+
az spring app create \
54+
--resource-group <resource-group-name> \
55+
--service <Azure-Spring-Apps-service-instance-name> \
56+
--name <Spring-app-name> \
57+
--cpu 8 \
58+
--memory 32Gi
59+
```
60+
61+
---
62+
63+
## Scale up and down for large CPU and memory applications
64+
65+
To adjust your application's CPU and memory settings, you can use the Azure portal or Azure CLI commands.
66+
67+
### [Azure portal](#tab/azure-portal)
68+
69+
Use the following steps to scale up or down a large CPU and memory application.
70+
71+
1. On the overview page of your app, select **Scale up** in the navigation pane.
72+
73+
1. Select the preferred **vCpu** and **Memory** values.
74+
75+
:::image type="content" source="media/how-to-enterprise-large-cpu-memory-applications/scale-large-application.png" lightbox="media/how-to-enterprise-large-cpu-memory-applications/scale-large-application.png" alt-text="Screenshot of Azure portal Configuration page showing how to scale large app.":::
76+
77+
1. Select **Save**.
78+
79+
### [Azure CLI](#tab/azure-cli)
80+
81+
The following command scales up an app to have high CPU and memory values.
82+
83+
```azurecli
84+
az spring app scale \
85+
--resource-group <resource-group-name> \
86+
--service <Azure-Spring-Apps-service-instance-name> \
87+
--name <Spring-app-name> \
88+
--cpu 8 \
89+
--memory 32Gi
90+
```
91+
92+
The following command scales down an app to have low CPU and memory values.
93+
94+
```azurecli
95+
az spring app scale \
96+
--resource-group <resource-group-name> \
97+
--service <Azure-Spring-Apps-service-instance-name> \
98+
--name <Spring-app-name> \
99+
--cpu 1 \
100+
--memory 2Gi
101+
```
102+
103+
---
104+
105+
## Next steps
106+
107+
- [Build and deploy apps to Azure Spring Apps](/azure/spring-apps/quickstart-deploy-apps)
108+
- [Scale an application in Azure Spring Apps](/azure/spring-apps/how-to-scale-manual)
33.8 KB
Loading
103 KB
Loading

articles/spring-apps/quotas.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,31 @@ ms.custom: devx-track-java, event-tier1-build-2022
1818

1919
**This article applies to:** ✔️ Basic/Standard tier ✔️ Enterprise tier
2020

21-
All Azure services set default limits and quotas for resources and features. Azure Spring Apps offers two pricing tiers: Basic and Standard. We will detail limits for both tiers in this article.
21+
All Azure services set default limits and quotas for resources and features. Azure Spring Apps offers three pricing tiers: Basic, Standard, and Enterprise.
2222

2323
## Azure Spring Apps service tiers and limits
2424

25-
| Resource | Scope | Basic | Standard/Enterprise |
26-
|--------------------------------------|-----------------------------------------|--------------------|-------------------------------------------------|
27-
| vCPU | per app instance | 1 | 4 |
28-
| Memory | per app instance | 2 GB | 8 GB |
29-
| Azure Spring Apps service instances | per region per subscription | 10 | 10 |
30-
| Total app instances | per Azure Spring Apps service instance | 25 | 500 |
31-
| Custom Domains | per Azure Spring Apps service instance | 0 | 25 |
32-
| Persistent volumes | per Azure Spring Apps service instance | 1 GB/app x 10 apps | 50 GB/app x 10 apps |
33-
| Inbound Public Endpoints | per Azure Spring Apps service instance | 10 <sup>1</sup> | 10 <sup>1</sup> |
34-
| Outbound Public IPs | per Azure Spring Apps service instance | 1 <sup>2</sup> | 2 <sup>2</sup> <br> 1 if using VNet<sup>2</sup> |
35-
| User-assigned managed identities | per app instance | 20 | 20 |
25+
The following table defines limits for the pricing tiers in Azure Spring Apps.
26+
27+
| Resource | Scope | Basic | Standard | Enterprise |
28+
|--------------------------------------|-----------------------------------------|---------------------|--------------------------------------------------|--------------------------------------------------|
29+
| vCPU | per app instance | 1 | 4 | 8 |
30+
| Memory | per app instance | 2 GB | 8 GB | 32 GB |
31+
| Azure Spring Apps service instances | per region per subscription | 10 | 10 | 10 |
32+
| Total app instances | per Azure Spring Apps service instance | 25 | 500 | 500 |
33+
| Custom Domains | per Azure Spring Apps service instance | 0 | 25 | 25 |
34+
| Persistent volumes | per Azure Spring Apps service instance | 1 GB/app x 10 apps | 50 GB/app x 10 apps | 50 GB/app x 10 apps |
35+
| Inbound Public Endpoints | per Azure Spring Apps service instance | 10 <sup>1</sup> | 10 <sup>1</sup> | 10 <sup>1</sup> |
36+
| Outbound Public IPs | per Azure Spring Apps service instance | 1 <sup>2</sup> | 2 <sup>2</sup> <br> 1 if using VNet<sup>2</sup> | 2 <sup>2</sup> <br> 1 if using VNet<sup>2</sup> |
37+
| User-assigned managed identities | per app instance | 20 | 20 | 20 |
3638

3739
<sup>1</sup> You can increase this limit via support request to a maximum of 1 per app.
3840

3941
<sup>2</sup> You can increase this limit via support request to a maximum of 10.
4042

4143
> [!TIP]
42-
> Limits listed for Total app instances per service instance apply for apps and deployments in any state, including stopped state. Be sure to delete apps or deployments that aren't in use.
44+
> Limits listed for total app instances, per service instance, apply for apps and deployments in any state, including apps in a stopped state. Be sure to delete apps or deployments that are not being used.
4345
4446
## Next steps
4547

46-
Some default limits can be increased. If your setup requires an increase, [create a support request](../azure-portal/supportability/how-to-create-azure-support-request.md).
48+
Some default limits can be increased. For more information, see [create a support request](../azure-portal/supportability/how-to-create-azure-support-request.md).

0 commit comments

Comments
 (0)