Skip to content

146 - Server Inventory

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

maml
{
  servers: [
    {
      hostname: "web-6"
      ip: "237.217.21.93"
      os: "Debian 12"
      cpu_cores: 16
      memory_gb: 64
      status: "maintenance"
    }

    {
      hostname: "api-3"
      ip: "95.21.80.34"
      os: "Ubuntu 22.04"
      cpu_cores: 8
      memory_gb: 8
      status: "stopped"
    }

    {
      hostname: "db-1"
      ip: "71.236.29.18"
      os: "Amazon Linux 2023"
      cpu_cores: 4
      memory_gb: 8
      status: "running"
    }

    {
      hostname: "queue-3"
      ip: "237.107.93.255"
      os: "Debian 12"
      cpu_cores: 8
      memory_gb: 8
      status: "maintenance"
    }

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

See Also