Looking for Nix + AWS usage stories

Happy Monday!

The AWS Open Source team has generously sponsored the Nix S3 Cache for the last three years, and we’re currently working with them on the next chapter of that partnership.

As part of that, we could use a bit of NixOS community power.

We’ve been asked to share more about how Nix and AWS are being used together in the real world, so I’d love to hear from folks who have relevant examples.

Please comment here, DM me, or email me if:

:snowflake: Your company runs Nix / NixOS workloads on AWS infrastructure

:snowflake: You use Nix / NixOS internally at Amazon or AWS, or know a team that does

:snowflake: You use Nix with AWS for CI, builds, caching, deployment, developer environments, production infrastructure, or anything else meaningful

Even short notes are useful. We’re trying to better represent the breadth of Nix usage across the AWS ecosystem and help strengthen the case for continued partnership.

Thanks in advance and huge thanks again to the AWS Open Source team for supporting the Nix S3 Cache over the last few years.

12 Likes

Cachix has been hosted on AWS from day one since 2018!

Really glad to see support for Nix flow back to its origins.

5 Likes

Pinging you for more details to add in! :fire:

1 Like

I maintain an attic instance for Juspay on AWS. As of today, serving over 11TB of NARs

3 Likes

Amazing, thank you. If you can DM any additional details that you’d be willing to share with AWS on this, please do!

We are running a cache using niks3 for use within our team. We were evaluating attic, too, but we will probably use Artifactory’s Nix feature once it lands in the self hosted release.

We are running workloads on EKS that use containers built using dockerTools from nixpkgs.

Edit: Oh! And we have built EC2 AMIs using NixOS tooling in the past. One use case was to provide full EC2 instances running Minikube and some vulnerable workloads for an internal Kubernetes CTF. The machine images were built using NixOS. When booting, some systemd units are used to bootstrap the Minikube cluster and workloads.

Edit 2: Company is Deutsche Telekom IT GmbH (Germany)

3 Likes

I will share this in the next edition of Bump, which will be published around Monday.

SMB in the UK producing EVSE (ev chargers), all of our infra runs on nixos.

3 Likes

Many enterprise customers of nixbuild.net run their deployments on AWS. We have a dead-simple Terraform config for running a complete nixbuild.net deployment, publicly available. nixbuild.net automatically provisions and de-provisions EC2 instances for scaling the build cluster based on demand. It also has built-in support for pushing and pulling from S3 caches, making it simple to set up a reliable all-AWS Nix build cluster.

5 Likes

amazing! if you can dm me any details that would be awesome

nixbuild is the way :slight_smile:

can you check if any of them might be willing to internally share with me/AWS light details so we can reference them?

Much of Bellroy’s AWS Lambda deployments are built using haskell.nix, and there’s a private S3 cache backing all of that:

We’re using Nix to build the future of search at exa.ai! Nix powers our dev tooling (via direnv + devshells) as well as our CI and build systems, all hosted on AWS.

1 Like