~/talk

Functional Infrastructure With Nix - Part 2 of 2

Talkat LambdaConf 2017 · 2017-05-25..05-27· [devops-and-delivery]
links:none on file
slides:none on file

Walks through building a Haskell JSON API with Nix, packaging it as a Nix derivation, and using NixOS + NixOps to provision t2.nano EC2 instances, configure systemd and nginx, and wire a static front end to a back end proxy. Demonstrates NixOps deploy creates EC2 instances, building locally then pushing artifacts, scaling the back end from 1 to 3 nodes, and nginx proxy with round-robin across three backends. Shows automated Let's Encrypt TLS, quick rollback to prior deployment, and one practical failure: AWS quota and campus Wi‑Fi block interfere with some live demos.

AI-written summary · about

  1. 0:00Building functional infrastructure cluster
  2. 0:35Haskell JSON API backend
  3. 4:17Backend as Nix derivation
  4. 7:07Configuring backend with NixOS
  5. 11:08Deployment targets VirtualBox and EC2
  6. 15:57Creating NixOps deployment
  7. 23:22NixOps vs Ansible and Docker
  8. 29:20Deploying static frontend with Nginx
  9. 36:10Proxy for frontend and backend
  10. 41:48DNS with Route 53
  11. 44:43Scaling backend instances
  12. 48:25Rolling back deployments
  13. 49:28HTTPS with Let's Encrypt
  14. 52:30Adding database infrastructure
  15. 53:42Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.