Редактиране

Споделяне чрез


Scale your Power BI Embedded capacity in the Azure portal

This article walks through how to scale a Power BI Embedded capacity in Microsoft Azure. Scaling allows you to increase or decrease the size of your capacity.

This assumes you created a Power BI Embedded capacity (A SKU). If you haven't, see Create Power BI Embedded capacity in the Azure portal to get started.

Note

This article describes the process for vertically scaling A SKUs. It doesn't talk about horizontal scaling or P SKUs.

Scale a capacity

  1. Sign into the Azure portal.

  2. Under Azure services, select Power BI Embedded to see your capacities.

    Screenshot of Azure services in Azure portal.

  3. Select the capacity you want to scale. Notice that the current scale for each capacity is listed under SKU.

    Screenshot of Power BI Embedded capacity list in Azure portal.

    When you make your selection, information about that capacity is displayed next to it. This information again includes the current scaling under SKU.

    Screenshot of essential information about capacity.

  4. Under Scale, select Change size.

    Screenshot of Change size option.

  5. Select a scale and click Resize.

    Sceenshot of new scale selection.

  6. Confirm your tier by viewing the overview tab. The current pricing tier is listed.

    Screenshot current tier information.

Autoscale your capacity

Use one of the autoscaling techniques described here to elastically resize your capacity and address its memory and CPU needs.

  • Power BI Embedded Azure Resource Manager REST APIs, for example Capacities - Update. See this runbook PowerShell script capacity scale-up sample on how to use this API call can create your own versions of upscale and down-scale scripts.

  • Use Azure alerts to track Power BI capacity metrics such as:

    • Overload - 1 if capacity's CPU surpassed 100% and is in an overloaded state. Otherwise, 0.
    • CPU utilization in percentage
    • CPU Per Workload if specific workloads are used, such as paginated reports

    When these metrics reach the value specified in the Azure Monitor Alert rules, the rule will trigger an upscale or downscale runbook script.

    For example, you can create a rule that if Overload = 1 or if CPU = 95%, then the upscale capacity runbook script will be invoked to update the capacity to a higher SKU.
    You can also create a rule that if the CPU drops below 50%, a down-scale runbook script will be invoked to update the capacity to a lower CPU.
    Use the Power BI Embedded sample script as a reference for scaling a capacity.

Considerations and limitations

Scaling capacities may involve a small amount of downtime.

More questions? Try asking the Power BI Community