Skip to content

Commit 7e0b9ef

Browse files
authored
Merge pull request #314662 from Xelu86/depworkloadzone
[Update] Deploy SAP workload zones with the automation framework
2 parents 6d6becd + 00daa1d commit 7e0b9ef

1 file changed

Lines changed: 26 additions & 30 deletions

File tree

articles/sap/automation/deploy-workload-zone.md

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
---
2-
title: About workload zone deployment in automation framework
3-
description: Overview of the SAP workload zone deployment process within SAP Deployment Automation Framework.
2+
title: Deploy SAP workload zones with the automation framework
3+
description: Learn how to deploy SAP workload zones using SAP Deployment Automation Framework on Azure.
44
author: kimforss
55
ms.author: kimforss
6-
ms.reviewer: kimforss
7-
ms.date: 11/17/2021
8-
ms.topic: concept-article
6+
ms.date: 04/13/2026
7+
ms.topic: how-to
98
ms.service: sap-on-azure
109
ms.subservice: sap-automation
1110
# Customer intent: As an SAP system administrator, I want to deploy workload zones using the automation framework, so that I can efficiently manage the different development tiers of my SAP applications in Azure.
1211
---
1312

14-
# Workload zone deployment in the SAP automation framework
13+
# Deploy SAP workload zones with the automation framework
1514

