NixOps

NixOpsNixOps website
NixOps manual


Overview

  1. We assume you have Nix installed, and you have an AWS account.
  2. Create an AWS access key and put it in ~/.ec2-keys
  3. Create a security group that accepts on port 22
  4. Install the nixops package
  5. Create two config files: cloud.nix and cloud-ec2.nix
  6. Create the deployment (nixops create ...)
  7. Deploy (nixops deploy)