How to install wazuh agent on google cloud platform

921 views
Skip to first unread message

Juan Ferdinan

unread,
Jun 19, 2022, 11:23:35 PM6/19/22
to Wazuh mailing list
Hello Everyone

My wazuh manager is installed on a server using Google Cloud Platform and the server has an internal ip and an external ip. Then I tried to deploy the wazuh agent on a server on Google Cloud Platform which has an internal ip and an external ip and everything works normally, the wazuh manager can monitor security events on that server. Then a problem occurs

1. I can't deploy wazuh agent on a server that doesn't have an external ip.
2. I tried to delete the external ip on the server that was successfully monitored by wazuh manager before and now the agent server is detected as disconnected on the wazuh manager, I have tried restarting the wazuh agent but there is no change.

Please help for the problem I'm having

Thanks & Regards
Juan

David José Iglesias Lopez

unread,
Jun 20, 2022, 2:38:34 AM6/20/22
to Wazuh mailing list
Hello Juan Ferdinan,

If you are deploying in a cloud service (Google Cloud Platform), you must make sure your Wazuh manager is reachable from all of your agents.

As you said, if your server doesn't have an external IP, it is not reachable from outside its network. Just ensure you have an external IP where you can connect your agents and everything should work fine.

You can read the details about the configuration on IP addresses for GCP here https://cloud.google.com/compute/docs/ip-addresses.
Reply all
Reply to author
Forward
0 new messages