Microsoft - AIOps: Advancing Azure service quality with artificial intelligence - Printable Version +- Sick Gaming (https://www.sickgaming.net) +-- Forum: Computers (https://www.sickgaming.net/forum-86.html) +--- Forum: Windows (https://www.sickgaming.net/forum-89.html) +--- Thread: Microsoft - AIOps: Advancing Azure service quality with artificial intelligence (/thread-95961.html) |
Microsoft - AIOps: Advancing Azure service quality with artificial intelligence - xSicKxBot - 06-29-2020 AIOps: Advancing Azure service quality with artificial intelligence <div style="margin: 5px 5% 10px 5%;"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/06/aiops-advancing-azure-service-quality-with-artificial-intelligence.png" width="237" height="240" title="" alt="" /></div><div><p>“In the era of big data, insights collected from cloud services running at the scale of Azure quickly exceed the attention span of humans. It’s critical to identify the right steps to maintain the highest possible quality of service based on the large volume of data collected. In applying this to Azure, we envision infusing AI into our cloud platform and DevOps process, becoming AIOps, to enable the Azure platform to become more self-adaptive, resilient, and efficient. AIOps will also support our engineers to take the right actions more effectively and in a timely manner to continue improving service quality and delighting our customers and partners. This post <a href="https://www.aka.ms/AdvancingReliability/1" target="_blank" rel="noopener noreferrer">continues</a> <a href="https://www.aka.ms/AdvancingReliability/2" target="_blank" rel="noopener noreferrer">our</a> <a href="https://www.aka.ms/AdvancingReliability/3" target="_blank" rel="noopener noreferrer">Advancing</a> <a href="https://www.aka.ms/AdvancingReliability/4" target="_blank" rel="noopener noreferrer">Reliability</a> <a href="https://www.aka.ms/AdvancingReliability/5" target="_blank" rel="noopener noreferrer">series</a> <a href="https://www.aka.ms/advancingreliability/6" target="_blank" rel="noopener noreferrer">highlighting</a> <a href="https://www.aka.ms/advancingreliability/7" target="_blank" rel="noopener noreferrer">initiatives</a> underway to keep improving the reliability of the Azure platform. The post that follows was written by <strong>Jian Zhang</strong>, our Program Manager overseeing these efforts, as she shares our vision for AIOps, and highlights areas of this AI infusion that are already a reality as part of our end-to-end cloud service management.”—Mark Russinovich, CTO, Azure</p> <hr> <p><em>This post includes contributions from Principal Data Scientist Manager <strong>Yingnong Dang </strong>and Partner Group Software Engineering Manager <strong>Murali Chintalapati.</strong></em></p> <p>As Mark mentioned when he launched this <a href="https://www.aka.ms/AdvancingReliability/1" target="_blank" rel="noopener noreferrer">Advancing Reliability</a> blog series, building and operating a global cloud infrastructure at the scale of Azure is a complex task with hundreds of ever-evolving service components, spanning more than 160 datacenters and across more than 60 regions. To rise to this challenge, we have created an AIOps team to collaborate broadly across Azure engineering teams and partnered with Microsoft Research to develop AI solutions to make cloud service management more efficient and more reliable than ever before. We are going to share our vision on the importance of infusing AI into our cloud platform and DevOps process. Gartner referred to something similar as AIOps (pronounced “AI Ops”) and this has become the common term that we use internally, albeit with a larger scope. Today’s post is just the start, as we intend to provide regular updates to share our adoption stories of using AI technologies to support how we build and operate Azure at scale.</p> <h2>Why AIOps?</h2> <p>There are two unique characteristics of cloud services:</p> <ul> <li>The ever-increasing scale and complexity of the cloud platform and systems</li> <li>The ever-changing needs of customers, partners, and their workloads</li> </ul> <p>To build and operate reliable cloud services during this constant state of flux, and to do so as efficiently and effectively as possible, our cloud engineers (including thousands of Azure developers, operations engineers, customer support engineers, and program managers) heavily rely on data to make decisions and take actions. Furthermore, many of these decisions and actions need to be executed automatically as an integral part of our cloud services or our DevOps processes. Streamlining the path from data to decisions to actions involves identifying patterns in the data, reasoning, and making predictions based on historical data, then recommending or even taking actions based on the insights derived from all that underlying data.</p> <p align="center"> <a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/de9e4c2c-e2f3-4683-9a03-2d2f1197a1e5.png"><img alt="Infusing AI into cloud platform and DevOps – with AI at the center of Customers, Engineering, and Services." border="0" height="240" src="https://www.sickgaming.net/blog/wp-content/uploads/2020/06/aiops-advancing-azure-service-quality-with-artificial-intelligence.png" title width="237"></a><br /><em>Figure 1. Infusing AI into cloud platform and DevOps.</em></p> <h2>The AIOps vision</h2> <p>AIOps has started to transform the cloud business by improving service quality and customer experience at scale while boosting engineers’ productivity with intelligent tools, driving continuous cost optimization, and ultimately improving the reliability, performance, and efficiency of the platform itself. When we invest in advancing AIOps and related technologies, we see this ultimately provides value in several ways:</p> <ul> <li><strong>Higher service quality and efficiency</strong>: Cloud services will have built-in capabilities of self-monitoring, self-adapting, and self-healing, all with minimal human intervention. Platform-level automation powered by such intelligence will improve service quality (including reliability, and availability, and performance), and service efficiency to deliver the best possible customer experience.</li> <li><strong>Higher DevOps productivity</strong>: With the automation power of AI and ML, engineers are released from the toil of investigating repeated issues, manually operating and supporting their services, and can instead focus on solving new problems, building new functionality, and work that more directly impacts the customer and partner experience. In practice, AIOps empowers developers and engineers with insights to avoid looking at raw data, thereby improving engineer productivity.</li> <li><strong>Higher customer satisfaction</strong>: AIOps solutions play a critical role in enabling customers to use, maintain, and troubleshoot their workloads on top of our cloud services as easily as possible. We endeavor to use AIOps to understand customer needs better, in some cases to identify potential pain points and proactively reach out as needed. Data-driven insights into customer workload behavior could flag when Microsoft or the customer needs to take action to prevent issues or apply workarounds. Ultimately, the goal is to improve satisfaction by quickly identifying, mitigating, and fixing issues.</li> </ul> <p>My colleagues Marcus Fontoura, Murali Chintalapati, and Yingnong Dang shared Microsoft’s vision, investments, and sample achievements in this space during the keynote <a href="https://cloudintelligenceworkshop.org/content/Cloud Intelligence Keynote Public.pdf" target="_blank" rel="noopener noreferrer">AI for Cloud–Toward Intelligent Cloud Platforms and AIOps</a> at the <a href="https://cloudintelligenceworkshop.org/" target="_blank" rel="noopener noreferrer">AAAI-20 Workshop on Cloud Intelligence</a> in conjunction with the <a href="https://aaai.org/Conferences/AAAI-20/" target="_blank" rel="noopener noreferrer">34th AAAI Conference on Artificial Intelligence</a>. The vision was created by a Microsoft AIOps committee across cloud service product groups including Azure, Microsoft 365, Bing, and LinkedIn, as well as Microsoft Research (MSR). In the keynote, we shared a few key areas in which AIOps can be transformative for building and operating cloud systems, as shown in the chart below.<br /> </p> <p><a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/e579236b-dc9b-42d7-83d5-df7323625129.png"><img alt="AI for Cloud: AI Ops and AI-Serving Platform showing example use cases in AI for Systems, AI for DevOps, and AI for Customers." border="0" height="449" src="https://www.sickgaming.net/blog/wp-content/uploads/2020/06/aiops-advancing-azure-service-quality-with-artificial-intelligence-1.png" title width="1024"></a></p> <p align="center"><em>Figure 2. AI for Cloud: AIOps and AI-Serving Platform.</em></p> <h2>AIOps</h2> <p>Moving beyond our vision, we wanted to start by briefly summarizing our general methodology for building AIOps solutions. A solution in this space always starts with data—measurements of systems, customers, and processes—as the key of any AIOps solution is distilling insights about system behavior, customer behaviors, and DevOps artifacts and processes. The insights could include identifying a problem that is happening now (detect), why it’s happening (diagnose), what will happen in the future (predict), and how to improve (optimize, adjust, and mitigate). Such insights should always be associated with business metrics—customer satisfaction, system quality, and DevOps productivity—and drive actions in line with prioritization determined by the business impact. The actions will also be fed back into the system and process. This feedback could be fully automated (infused into the system) or with humans in the loop (infused into the DevOps process). This overall methodology guided us to build AIOps solutions in three pillars.</p> <p align="center"><a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/d3e4a497-3dd7-4c63-825b-711aa3b68a9f.png"><img alt="AIOps methodologies: Data (Customer/System/DevOps), insights (Detect/Diagnose/Predict/Optimize), and actions (Mitigate/Avert future pain/Optimize usage config/Improve architecture & process)." border="0" height="348" src="https://www.sickgaming.net/blog/wp-content/uploads/2020/06/aiops-advancing-azure-service-quality-with-artificial-intelligence-2.png" title width="1024"></a><br /><em>Figure 3. AIOps methodologies: Data, insights, and actions.</em></p> <h2>AI for systems</h2> <p>Today, we’re introducing several AIOps solutions that are already in use and supporting Azure behind the scenes. The goal is to automate system management to reduce human intervention. As a result, this helps to reduce operational costs, improve system efficiency, and increase customer satisfaction. These solutions have already contributed significantly to the Azure platform availability improvements, especially for Azure IaaS virtual machines (VMs). AIOps solutions contributed in several ways including protecting customers’ workload from host failures through hardware failure prediction and proactive actions like live migration and <a href="https://www.aka.ms/AdvancingReliability/2" target="_blank" rel="noopener noreferrer">Project Tardigrade</a> and pre-provisioning VMs to shorten VM creation time.</p> <p>Of course, engineering improvements and ongoing system innovation also play important roles in the continuous improvement of platform reliability.</p> <ul> <li><strong>Hardware Failure Prediction</strong> is to protect cloud customers from interruptions caused by hardware failures. We shared our story of <a href="https://azure.microsoft.com/en-us/blog/improving-azure-virtual-machine-resiliency-with-predictive-ml-and-live-migration/" target="_blank" rel="noopener noreferrer">Improving Azure Virtual Machine resiliency with predictive ML and live migration</a> back in 2018. Microsoft Research and Azure have built a disk failure prediction solution for Azure Compute, triggering the live migration of customer VMs from predicted-to-fail nodes to healthy nodes. We also expanded the prediction to other types of hardware issues including memory and networking router failures. This enables us to perform predictive maintenance for better availability.</li> <li><strong>Pre-Provisioning Service </strong>in Azure brings VM deployment reliability and latency benefits by creating pre-provisioned VMs. Pre-provisioned VMs are pre-created and partially configured VMs ahead of customer requests for VMs. As we described in the IJCAI 2020 publication, As we described in the AAAI-20 keynote mentioned above, the <a href="https://www.microsoft.com/en-us/research/publication/intelligent-virtual-machine-provisioning-in-cloud-computing/" target="_blank" rel="noopener noreferrer">Pre-Provisioning Service</a> leverages a prediction engine to predict VM configurations and the number of VMs per configuration to pre-create. This prediction engine applies dynamic models that are trained based on historical and current deployment behaviors and predicts future deployments. Pre-Provisioning Service uses this prediction to create and manage VM pools per VM configuration. Pre-Provisioning Service resizes the pool of VMs by destroying or adding VMs as prescribed by the latest predictions. Once a VM matching the customer’s request is identified, the VM is assigned from the pre-created pool to the customer’s subscription.</li> </ul> <h2>AI for DevOps</h2> <p>AI can boost engineering productivity and help in shipping high-quality services with speed. Below are a few examples of AI for DevOps solutions.</p> <ul> <li><strong>Incident management</strong> is an important aspect of cloud service management—identifying and mitigating rare but inevitable platform outages. A typical incident management procedure consists of multiple stages including detection, engagement, and mitigation stages. Time spent in each stage is used as a Key Performance Indicator (KPI) to measure and drive rapid issue resolution. KPIs include time to detect (TTD), time to engage (TTE), and time to mitigate (TTM).</li> </ul> <p align="center"> <a href="https://azurecomcdn.azureedge.net/mediahandler/acomblog/media/Default/blog/41fa91dd-e655-4e4c-ac40-077d6c0786bb.png"><img alt="Incident management procedures including Time to Detect (TTD), Time to Engage (TTE), and Time to Mitigate (TTM)." border="0" height="276" src="https://www.sickgaming.net/blog/wp-content/uploads/2020/06/aiops-advancing-azure-service-quality-with-artificial-intelligence-3.png" title width="1024"></a><br /><em>Figure 4. Incident management procedures.</em></p> <p>As shared in <a href="https://www.microsoft.com/en-us/research/publication/aiops-innovations-in-incident-management-for-cloud-services/" target="_blank" rel="noopener noreferrer">AIOps Innovations in Incident Management for Cloud Services</a> at the AAAI-20 conference, we have developed AI-based solutions that enable engineers not only to detect issues early but also to identify the right team(s) to engage and therefore mitigate as quickly as possible. Tight integration into the platform enables end-to-end touchless mitigation for some scenarios, which considerably reduces customer impact and therefore improves the overall customer experience.</p> <ul> <li><strong>Anomaly Detection</strong> provides an end-to-end monitoring and anomaly detection solution for Azure IaaS. The detection solution targets a broad spectrum of anomaly patterns that includes not only generic patterns defined by thresholds, but also patterns which are typically more difficult to detect such as leaking patterns (for example, memory leaks) and emerging patterns (not a spike, but increasing with fluctuations over a longer term). Insights generated by the anomaly detection solutions are injected into the existing Azure DevOps platform and processes, for example, alerting through the telemetry platform, incident management platform, and, in some cases, triggering automated communications to impacted customers. This helps us detect issues as early as possible.</li> </ul> <p>For an example that has already made its way into a customer-facing feature, <a href="https://azure.microsoft.com/en-us/blog/announcing-azure-monitor-aiops-alerts-with-dynamic-thresholds/" target="_blank" rel="noopener noreferrer">Dynamic Threshold</a> is an ML-based anomaly detection model. It is a feature of Azure Monitor used through the Azure portal or through the ARM API. Dynamic Threshold allows users to tune their detection sensitivity, including specifying how many violation points will trigger a monitoring alert.</p> <ul> <li><strong>Safe Deployment</strong> serves as an intelligent global “watchdog” for the safe rollout of Azure infrastructure components. We built a system, code name Gandalf, that analyzes temporal and spatial correlation to capture latent issues that happened hours or even days after the rollout. This helps to identify suspicious rollouts (during a sea of ongoing rollouts), which is common for Azure scenarios, and helps prevent the issue propagating and therefore prevents impact to additional customers. We provided details on our safe deployment practices in <a href="https://www.aka.ms/AdvancingReliability/5" target="_blank" rel="noopener noreferrer">this earlier blog post</a> and went into more detail about how Gandalf works in our <a href="https://t.co/ECHPEpw3II?amp=1" target="_blank" rel="noopener noreferrer">USENIX NSDI 2020 paper</a> and <a href="https://t.co/L51eO7IE5T?amp=1" target="_blank" rel="noopener noreferrer">slide deck</a>.</li> </ul> <h2>AI for customers</h2> <p>To improve the Azure customer experience, we have been developing AI solutions to power the full lifecycle of customer management. For example, a decision support system has been developed to guide customers towards the best selection of support resources by leveraging the customer’s service selection and verbatim summary of the problem experienced. This helps shorten the time it takes to get customers and partners the right guidance and support that they need.</p> <h2>AI-serving platform</h2> <p>To achieve greater efficiencies in managing a global-scale cloud, we have been investing in building systems that support using AI to optimize cloud resource usage and therefore the customer experience. One example is <strong>Resource Central (RC)</strong>, an AI-serving platform for Azure that we described in <a href="https://cacm.acm.org/magazines/2020/2/242349-toward-ml-centric-cloud-platforms/fulltext" target="_blank" rel="noopener noreferrer">Communications of the ACM</a>. It collects telemetry from Azure containers and servers, learns from their prior behaviors, and, when requested, produces predictions of their future behaviors. We are already using RC to predict many characteristics of Azure Compute workloads accurately, including resource procurement and allocation, all of which helps to improve system performance and efficiency.</p> <h2>Looking towards the future</h2> <p>We have shared our vision of AI infusion into the Azure platform and our DevOps processes and highlighted several solutions that are already in use to improve service quality across a range of areas. Look to us to share more details of our internal AI and ML solutions for even more intelligent cloud management in the future. We’re confident that these are the right investment solutions to improve our effectiveness and efficiency as a cloud provider, including improving the reliability and performance of the Azure platform itself.</p> </div> https://www.sickgaming.net/blog/2020/06/29/aiops-advancing-azure-service-quality-with-artificial-intelligence/ |