/etc (System Configuration) - Amazon Linux 2023
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

/etc (System Configuration)

The /etc directory on AL2023 contains system-specific configuration. By default, AL2023 images come with /etc on the root filesystem and writable by privileged users.

Note

It is common for applications (including systemd) to keep default configuration under /usr (System Resources) which can be overriden by placing configuration in /etc (System Configuration).

For these applications, changing files in /usr (System Resources) rather than overriding default configuration in /etc will likely result in the changes being overriden when the package is updated.