Skip to main content

Labs

Learn Infrahub by doing real work in a live environment. Pick a track to follow a guided sequence, or jump into a single lab on the topic you need.

Every lab runs in your browser on Instruqt with Infrahub already provisioned. Nothing to install.

All 13 labs

Infrahub: Fundamentals to Expert​

Join the network automation team at OtterNet and take a site from an empty Infrahub instance to a fully automated deployment. Five labs on one shared dataset, each building on the last.

5 labsabout 5 h
Start track
1

Orientation

Load a base schema, seed the OtterNet topology, and explore the data with GraphQL, infrahubctl and the Python SDK.

1 hBeginner
Start lab
2

Schema Modeling

Design a site-design hierarchy, add custom generics and nodes, and extend existing node types with new attributes and relationships.

1 hBeginner
Start lab
3

Enforcement and Validation

See how schema constraints, branch isolation, proposed changes, Python checks and profiles keep data quality high.

1 hIntermediate
Start lab
4

Design-Driven Generator

Write and run a Generator that provisions the Munich site, allocating devices, ASNs and management IPs from the source of truth.

1 hIntermediate
Start lab
5

Transforms and Config Rendering

Render a deployable router configuration from a Jinja2 Transform, pulling every value from the source of truth.

1 hIntermediate
Start lab

Standalone Infrahub labs​

Self-contained labs on a single topic. Take them in any order, or use one to go deeper on something the track introduced.

First Tour of Infrahub

A guided overview of branching, the flexible schema and unified storage, to see what Infrahub does and whether it fits your needs.

Prerequisites: No prior experience with Infrahub required.

1 hBeginner
Start lab

Schema Deep Dive

Consume the schema library, create your own schema, and safely extend one that is already in use.

Prerequisites: Complete First Tour of Infrahub first.

2 hIntermediate
Start lab

Deploy Your First Configuration

Build a GraphQL query and a Jinja2 template, connect a Git repository, and generate a real device configuration as an artifact.

Prerequisites: Basic experience with Infrahub, Ansible, Jinja and GraphQL.

1 hIntermediate
Start lab

AutoCon3 Workshop: Modeling Infrastructure Data​

The two labs behind the OpsMill workshop at AutoCon3 in May 2025. Start with schema languages and databases in general, then apply the ideas to a network model in Infrahub.

2 labsabout 2 h 30 min
Start track
1

Schema Languages and Databases in Practice

Compare JSON Schema, GraphQL and Pydantic, then see how the same data lives in SQLite and Neo4j.

1 h 30 minIntermediate
Start lab
2

Network Infrastructure Modeling with Infrahub

Model a network in Infrahub using a strict combination of role, status and kind, and weigh the benefits and costs of that approach.

1 hIntermediate
Start lab

Community and partner labs​

Labs built by partners and community members that use Infrahub alongside their own tools. OpsMill hosts them on Instruqt but does not author or support the content, so questions about a lab go to its owner.

IBM

Low-Code Network Orchestration with IBM

Build low-code workflows with IBM Rapid Infrastructure Automation that open a branch and change request in Infrahub, approve it, and deploy to Arista routers.

Prerequisites: Familiarity with network automation concepts. No IBM product experience required.

1 h 30 minIntermediate
Start lab
Urs Baumann and Steinn Bjarnarson

Network Testing with NUTS

Use Infrahub as the source for Network Unit Testing System tests, run them against a containerlab network, and visualise results in Grafana.

Prerequisites: Basic Infrahub knowledge. Familiarity with containerlab and Prometheus helps.

1 hIntermediate
Start lab

Modern Network Observability

Spend a day on call inside a full observability stack: learn PromQL and LogQL, find a broken BGP peer, build a dashboard and alert, and run an incident end to end.

Prerequisites: Comfortable on a Linux shell. No prior Prometheus, Loki or Grafana experience required.

3 hAdvanced
Start lab