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
The script installs Terraform and Ansible and configures the deployer.
@@ -287,7 +290,15 @@ The script installs Terraform and Ansible and configures the deployer.
287
290
The control plane is the most critical part of the SAP automation framework. It's important to secure the control plane. The following steps help you secure the control plane.
288
291
If you have created your control plane using an external virtual machine or by using the cloud shell, you should secure the control plane by implementing private endpoints for the storage accounts and key vaults.
289
292
290
-
Log on to the deployer virtual machine and copy the control plane configuration `tfvars` terraform files to the deployer. Ensure that the files are located in the `~/Azure_SAP_Automated_Deployment/WORKSPACES` DEPLOYER and LIBRARY folders.
293
+
You can use the `sync_deployer.sh` script to copy the control plane configuration files to the deployer VM. Sign in to the deployer VM and run the following commands:
Ensure that the `use_private_endpoint` variable is set to `true` in the `DEPLOYER` and `LIBRARY` configuration files. Also ensure that `public_network_access_enabled` is set to `false` in the `DEPLOYER` configuration files.
1. Create the deployer and the SAP library. Add the service principal details to the deployment key vault.
327
+
If you are running the script from a workstation that is not part of the deployment network or from the Azure Cloud Shell, you can use the following command to set the environment variable for allowing connectivity from your IP address:
328
+
329
+
```bash
330
+
export TF_VAR_Agent_IP=<your-public-ip-address>
331
+
```
332
+
333
+
334
+
1. Create the deployer and the SAP library and add the service principal details to the deployment key vault using this script.
@@ -439,7 +444,9 @@ To connect to your deployer VM:
439
444
1. Connect to the deployer VM through any SSH client, such as Visual Studio Code. Use the public IP address you noted earlier and the SSH key you downloaded. For instructions on how to connect to the deployer by using Visual Studio Code, see [Connect to the deployer by using Visual Studio Code](tools-configuration.md#configure-visual-studio-code). If you're using PuTTY, convert the SSH key file first by using PuTTYGen.
440
445
441
446
> [!NOTE]
442
-
>The default username is *azureadm*.
447
+
>The default username is *azureadm*.
448
+
>
449
+
> Ensure that the file you use to save the ssh key can save the file using the correct format, i.e without Carrage Return (CR) characters. Use Visual Studio Code or Notepad++.
443
450
444
451
After you're connected to the deployer VM, you can download the SAP software by using the Bill of Materials (BOM).
445
452
@@ -476,6 +483,8 @@ The rest of the tasks must be executed on the deployer.
476
483
477
484
The control plane is the most critical part of the SAP automation framework. It's important to secure the control plane. The following steps help you secure the control plane.
478
485
486
+
You should update the control plane tfvars file to enable private endpoints and to block public access to the storage accounts and key vaults.
487
+
479
488
To copy the control plane configuration files to the deployer VM, you can use the `sync_deployer.sh` script. Sign in to the deployer VM and run the following commands:
0 commit comments