From c5f21055cab6dca1c31f96e6f3a315ca3fd59046 Mon Sep 17 00:00:00 2001 From: Alexa Kreizinger Date: Mon, 17 Nov 2025 11:59:48 -0800 Subject: [PATCH 1/2] consolidate EC2 installation info Signed-off-by: Alexa Kreizinger --- .gitbook.yaml | 3 ++- SUMMARY.md | 1 - installation/downloads/amazon-ec2.md | 3 --- installation/downloads/linux/amazon-linux.md | 27 ++++++++++++-------- 4 files changed, 19 insertions(+), 15 deletions(-) delete mode 100644 installation/downloads/amazon-ec2.md diff --git a/.gitbook.yaml b/.gitbook.yaml index 522d24fef..bb883ebf1 100644 --- a/.gitbook.yaml +++ b/.gitbook.yaml @@ -98,4 +98,5 @@ redirects: installation/getting-started-with-fluent-bit: ./installation/downloads.md installation/requirements: ./installation/downloads.md installation/supported-platforms: ./installation/downloads.md - about/sandbox-and-lab-resources: /about/resources.md + about/sandbox-and-lab-resources: ./about/resources.md + installation/downloads/amazon-ec2: ./installation/downloads/linux/amazon-linux.md diff --git a/SUMMARY.md b/SUMMARY.md index 11d68768a..12245f3ba 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -28,7 +28,6 @@ * [Rocky Linux and Alma Linux ](installation/downloads/linux/alma-rocky.md) * [Ubuntu](installation/downloads/linux/ubuntu.md) * [Yocto embedded Linux](installation/downloads/linux/yocto-embedded-linux.md) - * [Amazon EC2](installation/downloads/amazon-ec2.md) * [Containers on AWS](installation/downloads/aws-container.md) * [Docker](installation/downloads/docker.md) * [Kubernetes](installation/downloads/kubernetes.md) diff --git a/installation/downloads/amazon-ec2.md b/installation/downloads/amazon-ec2.md deleted file mode 100644 index c92d02217..000000000 --- a/installation/downloads/amazon-ec2.md +++ /dev/null @@ -1,3 +0,0 @@ -# Amazon EC2 - -Learn how to install Fluent Bit and the AWS output plugins on Amazon Linux 2 using [AWS Systems Manager](https://github.com/aws/aws-for-fluent-bit/tree/master/examples/fluent-bit/systems-manager-ec2). diff --git a/installation/downloads/linux/amazon-linux.md b/installation/downloads/linux/amazon-linux.md index acadf9e74..bb29fee32 100644 --- a/installation/downloads/linux/amazon-linux.md +++ b/installation/downloads/linux/amazon-linux.md @@ -1,21 +1,22 @@ # Amazon Linux -## Install on Amazon Linux - -Fluent Bit is distributed as the `fluent-bit` package and is available for the latest Amazon Linux 2 and Amazon Linux 2023. The following architectures are supported +Fluent Bit is distributed as the `fluent-bit` package and is available for Amazon Linux 2 and Amazon Linux 2023. The following architectures are supported: - x86_64 - aarch64 / arm64v8 -Amazon Linux 2022 is no longer supported. +## Install on Amazon EC2 + +To install Fluent Bit and related AWS output plugins on Amazon Linux 2 on EC2 using AWS Systems Manager, follow [this AWS guide](https://github.com/aws/aws-for-fluent-bit/tree/mainline/examples/fluent-bit/systems-manager-ec2). -The recommended secure deployment approach is to use the following instructions: +## General installation -## Configure YUM +To install Fluent Bit on any Amazon Linux instance, follow these steps. -The `fluent-bit` is provided through a Yum repository. To add the repository reference to your system, add a new file called `fluent-bit.repo` in `/etc/yum.repos.d/` with the following content: +1. Fluent Bit is provided through a Yum repository. To add the repository reference to your system, add a new file called `fluent-bit.repo` in `/etc/yum.repos.d/` with the following content: -### Amazon Linux 2 +{% tabs %} +{% tab title="Amazon Linux 2" %} ```text [fluent-bit] @@ -26,7 +27,8 @@ The `fluent-bit` is provided through a Yum repository. To add the repository ref enabled=1 ``` -### Amazon Linux 2023 +{% endtab %} +{% tab title="Amazon Linux 2023" %} ```text [fluent-bit] @@ -37,9 +39,14 @@ The `fluent-bit` is provided through a Yum repository. To add the repository ref enabled=1 ``` +{% endtab %} +{% endtabs %} + +{% hint style="info" %} + You should always enable `gpgcheck` for security reasons. All Fluent Bit packages are signed. -### Install +{% endhint %} 1. Ensure your [GPG key](../linux.md#gpg-key-updates) is up to date. 1. After your repository is configured, run the following command to install it: From 577b62e821ebbd0b089723ab27f51e0130dbd272 Mon Sep 17 00:00:00 2001 From: Alexa Kreizinger Date: Mon, 17 Nov 2025 12:03:42 -0800 Subject: [PATCH 2/2] fix numbering(?) Signed-off-by: Alexa Kreizinger --- installation/downloads/linux/amazon-linux.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/installation/downloads/linux/amazon-linux.md b/installation/downloads/linux/amazon-linux.md index bb29fee32..6d285e127 100644 --- a/installation/downloads/linux/amazon-linux.md +++ b/installation/downloads/linux/amazon-linux.md @@ -13,6 +13,8 @@ To install Fluent Bit and related AWS output plugins on Amazon Linux 2 on EC2 us To install Fluent Bit on any Amazon Linux instance, follow these steps. + + 1. Fluent Bit is provided through a Yum repository. To add the repository reference to your system, add a new file called `fluent-bit.repo` in `/etc/yum.repos.d/` with the following content: {% tabs %} @@ -48,14 +50,14 @@ You should always enable `gpgcheck` for security reasons. All Fluent Bit package {% endhint %} -1. Ensure your [GPG key](../linux.md#gpg-key-updates) is up to date. -1. After your repository is configured, run the following command to install it: +2. Ensure your [GPG key](../linux.md#gpg-key-updates) is up to date. +3. After your repository is configured, run the following command to install it: ```shell sudo yum install fluent-bit ``` -1. Instruct `systemd` to enable the service: +4. Instruct `systemd` to enable the service: ```shell sudo systemctl start fluent-bit @@ -76,3 +78,5 @@ $ systemctl status fluent-bit ``` The default Fluent Bit configuration collect metrics of CPU usage and sends the records to the standard output. You can see the outgoing data in your `/var/log/messages` file. + +