Infrastructure as Code (IaC) with Meshery

Learn how to manage your infrastructure using Infrastructure as Code (IaC) principles with Meshery.

Meshery is a cloud native management plane that enables Infrastructure as Code (IaC) through declarative configuration management. Using Meshery Designs, users can define, import, manage, and deploy infrastructure configurations in a structured and repeatable manner.

Meshery Designs are YAML-based configurations that serve as the core construct for managing infrastructure as code. They provide a declarative approach similar to Kubernetes manifests.

  • Declarative Configuration: Define infrastructure using YAML for version control and automation
  • Schema Validation: Ensures configurations meet defined standards
  • Reusable Templates: Create infrastructure blueprints for consistent deployments

Meshery supports multiple import formats:

  • Kubernetes Manifests: Import raw YAML files
  • Helm Charts: Package management and deployment
  • Docker Compose: Containerized workloads
  • GitHub Repositories: Direct GitOps integration
  • UI: Upload files, provide URLs, or connect GitHub repositories
  • CLI: Use mesheryctl design import [URL | filepath]

Meshery integrates with GitOps workflows through GitHub connections, enabling:

  • Automated infrastructure deployments
  • Change validation
  • Pre-merge infrastructure visualization

Provides infrastructure preview capabilities in pull requests with pre-merge visualization of infrastructure changes.

  • Deploy: Automatic deployment using Meshery Adapters
  • Undeploy: Remove infrastructure via UI or CLI (mesheryctl --undeploy)
  • Configuration: Customize deployments with Design Configurator
  • Greenfield: Manage infrastructure created by Meshery
  • Brownfield: Discover and manage existing infrastructure

Meshery includes sample applications for demonstration:

  • BookInfo, Emojivoto, ImageHub, HTTPBin, Linkerd Books, Online Boutique
  • Accessible through the infrastructure management interface

Centralized event monitoring with:

  • Real-time infrastructure updates
  • Filtering by severity and status
  • Actionable alerts for critical events