16-
An [SAP application](deployment-framework.md#sap-concepts) typically has multiple development tiers. For example, you might have development, quality assurance, and production tiers. [SAP Deployment Automation Framework](deployment-framework.md) calls these tiers [workload zones](deployment-framework.md#deployment-components).
17-
18-
You can use workload zones in multiple Azure regions. Each workload zone then has its own instance of Azure Virtual Network.
15+
An [SAP application](deployment-framework.md#sap-concepts) typically has multiple development tiers. For example, you might have development, quality assurance, and production tiers. [SAP Deployment Automation Framework](deployment-framework.md) calls these tiers [workload zones](deployment-framework.md#deployment-components). You can use workload zones in multiple Azure regions. Each workload zone then has its own instance of Azure Virtual Network.
1916

2017
The following services are provided by the SAP workload zone:
2118

@@ -24,14 +21,19 @@ The following services are provided by the SAP workload zone:
2421
- An Azure Storage account for boot diagnostics
2522
- A Storage account for cloud witnesses
2623
- An Azure NetApp Files account and capacity pools (optional)
27-
- Azure Files NFS shares (optional)
24+
- Azure Files Network File Share (NFS) shares (optional)
2825
- [Azure Monitor for SAP](integration-azure-monitor-sap.md) (optional)
2926

3027
:::image type="content" source="./media/deployment-framework/workload-zone.png" alt-text="Diagram that shows an SAP workload zone.":::
3128

32-
The workload zones are typically deployed in spokes in a hub-and-spoke architecture. They can be in their own subscriptions.
29+
The workload zones are typically deployed in spokes in a hub-and-spoke architecture. They can be in their own subscriptions. The private DNS is supported from the control plane or from a configurable source.
30+
31+
## Prerequisites
3332

34-
The private DNS is supported from the control plane or from a configurable source.
33+
- A deployed [SAP Deployment Automation Framework control plane](deploy-control-plane.md).
34+
- An Azure subscription. If you don't have one, [create a free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
35+
- An Azure account with permissions to create service principals.
36+
- The [Azure CLI](/cli/azure/install-azure-cli) is installed on your device or you have access to Cloud Shell.
3537

3638
## Core configuration
3739

@@ -61,7 +63,6 @@ app_subnet_address_prefix="10.110.32.0/19"
6163

6264
# The automation_username defines the user account used by the automation
6365
automation_username="azureadm"
64-
6566
```
6667

6768
## Prepare the workload zone deployment credentials
@@ -70,16 +71,14 @@ SAP Deployment Automation Framework uses service principals when doing the deplo
7071

7172
```azurecli-interactive
7273
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<subscriptionID>" --name="<environment>-Deployment-Account"
73-
7474
```
7575

7676
> [!IMPORTANT]
77-
> The name of the service principal must be unique.
77+
> The name of the service principal must be unique. Record the output values from the command:
7878
>
79-
> Record the output values from the command:
80-
> - appId
81-
> - password
82-
> - tenant
79+
> - appId
80+
> - password
81+
> - tenant
8382
8483
Assign the correct permissions to the service principal.
8584

@@ -105,12 +104,9 @@ You can copy the sample configuration files to start testing the deployment auto
105104
cd ~/Azure_SAP_Automated_Deployment
106105

107106
cp -R sap-automation/samples/WORKSPACES config
108-
109107
```
110108

111-
112109
```bash
113-
114110
export ARM_SUBSCRIPTION_ID="<subscriptionId>"
115111
export ARM_CLIENT_ID="<appId>"
116112
export ARM_CLIENT_SECRET="<password>"
@@ -120,25 +116,22 @@ export region_code="<region_code>"
120116
export vnet_code="SAP02"
121117
export deployer_environment="MGMT"
122118

123-
124119
export DEPLOYMENT_REPO_PATH="${HOME}/Azure_SAP_Automated_Deployment/sap-automation"
125120
export CONFIG_REPO_PATH="${HOME}/Azure_SAP_Automated_Deployment/config/WORKSPACES"
126121
export SAP_AUTOMATION_REPO_PATH="${HOME}/Azure_SAP_Automated_Deployment/sap-automation"
127122

128123
az login --service-principal -u "${ARM_CLIENT_ID}" -p="${ARM_CLIENT_SECRET}" --tenant "${ARM_TENANT_ID}"
129124

130-
131125
cd "${CONFIG_REPO_PATH}/LANDSCAPE/${env_code}-${region_code}-${vnet_code}-INFRASTRUCTURE"
132126
parameterFile="${env_code}-${region_code}-${vnet_code}-INFRASTRUCTURE.tfvars"
133127

134128
$SAP_AUTOMATION_REPO_PATH/deploy/scripts/install_workloadzone.sh \
135129
--parameterfile "${parameterFile}" \
136-
--deployer_environment "${deployer_environment}" \
130+
--deployer_environment "${deployer_environment}" \
137131
--subscription "${ARM_SUBSCRIPTION_ID}" \
138132
--spn_id "${ARM_CLIENT_ID}" \
139133
--spn_secret "${ARM_CLIENT_SECRET}" \
140134
--tenant_id "${ARM_TENANT_ID}"
141-
142135
```
143136

144137
# [Windows](#tab/windows)
@@ -161,7 +154,8 @@ Ensure that the `Deployment_Configuration_Path` variable in the `SDAF-General` v
161154

162155
The deployment uses the configuration defined in the Terraform variable file located in the `samples/WORKSPACES/LANDSCAPE/DEV-WEEU-SAP01-INFRASTRUCTURE` folder.
163156

164-
Run the pipeline by selecting the `Deploy workload zone` pipeline from the **Pipelines** section. Enter the workload zone configuration name and the deployer environment name. Use `DEV-WEEU-SAP01-INFRASTRUCTURE` as the workload zone configuration name and `MGMT` as the deployer environment name.
157+
Run the pipeline by selecting the `Deploy workload zone` pipeline from the **Pipelines** section. Enter the workload zone configuration name and the deployer environment name. Use
158+
`DEV-WEEU-SAP01-INFRASTRUCTURE` as the workload zone configuration name and `MGMT` as the deployer environment name.
165159

166160
You can track the progress in the Azure DevOps Services portal. After the deployment is finished, you can see the workload zone details on the **Extensions** tab.
167161

@@ -170,7 +164,9 @@ You can track the progress in the Azure DevOps Services portal. After the deploy
170164
> [!TIP]
171165
> If the scripts fail to run, it can sometimes help to clear the local cache files by removing the `~/.sap_deployment_automation/` and `~/.terraform.d/` directories before you run the scripts again.
172166
173-
## Next step
167+
## Related content
174168

175-
> [!div class="nextstepaction"]
176-
> [SAP system deployment with the automation framework](configure-system.md)
169+
- [Configure SAP workload zone](configure-workload-zone.md)
170+
- [Deploy SAP system infrastructure](deploy-system.md)
171+
- [Configure SAP system infrastructure](configure-system.md)
172+
- [SAP Deployment Automation Framework](deployment-framework.md)

0 commit comments

Comments
 (0)