Amazon EC2 System Monitor for macOS is the on instance agent
...The Amazon EC2 System Monitor for macOS uses multiple goroutines to manage two primary mechanisms. The serial relay takes data from a UNIX domain socket and writes the data in a payload via a basic wire protocol. Runs a ticker that reads CPU utilization and sends the CPU usage percentage to the UNIX domain socket.