November 22, 2023
by Nick Chase / November 22, 2023
Applications and infrastructure keep advancing at a pace that we humans struggle to match. No wonder AIOps is on the rise.
Navigating new technologies like AIOps can feel overwhelming. It is crucial to fully understand AIOps' capabilities to decide whether it could benefit your business.
Don't worry – we’ve been where you are, and we can help!
You'll get a good feeling from this article about what AIOps is, how it works, and why you should consider implementing it. Our guidance also covers best practices for overseeing procurement or implementation, so you can feel empowered through the process.
Applications are intricate. But the infrastructure needed to run those applications is also complicated – much more complicated than it was even 10 years ago.
Part of that comes from using cloud computing as a way to offer more resources with better flexibility for both users and developers. Cloud computing makes it possible to access what’s needed on demand, usually self-serve.
The good thing about this is if your developers need more resources, they can get them quickly. The bad thing is that your developers may spray your applications all over the internet, using a combination of public and private clouds. You may not even know where all of your applications are hosted.
This phenomenon is called shadow IT, and even if you manage to bring the problem to light and regain control of your applications, that doesn't mean you’ve solved your issues.
You still have to deal with potential outages and security breaches.
According to Statista, there were 1,802 security breaches in 2022. And that's just in the United States – the entire government of Costa Rica was taken down for weeks by a ransomware gang!
When whole governments are being disrupted, you know that things have gotten to the point where the technology has grown too complex for it to be effectively managed by humans.
It’s as a result of the complexity that AIOps was developed.
AIOps, or artificial intelligence (AI) for IT, augments what humans can do by using AI and machine learning (ML) to observe what happens within an infrastructure. It analyzes data and observes patterns to discover when something is amiss.
For example, an AIOps system may recognize outliers in access patterns and determine that they don't match normal activity. Depending on how the system has been configured, it may shut down access or contact a human for a second look to decide if an attack or other security issue is occurring.
You can also construct your AIOps system for less urgent situations. You and your team can decide what the AIOps system handles on its own and what requires a human for more sensitive or less clear-cut circumstances.
An AIOps system might notice that response times from a particular piece of hardware indicate that it’s getting ready to fail. Operators can then replace the part before a breakdown, maintaining convenience and saving data.
Or the system could notice a pattern of activity consistent with past events that led to increased resource usage. If humans allow it, the system can increase the available resources before they're needed, eliminating latency and waiting time.
So is any of this pertinent to you and your team?
In an ideal world, AIOps can be helpful for several different use cases, including:
AIOps can watch out for anomalies within the flood of data that comes from your applications and infrastructure.
The anomalies may indicate looming errors or be a warning about an attempted or successful security breach. In either case, an operator needs to know about their presence.
If your teams understand an anomaly well enough, they can program an AIOps system to take action against them, such as moving workloads to a new host before the original fails so users don’t experience any downtime.
AIOps can analyze generated logs to determine the most probable cause if something goes wrong, reducing the mean time to resolution (MTTR).
Once an issue is brought to light and you’ve determined the root cause, you can design an AIOps system to take action to remediate the issue.
As part of your integrated system, you can rely on AIOps to monitor the performance of various components and figure out where you can make improvements.
AIOps can look at the relationship between events and recognize incidents from disparate sources or help determine the information you need to resolve a problem.
AIOps tracks what’s currently happening within a system to forecast what’s likely to happen in the future.
For example, a certain pattern of events may indicate that you need to increase capacity in the near future (also known as "capacity prediction") or that you need an entirely new type of resource.
Cohort analysis evaluates a group’s needs, either based on time or behavior, allowing you to offer your base more effective products and services.
Perhaps the most common usage of AIOps is intelligent alerting, which filters through all the events that admins and operators face so crucial information isn’t lost.
These use cases are often concerned with refining vast amounts of data and shaping everything into something useful. They're not just about making your IT operations run smoother – they make your business run better.
Of course, traditional IT operations are also about making your business run better, so let's look at the difference between the two.
In 2020, almost half of DevOps respondents claimed to be using AIOps in their day-to-day work.
However, it's also likely that some non-trivial portion of those people think they're using AIOps when they're really not. Let's look at the difference between traditional Ops and AIOps.
Traditionally, IT teams have had a lot on their plate.
They're not just responsible for providing resources and support for users. They’re also responsible for ensuring that the systems stay up and that if something goes wrong, it’s fixed as quickly as possible with minimum disruption for users.
Depending on the infrastructure, you might skip some steps.
For example, if you have an infrastructure as a service (IaaS), users can simply provision their own resources. In addition, there is no shortage of companies that will automate as much of your workflow as possible. But in the end, you're still manually watching performance monitors and weeding through events coming from your system.
That's the main problem here. You may be receiving alerts from your storage, your networks, your compute resources, your applications, and even external APIs, but that’s so much information that it’s almost worse than no information at all.
Automation helps, but automating parts of this workflow doesn't mean that you have AIOps in play, even if part of that automation uses AI to do things.
AIOps isn’t designed to replace operators but to help them do their job more efficiently. A typical workflow would be:
Typically, you employ AIOps because you have way too much data for a human to keep up with. The first step is for the AIOps system to sift through what might be gigabytes or even terabytes of data and determine which events are actually significant.
During this step, the AIOps system analyzes the insignificant data from the previous step to see if there are any patterns or anomalies to address. This step correlates events between different systems.
For example, a burst of activity on a particular compute resource might be correlated with network congestion a short time later.
Once the AIOps system detects a pattern, it attempts to discover what it means. Is there a system failure on the horizon? Is something already failing? If so, why?
AIOps systems are not yet typically empowered to act on their own. The next step is for the AIOps system to pass along its findings to the human operators that control the overall infrastructure.
Once a human has reviewed the situation, the system can remediate any issues that have been detected.
If you're an operator, your goal is to pare down the amount of data you currently handle to exclusively relevant information.
For many people, the moment you mention AI, they assume that it's something beyond them, perhaps akin to magic. But when you come right down to it, AI – and particularly AIOps – isn't that complicated.
All it really does is analyze existing data and suggest or implement decisions.
Still, it's important to understand how these systems work. In general, there are two different types of AIOps systems. The first is based on deterministic AI, formerly called expert systems. The second group is based on ML.
Let's take a brief look at what each of these terms means so you have a good idea of what's happening.
Deterministic AI systems are based on what has been known as expert systems. Essentially, they encode the knowledge of experts into computer systems. A simple example might be a rule that says, "if the drive gets to 75% capacity, notify the administrator that it’s filling up."
But an expert who's been running this system for 10 years might know that the drives are going to fill up more quickly during the holiday season or that unless there’s a leap in network activity, the storage situation is fine until the drive is at 90% capacity.
The systems are also known as rules engines or inference engines, and they can be populated through outside sources or in-house experts. Typically, they’re set up to become more accurate by learning from decisions that we make.
Deterministic AI systems are ready out of the box, so they don't require huge amounts of training and historical data. Teams can easily adapt them to changing situations.
But they’re literally only as good as the knowledge they have. If an unfamiliar situation arises, your AIOps system may not catch it, or if it does, it may not have any idea or how to deal with the new scenario.
It's important to understand the three components of a ML system. Whereas inference engines take knowledge directly from people, correlation-based AI, or ML, uses an algorithm and learns from the data.
The algorithm is a set of instructions that explains how to use the data to find the answer. For example, the algorithm for putting on your shoes might be:
For determining the answer to a ML question, the algorithm might be something more along the lines of:
The model is a representation of what you've discovered after you’ve trained the algorithm on the data. You may have found that the closest representation you have to a set of points is the formula:
y = 3x + 4
Source: Mirantis
The model is useful because you can then use it to predict other points that you may not have in the actual data. Suppose the data doesn't show us how many bales of hay you need to feed nine goats for a week. But the model says that for nine goats, you'd need 31 (3*9 + 4) bales.
Of course, none of this means anything without the data. In order to determine the model, you must have training data the system can use as an example.
Let’s continue by touching on the three types of ML: supervised, unsupervised, and reinforcement.
Supervised learning is much like the example above, in that you give the machine a set of data, you determine a model, and then use that model to determine which actions to take, or predict new information if the model doesn’t have relevant data.
Some examples of supervised learning include speech recognition, spam detection, or the ultimate autocomplete, ChatGPT.
Unsupervised learning and supervised learning have different goals and methods. While supervised learning requires you to train the model ahead of time, the algorithm in unsupervised learning figures out patterns from the data as it stands.
You might use unsupervised learning to find clusters of events or anomalies in the data. Some other examples of unsupervised learning include customer segmentation, recommender systems, or web usage mining.
Reinforcement learning doesn't need training data. Instead, it works by means of rewards.
For example, a robot designed to navigate a maze quickly learns to stay away from walls because moving to a blank space gives it a positive reward, and moving to an obstacle space gives it a negative return.
That's not to say that a reinforcement learning routine might not start out with some initial training. A recommender system for a streaming service might take into account the items you have on your watchlist to decide what to show you. After you decide, those choices reinforce recommendations.
Another place reinforcement learning comes into play is social media algorithms.
You begin with a generic selection, but every time you watch a video or click a link, you give the algorithm information to refine the model. That's why the more you click on a particular topic, the more you're going to see information on that topic.
No matter how you use AIOps, it's dependent on data. That data can come from a variety of sources, including:
Unfortunately, data isn't always clean and friendly. Sometimes it's corrupted, incomplete, or missing entirely. What you do about it depends on the problem.
If you're simply missing data because you've just started your AIOps system, all you can really do is wait and collect historical data as you go. That said, there are SaaS systems that solve that problem by providing you with access to anonymized data from other systems to give you a running start.
Sometimes, the problem is that you have data, but it's not complete.
For instance, you might have a form in which "age" is an optional field, and many of your users have opted to leave it out. You might also run into this issue if parts of your system go down and that specific data gets corrupted or goes missing. To solve this problem, you can use statistical analysis of the other data to determine the most likely values and insert them into yours.
Also, although it's well beyond the scope of this article to cover everything you need to know about structuring your data, beware of the curse of dimensionality – the more parameters you decide to analyze, the more unwieldy and unreliable your system becomes.
Now you know what AIOps is and why you want it, so let’s talk about setting things up.
With or without a vendor, the process has the same basic steps.
In all likelihood, you're not going to want to do this on your own. It's a specialized skill.
The first and most obvious problem is the lack of available talent.
No doubt – the current hype about AI and ML will turn out a crop of data scientists and engineers -- in a few years. But you need people now!
Learning how to do AI/ML isn't rocket science, but many people who are already working in IT are either too intimidated or simply too busy to add it to their skill set. Besides, in all but the most rudimentary systems, you're going to need some people with a deep background and understanding of these concepts.
Once you've overcome that problem, you have to consider data quality and accessibility. For many companies, their data lakes are unorganized, and trying to figure out how to use them is a job in and of itself. The better shape your data is in, the further down the AIOps pipeline you can get, but when you start, you're probably not going to be in a very good position.
Next, verify that your tools are integrated with the system. Your historical data has to be available, and your current systems must be able to emit data in a form that the AIOps can access. If your goal is automated remediation, your systems should have the power to take commands from the AIOps system.
Unless you've worked with ML a lot, the final challenge isn’t that obvious: explainability. The reality is that in many, or even most cases, we simply have no idea why a system made the decision it did.
We understand the steps that it's supposed to take, but the neural networks and other stages are so complicated that we don't have any way of understanding why the system does what it does. This lack of explainable AI is troublesome from a philosophical standpoint and also because it makes improving procedures more difficult.
Given all of these challenges, choosing to work with an AIOps vendor makes sense.
There's a lot of stuff there you're probably not prepared to do yourself so it's good to know what to look for in a vendor should you decide to go in that direction.
Make sure that you consider the following:
Because the lifeblood of an AIOps system is data, the first thing to think about is whether the vendor has the ability to securely ingest all of the data you need it to. If not, are they willing and able to add those capabilities to their solution?
Collecting data isn't enough; vendors need to be able to process it intelligently. Do they have the AI/ML capabilities necessary, or are they just riding the AIOps hype wave?
The most useful AIOps systems integrate with existing security systems and other software in order to gather intelligence and perform remediation, along with sending appropriate alerts to the humans involved.
AIOps systems ingest a lot of data. Are you sure it's safe from outside malicious actors? What about those on the inside? What kind of measures do potential vendors have in place to prevent issues?
Is your vendor prepared to scale? Do they have measures in place to prevent reliability issues?
Different products concentrate on different capabilities. For example, some focus on aggregating events across different systems, whereas others focus on reducing alert volume. Make sure that the product you choose matches your goals.
All of that is a lot of information, and it probably feels like AIOps isn't quite done cooking yet. And in some respects, that's true!
It's still finding its footing, and until it's included in easily consumable products, it's going to feel a little like a science project.
But AIOps isn't the first technology where this has been the case. Well-established technologies like OpenStack and Kubernetes started out the same way, with Herculean efforts needed to deploy a cluster that was only a skeleton of what you actually needed and was likely to fall over at any moment.
Now, you can get software that lets you create fully functional, enterprise-grade clusters at the push of a button.
Given how fast things are moving, there's really no way to know for sure what lies on the AIOps horizon. We do have some pretty safe bets, though.
The first priorities are the challenges cited above, such as educating or hiring knowledgeable staff to build and maintain AIOps and creating better integration between the old and new systems.
The problem of explainable AI has also been there for a while and is perhaps a longer-term issue, but as AI insinuates itself into more and more aspects of society affecting people's lives, it will become more important to solve.
From there, look for AIOps to be integrated into DevOps and DevOps as a service workflow, as it moves to improve experiences up the stack.
Finally, we'll see more innovative uses of AIOps, like more complex optimizations, greater integration with other tools, and the ability to work properly without human intervention.
Most of all, there are things we haven't even imagined yet, which is probably the best reason to start the process now.
G2 senior research analyst Tian Lin predicts the future of AIOps. Learn how generative AI can boost AIOps adoption.
Nick Chase is Director of Technical Marketing at Mirantis. He is a former software developer and author or co-author of more than a dozen books on various programming topics, including the OpenStack Architecture Guide, Machine Learning for Mere Mortals, and Python for Mere Mortals.
When it comes to marketing, personalization is everything.
If you’ve ever met someone who’s a true superfan of something like Star Wars or the Grateful...
Commerce requires people to communicate with each other. A contact center keeps everybody...
When it comes to marketing, personalization is everything.
Commerce requires people to communicate with each other. A contact center keeps everybody...