Is it possible to deploy Azure VM extension for SAP solutions using Azure Policy?

Jakub Chwała 0 Reputation points
2024-08-22T09:21:43.1466667+00:00

Hi,

I would like to deploy Azure VM extension for SAP solutions at scale with Azure Policy.

I didn't found one, so I'm wondering if there is any blocker for creating such policy? Any Azure Policy limitations or any steps within SAP Extension deployment process which makes that not possible?

Thanks

Jake

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,790 questions
SAP HANA on Azure Large Instances
SAP HANA on Azure Large Instances
Microsoft branding terminology for an Azure offer to run HANA instances on SAP HANA hardware deployed in Large Instance stamps in different Azure regions.
122 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
868 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prashant Kumar 775 Reputation points Microsoft Employee
    2024-08-23T10:42:49.21+00:00

    Hi Jakub

    You can create custom policy with Deployifnotexists effect to deploy SAP extensions for VM.

    SAP extension reference: https://video2.skills-academy.com/en-us/azure/sap/workloads/vm-extension-for-sap-new. It has examples of PowerShell, CLI, Terraform.

    SAP configurations can be taken from the above link for ARM template being used in policy.

    Sample Built-in policy that can be updated with SAP extension configuration in the ARM template code: Configure Dependency agent on Azure Arc enabled Linux servers

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.