Function Offloading
Deploying multiple function apps to increase performance
This is an advanced configuration of CIPP currently in beta. Please proceed with caution.
Hosted CIPP users can request this deployment via the helpdesk. Once deployed, proceed to the "Enabling Function Offloading" section of this page.
Deploying Additional CIPP Function Apps to a Resource Group Using an ARM Template
This guide explains how to deploy additional function apps for CyberDrain Improved Partner Portal (CIPP) to an existing resource group using the provided ARM template.
Prerequisites
Before starting, ensure you have the following:
An existing deployment of CIPP in your Azure portal.
Access to an Azure subscription with an existing resource group.
Understanding of Azure function app deployments.
ARM Template Overview
Parameters Used
backendFuncType: The type of function app to deploy. Valid values are
proc
,auditlog
,standards
, andusertasks
. For the first offloading function, you should always deploy theproc
type. You can deploy additional function apps for specific workloads beyond that.
ARM Template for Offloading
Deploying the ARM Template
You can deploy the ARM template to your Azure resource group using the Azure Portal, Azure CLI or PowerShell.
Deploying a Custom ARM Template via Azure Portal
To deploy a custom ARM template using the Azure Portal, follow these steps:
Navigate to the Azure Portal: Go to https://portal.azure.com and sign in with your credentials.
Deploy: In the search bar at the top of the portal, type "Deploy a custom template" and select the result that appears.
Template Options:
On the Custom deployment page, click the Build your own template in the editor option.
Paste the ARM Template:
Delete any default content in the editor, then paste your ARM template.
Once the template is pasted, click Save.
Configure Parameters:
Select the backend function type.
Click Review + Create.
Deploy:
Review the deployment settings and parameters.
Ensure there are no template validation failures.
Click Create to initiate the deployment process.
Once the deployment starts, you can monitor its progress through the Notifications section in the Azure Portal.
Deploying with Azure CLI
Use the following command to deploy the template using the Azure CLI:
Replace <your-resource-group>
, <path-to-FunctionZipDeployArm.json>
and <type>
with the appropriate values. The <type>
should be one of proc
, auditlog
, standards
, or usertasks
.
Deploying with PowerShell
Alternatively, you can deploy the template using PowerShell with the following command:
Enabling Function Offloading
After successful deployment of the offloading function apps, follow these steps to enable Function Offloading in CIPP.
Navigate to CIPP > Application Settings > SuperAdmin
Under Function Offloading, toggle the Offload Functions button and hit Save.
Last updated