Infrahub + Kriten: Making Cross-Team Automation Simple and Secure
See how the Infrahub + Kriten integration gives you a secure automation pipeline, from data and config generation to execution.
See how the Infrahub + Kriten integration gives you a secure automation pipeline, from data and config generation to execution.
Learn how to choose infrastructure automation tools that build trust, foster adoption, and strengthen your automation stack.
Master GraphQL fragments and variables to write cleaner, dynamic queries. Includes hands-on examples and Postman walkthroughs.
Learn GraphQL basics—how to run queries, use mutations, and compare GraphQL vs REST—in this introduction designed for infrastructure engineers.
Infrastructure automation is only as effective as the data it’s built on. To achieve truly scalable, reliable, and testable automation, you need a robust data model of your deployed infrastructure. Infrahub is transforming infrastructure management by enabling you to model everything in your environment—not just network devices, but any technology you rely on, from on-prem to cloud and everything in between.
A solid data model is the foundation of any automation system. It ensures that automation systems understand the relationships between different components, their constraints, and how they interact. This involves:
Without the foundation of a complete data model, teams are forced to rely on fragile workarounds, such as cramming JSON payloads into custom fields. These hacks might work in the short term but lead to long-term problems, including:
Infrahub avoids these pitfalls by letting you model your infrastructure with schemas that are purpose-built for your needs, including all the device types for your environment, as well as the data attributes needed to sustain long-term automation viability..
Take InfiniBand, for example—a technology critical to NVIDIA GPU datacenters for backend networking. While most automation platforms focus solely on Ethernet networking, InfiniBand is often left out of the equation. Yet it’s just as essential for modern, high-performance computing environments.
Infrahub fills this gap. Our schema library, available on GitHub, includes examples for technologies like InfiniBand alongside traditional Ethernet networking devices. For teams managing hybrid networking environments, this means a single solution for modeling, validating, and automating all their networking devices.
Cloud automation has historically outpaced automation for on-premises infrastructure. However, these domains aren’t independent—an office network still needs to connect employees to cloud apps, and both domains require consistent configuration and management.
Infrahub enables your teams to manage these domains together by:
For instance, Infrahub’s Azure schema captures the unique features of Azure, while still fitting into a broader, unified model. This flexibility means you can standardize your workflows while addressing the specific quirks of each provider.
With Infrahub, you don’t have to choose between flexibility and standardization. Its schema-driven approach lets you:
The result? Automation that’s not only more powerful but also easier to test, scale, and maintain.
As network infrastructures become increasingly API-driven, GraphQL has emerged as a powerful tool for querying and managing infrastructure data. If you’re a network engineer hearing more about GraphQL but not quite sure what it is—or why you should care—this article is for you.
Historically, managing networks meant learning vendor-specific command lines and using SNMP to poll status. But modern network environments—especially those involving cloud, SD-WAN, or intent-based networking—require something different. Infrastructure platforms now expose data through APIs, making automation and integration possible at scale.
GraphQL is a query language and runtime for APIs, originally developed at Facebook. At its core, it allows clients to define the structure of the data they need, and the server returns exactly that—nothing more, nothing less.
Instead of accessing multiple endpoints for different resources (as you would with REST), GraphQL uses a single endpoint and a flexible schema that defines all the types of data available. This approach is particularly useful when working with structured, interconnected data—like devices, interfaces, or policies in a network.
GraphQL wasn’t born out of a desire to replace REST—it was created to solve its pain points. At Facebook, engineers struggled with REST’s rigid, repetitive nature when trying to build dynamic, personalized news feeds. The same challenges apply to modern network platforms where you’re dealing with large-scale, diverse datasets that don’t always fit neatly into REST’s model.
Here’s where REST tends to fall short:
For network engineers, this means fewer API calls, cleaner scripts, and more reliable integrations. You spend less time parsing responses and more time building things that work.
GraphQL excels in dealing with complex data structures, diverse data sources, or highly specific client requests.
In these cases, REST APIs often fall short, requiring multiple calls or post-processing logic to piece everything together.
GraphQL, on the other hand, gives you a way to ask for exactly what you need in a single, efficient query—making it a natural fit for modern infrastructure and automation tasks.
Here are some use cases where GraphQL’s strengths really come through:
For network engineers managing dynamic infrastructure or automating across systems, GraphQL isn’t just convenient—it’s a more natural way to work with structured data.
GraphQL isn’t meant to replace REST everywhere—but for many infrastructure use cases, it’s simply more efficient and expressive. It lets you ask clear questions and get clean answers, which is invaluable when working with large datasets or trying to automate complex tasks. And that’s exactly why Infrahub uses GraphQL as its query engine and primary interface.
You don’t need to be a full-time developer to use GraphQL effectively. If you’ve written Python scripts or worked with REST APIs, you’re more than halfway there.
If you’re interested in the “how” behind GraphQL—writing queries, applying filters, and making mutations— check out GraphQL Basics for Network Engineers: A Practical Introduction. It walks through real code examples, helping you take the next step from concept to execution.