Skip to content

2447 - Server Inventory

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

maml
{
  servers: [
    {
      hostname: "db-3"
      ip: "24.247.167.161"
      os: "Amazon Linux 2023"
      cpu_cores: 2
      memory_gb: 4
      status: "stopped"
    }

    {
      hostname: "db-1"
      ip: "51.26.145.102"
      os: "Amazon Linux 2023"
      cpu_cores: 2
      memory_gb: 16
      status: "stopped"
    }

    {
      hostname: "api-1"
      ip: "208.122.173.230"
      os: "Debian 12"
      cpu_cores: 4
      memory_gb: 8
      status: "running"
    }

    {
      hostname: "db-2"
      ip: "30.49.110.233"
      os: "Debian 12"
      cpu_cores: 8
      memory_gb: 4
      status: "running"
    }

    {
      hostname: "db-9"
      ip: "202.58.67.60"
      os: "Ubuntu 22.04"
      cpu_cores: 4
      memory_gb: 8
      status: "stopped"
    }

    {
      hostname: "api-3"
      ip: "18.82.255.217"
      os: "Ubuntu 22.04"
      cpu_cores: 4
      memory_gb: 32
      status: "running"
    }
  ]
}

See Also