Install dependencies

You can run the Wazuh module for AWS on a Wazuh agent installed on a Linux endpoint. To run the module on the Wazuh manager host, install a Wazuh agent on that host.

Install the following dependencies on the Linux endpoint where the Wazuh agent runs.

Python

The Wazuh module for AWS is compatible with Python 3.8–3.14. Later Python versions might also work, but we can't guarantee they're compatible. If you do not have Python 3 already installed, run the following command on the Wazuh agent endpoint.

# yum update && yum install python3

You can install the required modules with pip, the Python package manager. Most UNIX distributions have this tool available in their software repositories. If pip isn't installed, run the following command on the Wazuh agent endpoint to install it.

# yum update && yum install python3-pip

We recommend using pip 19.3 or later to simplify the installation of the dependencies. Run this command to check your pip version.

$ pip3 --version

An example output is as follows.

pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)

If your pip version is earlier than 19.3, run the following command to upgrade the version.

# pip3 install --upgrade pip

AWS client library for Python

Boto3 is the official package supported by Amazon to manage AWS resources. It is used to download log messages from the different AWS services supported by Wazuh. The Wazuh module for AWS is tested with boto3 version 1.34.135, the version used in the commands below. Later boto3 releases are likely to stay compatible, but we can't guarantee it.

Run the following command on the Wazuh agent endpoint to install the dependencies:

# pip3 install boto3==1.34.135 pyarrow==14.0.1 numpy==1.26.0