Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 0 additions & 3 deletions installation/downloads/amazon-ec2.md

This file was deleted.

37 changes: 24 additions & 13 deletions installation/downloads/linux/amazon-linux.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# 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).

## General installation

The recommended secure deployment approach is to use the following instructions:
To install Fluent Bit on any Amazon Linux instance, follow these steps.

## Configure YUM
<!-- markdownlint-disable MD029 -->
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure if the tabs/hint in the middle of these steps would break GitBook's auto-numbering for procedures, and apparently it does, so I'm glad I checked :P adding a markdownlint flag here so I can make an exception to use hard-coded step numbers


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]
Expand All @@ -26,7 +29,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]
Expand All @@ -37,18 +41,23 @@ 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:
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
Expand All @@ -69,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.

<!-- markdownlint-enable MD029 -->