Amazon Linux

Install on Amazon Linux

Calyptia Fluent Bit is distributed as calyptia-fluent-bit package and is available for the latest Amazon Linux 2 and Amazon Linux 2023. The following architectures are supported

  • x86_64

  • aarch64 / arm64v8

Single line install

A simple installation script is provided to be used for most Linux targets. This will always install the most recent version released.

curl -L https://github.com/calyptia/lts-notifications/releases/latest/download/install-package.sh| sh

This is purely a convenience helper and should always be validated prior to use. The recommended secure deployment approach is to follow the instructions below.

Amazon Linux 2023

Amazon Linux 2022 was previously supported but is removed since it became GA Amazon Linux 2023

Signature Check**

Calyptia packages are all signed via the calyptia.key that are included as part of your repositories. You can check the signatures by using the built-in rpm tool

Import Calyptia Key**

rpm --import calyptia.key

Check Signature

rpm -K <package>

Configure Yum

We provide calyptia-fluent-bit through a Yum repository. In order to add the repository reference to your system, please add a new file called fluent-bit.repo in /etc/yum.repos.d/ with the following content:

Amazon Linux 2

[calyptia-fluent-bit]
name = Calyptia Fluent Bit
baseurl = https://calyptia-lts-release-standard.s3.amazonaws.com/linux/23.4.1/amazonlinux-[YOUR VERSION_ID]
gpgcheck=1
gpgkey=https://calyptia-lts-release-standard.s3.amazonaws.com/linux/23.4.1/calyptia.key
repo_gpgcheck=1
enabled=1

Note: we encourage you always enable the gpgcheck for security reasons. All our packages are signed.

Install

Once your repository is configured, run the following command to install it:

sudo yum install fluent-bit

Now the following step is to instruct systemd to enable the service:

sudo service calyptia-fluent-bit start

If you do a status check, you should see a similar output like this:

 calyptia-fluent-bit.service - Calyptia Fluent Bit
   Loaded: loaded (/usr/lib/systemd/system/calyptia-fluent-bit.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2023-06-08 15:55:03 UTC; 9s ago
     Docs: https://docs.fluentbit.io/manual/
 Main PID: 16631 (calyptia-fluent)
   CGroup: /system.slice/calyptia-fluent-bit.service
           └─16631 /opt/calyptia-fluent-bit/bin/calyptia-fluent-bit -c //etc/calyptia-fluent-bit/calyptia-fluent-bit.conf

The default configuration of calyptia-fluent-bit is collecting metrics of CPU usage and sending the records to the standard output, you can see the outgoing data in your /var/log/messages file.

Last updated