/etc (System Configuration) - Amazon Linux 2023
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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