Install the Ambari agents manually on Amazon Linux 2
Install an Ambari agent on each host in your cluster.
Install an Ambari agent on each host in your cluster.
yum install ambari-agent
vi /etc/ambari-agent/conf/ambari-agent.ini
[server]
hostname=<your.ambari.server.hostname>
url_port=8440
secured_url_port=8441
ambari-agent start