Automate Everything!
- steve291030
- Jan 5
- 1 min read
Organisations use a diverse set of vendors and providers to support their IT services. It can be difficult to automate such a varied environment in a consistent way. Compliance and standards are often incompatible with innovation and agility.
We have a recommended and proven architecture to provide a coherent framework for infrastructure automation independent of the specific vendor choices.
Model the Infrastructure
Companies have managed with a combination of proprietary and in-house solutions to record the data that describes their infrastructure. Infrahub has a flexible schema, meaning you can define the fields you need, and the relationships. In addition to basic resources such as IP addresses, switches, servers and firewalls, you can add business unit and environment details for example, and define applications and services. For more info on infrahub: https://opsmill.com/blog/introducing-infrahub-beta/
Build your code library
You need a collection of scripts, playbooks, code to interact with the infrastructure; either vendor supplied of custom written. They will need to be modified to pull inventory information from Infrahub, which has a graphql interface to make the process simpler (one gql call instead of many API calls).
Run your code with Kriten
Kriten is an open source execution platform. It runs any code and supports Infrahub webhooks. https://kriten.io

The flexible source of truth and execution platform adds structure to your automation projects without limiting the choice of tooling. See Manage Arista fabrics with Infrahub, Kriten and CVaaS for a specific example.
