Meetups/Infra/2024-06-10
Jump to navigation
Jump to search
Demo of Robert's nix hosting platform & quick solutions for hosting.
Introductions[edit | edit source]
- Loren - run weekly to have conversations
- Smitty - visiting CA, run my own mailserver (but don't want to), nixOS enthusiast
- Michael - sporadic visitor to meetings, came in selfishly to review some terraform strategies
- Robert - selfishly, show MVP of nix infra tool, get people to try. last time, deploying a pastebin for irc server
- Matt - here for vibes
- Doug - here for matt's vibes
- Henry - not a systems expert, here for the vibes
Lesson or Demo[edit | edit source]
- What is nix os? Nix is a package manager. nixOS is an operating system build around the package manager. Can use the package manager to declaratively specify your entire operating system. Linux distro.
- Michael - terraform questions.
- Robert - nix tool to share
- Robert - irc server & making pastebin.
Robert's Kubernetes killer - deploy Nix flakes as services: https://flakery.dev Log in with github and try it out for free.
Flakery:
- Each instance runs an EC2 AMI which pulls a Flake URL from the instance tags and installs and runs it. - Doesn't support using your own VPC yet - Can use Nix binary cache to speed up deployments - In the future, will have atomic deployments and rollbacks on a single instance by hot swapping Nix environments. - Main advantage: doesn't involve the complexity of building and deploying Docker images to ECS/Kubernetes, plus has all the reproducibility advantages of NixOS.
Reflections[edit | edit source]
- Matt: There aren't many good deployment solutions that offer a middle ground of control/complexity between Heroku and ECS/AWS
Questions, Discussion, or Coworking[edit | edit source]
- [Issue]
For next time[edit | edit source]
Questions[edit | edit source]
Readings & Exercises[edit | edit source]
- Readings
- Exercises
Join online[edit | edit source]
- Try it yourself!
- Join libera.chat #nb-meetup-infra