Cloud Native and Arch Linux

In this article I want to give a short overview over the current state of Arch Linux with respect to cloud native technologies. I would like to show why I think Arch Linux is perfect as a daily driver in the cloud native ecosystem and how the current state of cloud native software in Arch Linux looks like.

Reason Nr 1: Security

At Arch Linux we take security very seriously. Our newly selected project lead has a strong security background (founding member of the Arch Linux security team) and member in a CTF group. Another good reason is our strong hardening process. Recently, I have already explained how we harden Go binaries in Arch Linux. If you have missed this article, feel free to add it to your bookmarks. We enable the following flags in Arch Linux:

  • FULL RELRO (Full Relocation Read-Only)
  • STACK CANARY
  • NX-Bit
  • PIE (Position Independent Executable/Code)
  • Setting no RPATH6
  • Setting no Symbols
  • FORTIFY
  • ….. a full explanation can be found in the linked blog article ;)

In my experience you will not find most of these flags enabled in binaries that you download directly from Github or a project website. As far as I know, these flags are very unique to Arch Linux. Even Fedora does not enable all of them. Other arguments for Arch Linux in terms of security are:

  • Packages are mostly up to date. We ship the newest Go binary as soon as possible
  • We re-compile all of our packages with the newest Go binary (if possible and we are not running into weird issues with the new Go version).
  • We try to ship the newest version of a software within a week (my personal record is a few minutes after release).
  • We release security advisories for our packages via a mailing list and https://security.archlinux.org
  • Many Arch Linux members also contribute to security related projects like https://reproducible-builds.org/ or secure supply chains.

Reason Nr 2: From cloud native developers to cloud native developers

All packages that I maintain are in daily production use. I work as SRE and my laptop runs on Arch Linux. It surprises me every day again how stable the whole system is. You could consider this as good motivation for keeping everything running and stable.

Reason Nr 3: Convenience

Arch Linux has built up a very big catalog of cloud native software. Hence, if you are tired of visiting Github project websites and if you are looking for a convenient way to install your cloud native tools on your laptop, Arch Linux is the go-to solution for you. You can easily install any of the tools below via executing sudo pacman -S <package name>. Do not consider the following list as ‘complete’. The following packages are either maintained or co-maintained by myself. Big shout-out to my co-maintainers Morten Linderud (@MortenLinderud) and David Runge:

To be honest, I thought the list would be smaller and I hope you are still reading this article. If you are missing software feel free to drop me a mail. My plans for the future involve a public github repository with all my PKGBUILDs for nicer collaboration.

Also, I would like to give a short overview about packages I will have a look on next: