Azure Functions is a serverless compute service provided by Microsoft Azure that allows you to run small pieces of code (called functions) in the cloud without having to manage the underlying infrastructure. With Azure Functions, you can execute code in response to various events, such as HTTP requests, messages from a queue, or changes in data, making it a highly scalable and event-driven platform. Azure Functions combined with PowerShell offers a powerful way to automate tasks, manage resources, and respond to events.
This capability of Azure Functions and PowerShell functions allows to automate user-driven capacity upgrades for Everpure Cloud Dedicated for Azure VMware Solution. Users can now set a capacity threshold on a per-array basis that, once reached, automatically initiates a storage expansion.
This enhancement is useful as it ensures your array autonomously expands its storage capacity before reaching full utilization, thereby mitigating the risk associated with maxing out available space.
This requirement is in place because adding capacity to an Everpure Cloud Dedicated instance will increase your monthly spend on Azure infrastructure. We understand that some customers prefer to have direct control over when and how their spending increases.
The PowerShell functions for creating and managing capacity monitoring infrastructure are now available and included in versions 1.1.322 and higher of the PureStorage.CBS.AVS module.
Deploy-PCBSCapacityMonitor command, it can fail at first time run with the error similar to Code: DeploymentFailed) - { "Code": | "BadRequest", "Message": "Encountered an error (InternalServerError) from host runtime.". The error is under investigation, to solve this issue, please re-run the same command again.If you would like to remove the above automation, use the below 2 functions:
-
Remove-PCBSCapacityMonitorArray: removes a Everpure Cloud Dedicated instance from the capacity monitoring system. -
Remove-PCBSCapacityMonitor: dismantles the resource group with all of its components dedicated to capacity monitoring