You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: installation/downloads/linux/amazon-linux.md
+24-13Lines changed: 24 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,24 @@
1
1
# Amazon Linux
2
2
3
-
## Install on Amazon Linux
4
-
5
-
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
3
+
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:
6
4
7
5
- x86_64
8
6
- aarch64 / arm64v8
9
7
10
-
Amazon Linux 2022 is no longer supported.
8
+
## Install on Amazon EC2
9
+
10
+
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).
11
+
12
+
## General installation
11
13
12
-
The recommended secure deployment approach is to use the following instructions:
14
+
To install Fluent Bit on any Amazon Linux instance, follow these steps.
13
15
14
-
## Configure YUM
16
+
<!-- markdownlint-disable MD029 -->
15
17
16
-
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:
18
+
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:
17
19
18
-
### Amazon Linux 2
20
+
{% tabs %}
21
+
{% tab title="Amazon Linux 2" %}
19
22
20
23
```text
21
24
[fluent-bit]
@@ -26,7 +29,8 @@ The `fluent-bit` is provided through a Yum repository. To add the repository ref
26
29
enabled=1
27
30
```
28
31
29
-
### Amazon Linux 2023
32
+
{% endtab %}
33
+
{% tab title="Amazon Linux 2023" %}
30
34
31
35
```text
32
36
[fluent-bit]
@@ -37,18 +41,23 @@ The `fluent-bit` is provided through a Yum repository. To add the repository ref
37
41
enabled=1
38
42
```
39
43
44
+
{% endtab %}
45
+
{% endtabs %}
46
+
47
+
{% hint style="info" %}
48
+
40
49
You should always enable `gpgcheck` for security reasons. All Fluent Bit packages are signed.
41
50
42
-
### Install
51
+
{% endhint %}
43
52
44
-
1. Ensure your [GPG key](../linux.md#gpg-key-updates) is up to date.
45
-
1. After your repository is configured, run the following command to install it:
53
+
2. Ensure your [GPG key](../linux.md#gpg-key-updates) is up to date.
54
+
3. After your repository is configured, run the following command to install it:
46
55
47
56
```shell
48
57
sudo yum install fluent-bit
49
58
```
50
59
51
-
1. Instruct `systemd` to enable the service:
60
+
4. Instruct `systemd` to enable the service:
52
61
53
62
```shell
54
63
sudo systemctl start fluent-bit
@@ -69,3 +78,5 @@ $ systemctl status fluent-bit
69
78
```
70
79
71
80
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.
0 commit comments