Skip to content

041 - Server Inventory

Infrastructure server inventory. This is an example of a MAML document.

maml
{
  servers: [
    {
      hostname: "db-2"
      ip: "1.3.193.189"
      os: "Alpine 3.19"
      cpu_cores: 2
      memory_gb: 4
      status: "maintenance"
    }

    {
      hostname: "web-3"
      ip: "79.149.206.155"
      os: "Debian 12"
      cpu_cores: 4
      memory_gb: 32
      status: "stopped"
    }

    {
      hostname: "api-7"
      ip: "15.96.145.142"
      os: "Amazon Linux 2023"
      cpu_cores: 16
      memory_gb: 32
      status: "running"
    }

    {
      hostname: "worker-8"
      ip: "234.6.111.123"
      os: "Ubuntu 22.04"
      cpu_cores: 8
      memory_gb: 16
      status: "stopped"
    }

    {
      hostname: "api-6"
      ip: "14.59.127.57"
      os: "Amazon Linux 2023"
      cpu_cores: 4
      memory_gb: 16
      status: "stopped"
    }
  ]
}

See Also