Skip to content

Commit 095e065

Browse files
committed
Freshness
1 parent 75a010f commit 095e065

1 file changed

Lines changed: 29 additions & 31 deletions

File tree

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

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
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
16+
of Azure Virtual Network.
1917

2018
The following services are provided by the SAP workload zone:
2119

@@ -24,14 +22,19 @@ The following services are provided by the SAP workload zone:
2422
- An Azure Storage account for boot diagnostics
2523
- A Storage account for cloud witnesses
2624
- An Azure NetApp Files account and capacity pools (optional)
27-
- Azure Files NFS shares (optional)
25+
- Azure Files Network File Share (NFS) shares (optional)
2826
- [Azure Monitor for SAP](integration-azure-monitor-sap.md) (optional)
2927

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

32-
The workload zones are typically deployed in spokes in a hub-and-spoke architecture. They can be in their own subscriptions.
30+
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.
31+
32+
## Prerequisites
3333

34-
The private DNS is supported from the control plane or from a configurable source.
34+
- A deployed [SAP Deployment Automation Framework control plane](deploy-control-plane.md).
35+
- 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).
36+
- An Azure account with permissions to create service principals.
37+
- The [Azure CLI](/cli/azure/install-azure-cli) is installed on your device or you have access to Cloud Shell.
3538

3639
## Core configuration
3740

@@ -61,7 +64,6 @@ app_subnet_address_prefix="10.110.32.0/19"
6164

6265
# The automation_username defines the user account used by the automation
6366
automation_username="azureadm"
64-
6567
```
6668

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

7173
```azurecli-interactive
7274
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<subscriptionID>" --name="<environment>-Deployment-Account"
73-
7475
```
7576

7677
> [!IMPORTANT]
77-
> The name of the service principal must be unique.
78+
> The name of the service principal must be unique. Record the output values from the command:
7879
>
79-
> Record the output values from the command:
80-
> - appId
81-
> - password
82-
> - tenant
80+
> - appId
81+
> - password
82+
> - tenant
8383
8484
Assign the correct permissions to the service principal.
8585

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

107107
cp -R sap-automation/samples/WORKSPACES config
108-
109108
```
110109

111-
112110
```bash
113-
114111
export ARM_SUBSCRIPTION_ID="<subscriptionId>"
115112
export ARM_CLIENT_ID="<appId>"
116113
export ARM_CLIENT_SECRET="<password>"
@@ -120,25 +117,22 @@ export region_code="<region_code>"
120117
export vnet_code="SAP02"
121118
export deployer_environment="MGMT"
122119

123-
124120
export DEPLOYMENT_REPO_PATH="${HOME}/Azure_SAP_Automated_Deployment/sap-automation"
125121
export CONFIG_REPO_PATH="${HOME}/Azure_SAP_Automated_Deployment/config/WORKSPACES"
126122
export SAP_AUTOMATION_REPO_PATH="${HOME}/Azure_SAP_Automated_Deployment/sap-automation"
127123

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

130-
131126
cd "${CONFIG_REPO_PATH}/LANDSCAPE/${env_code}-${region_code}-${vnet_code}-INFRASTRUCTURE"
132127
parameterFile="${env_code}-${region_code}-${vnet_code}-INFRASTRUCTURE.tfvars"
133128

134129
$SAP_AUTOMATION_REPO_PATH/deploy/scripts/install_workloadzone.sh \
135130
--parameterfile "${parameterFile}" \
136-
--deployer_environment "${deployer_environment}" \
131+
--deployer_environment "${deployer_environment}" \
137132
--subscription "${ARM_SUBSCRIPTION_ID}" \
138133
--spn_id "${ARM_CLIENT_ID}" \
139134
--spn_secret "${ARM_CLIENT_SECRET}" \
140135
--tenant_id "${ARM_TENANT_ID}"
141-
142136
```
143137

144138
# [Windows](#tab/windows)
@@ -157,11 +151,13 @@ To begin, be sure to replace:
157151

158152
Open [Azure DevOps](https://dev.azure.com) and go to your Azure DevOps Services project.
159153

160-
Ensure that the `Deployment_Configuration_Path` variable in the `SDAF-General` variable group is set to the folder that contains your configuration files. For this example, you can use `samples/WORKSPACES`.
154+
Ensure that the `Deployment_Configuration_Path` variable in the `SDAF-General` variable group is set to the folder that contains your configuration files. For this example, you can use
155+
`samples/WORKSPACES`.
161156

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

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.
159+
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
160+
`DEV-WEEU-SAP01-INFRASTRUCTURE` as the workload zone configuration name and `MGMT` as the deployer environment name.
165161

166162
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.
167163

@@ -170,7 +166,9 @@ You can track the progress in the Azure DevOps Services portal. After the deploy
170166
> [!TIP]
171167
> 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.
172168
173-
## Next step
169+
## Related content
174170

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

0 commit comments

Comments
 (0)