Skip to content

858 - Server Inventory

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

maml
{
  servers: [
    {
      hostname: "db-2"
      ip: "54.1.171.58"
      os: "Ubuntu 22.04"
      cpu_cores: 8
      memory_gb: 4
      status: "stopped"
    }

    {
      hostname: "web-6"
      ip: "9.192.99.9"
      os: "Amazon Linux 2023"
      cpu_cores: 2
      memory_gb: 8
      status: "running"
    }

    {
      hostname: "web-4"
      ip: "205.222.219.3"
      os: "Ubuntu 22.04"
      cpu_cores: 2
      memory_gb: 32
      status: "stopped"
    }

    {
      hostname: "api-1"
      ip: "69.189.83.196"
      os: "Amazon Linux 2023"
      cpu_cores: 8
      memory_gb: 8
      status: "running"
    }
  ]
}

See Also