Skip to content

Commit 6b362ea

Browse files
consolidate EC2 installation info (#2177)
* consolidate EC2 installation info Signed-off-by: Alexa Kreizinger <alexakreizinger@gmail.com> * fix numbering(?) Signed-off-by: Alexa Kreizinger <alexakreizinger@gmail.com> --------- Signed-off-by: Alexa Kreizinger <alexakreizinger@gmail.com>
1 parent c448901 commit 6b362ea

File tree

4 files changed

+26
-18
lines changed

4 files changed

+26
-18
lines changed

.gitbook.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,5 @@ redirects:
9898
installation/getting-started-with-fluent-bit: ./installation/downloads.md
9999
installation/requirements: ./installation/downloads.md
100100
installation/supported-platforms: ./installation/downloads.md
101-
about/sandbox-and-lab-resources: /about/resources.md
101+
about/sandbox-and-lab-resources: ./about/resources.md
102+
installation/downloads/amazon-ec2: ./installation/downloads/linux/amazon-linux.md

SUMMARY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
* [Rocky Linux and Alma Linux ](installation/downloads/linux/alma-rocky.md)
2929
* [Ubuntu](installation/downloads/linux/ubuntu.md)
3030
* [Yocto embedded Linux](installation/downloads/linux/yocto-embedded-linux.md)
31-
* [Amazon EC2](installation/downloads/amazon-ec2.md)
3231
* [Containers on AWS](installation/downloads/aws-container.md)
3332
* [Docker](installation/downloads/docker.md)
3433
* [Kubernetes](installation/downloads/kubernetes.md)

installation/downloads/amazon-ec2.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

installation/downloads/linux/amazon-linux.md

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
# Amazon Linux
22

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:
64

75
- x86_64
86
- aarch64 / arm64v8
97

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
1113

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.
1315

14-
## Configure YUM
16+
<!-- markdownlint-disable MD029 -->
1517

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:
1719

18-
### Amazon Linux 2
20+
{% tabs %}
21+
{% tab title="Amazon Linux 2" %}
1922

2023
```text
2124
[fluent-bit]
@@ -26,7 +29,8 @@ The `fluent-bit` is provided through a Yum repository. To add the repository ref
2629
enabled=1
2730
```
2831

29-
### Amazon Linux 2023
32+
{% endtab %}
33+
{% tab title="Amazon Linux 2023" %}
3034

3135
```text
3236
[fluent-bit]
@@ -37,18 +41,23 @@ The `fluent-bit` is provided through a Yum repository. To add the repository ref
3741
enabled=1
3842
```
3943

44+
{% endtab %}
45+
{% endtabs %}
46+
47+
{% hint style="info" %}
48+
4049
You should always enable `gpgcheck` for security reasons. All Fluent Bit packages are signed.
4150

42-
### Install
51+
{% endhint %}
4352

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:
4655

4756
```shell
4857
sudo yum install fluent-bit
4958
```
5059

51-
1. Instruct `systemd` to enable the service:
60+
4. Instruct `systemd` to enable the service:
5261

5362
```shell
5463
sudo systemctl start fluent-bit
@@ -69,3 +78,5 @@ $ systemctl status fluent-bit
6978
```
7079

7180
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.
81+
82+
<!-- markdownlint-enable MD029 -->

0 commit comments

Comments
 (0)