Topic

IaC

Follow Infrastructure-as-code developments covering Terraform, Ansible, and cloud provisioning. Our digest aggregates provider APIs, drift detection, and infrastructure versioning from developer communities across Hacker News and Reddit.

What this topic tracks

  • Infrastructure and deployment workflows
  • Cloud-native tools and operational practices
  • Reliability, observability, and automation

IaC · 9 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

9 stories

Claude Code for Infrastructure

fluid.sh · 4 Feb

DevOps · IaC · Monitoring

Fluid is a specialized infrastructure automation tool designed to streamline development workflows through high-fidelity sandbox isolation.

By allowing users to instantly clone VMs, Fluid provides a safe environment to test changes in isolation before they ever reach production. The system is context-aware, meaning it explores the host environment including the OS, installed packages, and CLI tools to adapt its behavior accordingly. Security and accountability are central features, offering a full audit trail where every command and change is logged for review. Furthermore, Fluid enhances reproducibility by auto-generating Ansible Playbooks based on the activities performed within the sandbox, bridging the gap between experimentation and production-ready infrastructure code.

Company as Code

blog.42futures.com · 5 Feb

IaC · Software Architecture · Business

The article explores the concept of 'Company as Code,' proposing a shift from traditional document-based organizational structures to programmatic representations.

Daniel Rothmann argues that while software infrastructure and deployments are automated through Infrastructure as Code (IaC) and GitOps, organizational policies and structures remain trapped in static documents. By adopting a declarative Domain Specific Language (DSL) and graph-based models, companies could version-control their policies, automate compliance audits like ISO 27001, and simulate organizational changes in 'staging environments.' This approach aims to bridge the gap between digital operations and bureaucratic governance, ultimately reducing human effort in compliance while increasing transparency and agility across the business.

NixOS is making me less afraid

entropicthoughts.com · 19 Oct

DevOps · IaC · Linux

NixOS made the author willing to deploy FreshRSS, because a working installation with backups required only nine lines of Nix code and could be reproduced in about 15 minutes.

Unlike manual setup—configuring files, permissions, nginx, php-fpm, TLS, backups, or containers—NixOS configurations are executable, repeatable, and easier to restore. After disappointing experiences with CFEngine, Ansible, podman, and k3s, this reliability reduces the maintenance burden and makes trying self-hosted software feel worthwhile.

giovantenne/nixorium

github.com · 3 Dec

DevOps · IaC · Linux · Education

Nixorium manages a multi-PC NixOS lab from one controller and a private declarative repository describing computers, accounts, software, and student desktops.

It solves school-lab administration where clients lack Internet by building systems centrally and installing or updating them over the local network via Netboot/PXE or USB over SSH, while Harmonia serves a signed local cache. Each PC runs applications locally and returns to a clean desktop at boot. Nixorium also provides reviewed recovery, classroom controls, and snapshots.

Fakecloud: Local AWS cloud emulator for integration tests

fakecloud.dev · 26 Sept

AWS · Cloud Computing · IaC

fakecloud is a local AWS cloud emulator for integration testing.

Applications use standard AWS SDKs, CLI, and IaC tools against localhost, while first-party SDKs provide assertions, state inspection, resets, and async-event control. It supports 105 AWS services, cross-service workflows, and comprehensive conformance testing, without authentication, paid plans, Docker, or platform lock-in.

I Cannot SSH Into My Server Anymore (And That’s Fine)

soap.coffee · 5 Jan

DevOps · Docker · IaC

In this detailed technical journal, the author explains the transition from a manually managed $100/month VPS to a containerized, declarative, and cost-effective successor named tinkerbell.

Leveraging Fedora CoreOS and the Ignition provisioning system, the author establishes an immutable infrastructure where virtual machines are treated as temporary assets. The stack utilizes Podman Quadlets for container orchestration and Caddy for automated TLS management, orchestrated through Terraform for infrastructure as code. A key innovation in the setup is the implementation of Podman auto-updates, which allows the server to automatically pull new Docker images from a registry. This shift towards a fully automated deployment pipeline effectively eliminates the need for SSH access, transforming the server into a low-maintenance, autonomous unit. The article highlights the benefits of declarative configuration over manual scripts and explores the potential for future observability enhancements.

I Provisioned My Keycloak Infrastructure With Terraform. Here’s What I’d Automate

dev.to · 2 Dec

DevOps · IaC · Terraform

Keycloak infrastructure can be managed with Terraform by declaring clusters, realms, identity resources, and supported security controls in version-controlled configuration.

Skycloak’s provider provisions managed Keycloak clusters and platform resources, while the community Keycloak provider handles deeper settings such as client scopes and authentication flows. A demonstrated workflow—init, validate, plan, apply, and verify—created a cluster and realm successfully, with separate stages recommended when using both providers.

My self-hosted infrastructure with Incus OS

dataswamp.org · 15 Oct

Cybersecurity · DevOps · IaC · Linux · Software Architecture

A home self-hosting infrastructure was rebuilt around Incus OS on a single laptop, using immutable hosting, disposable unprivileged Ubuntu system containers, nested Podman containers, and Git-declared OpenTofu/cloud-init automation.

Default-deny ACLs, filtered egress, isolated VMs, VPN-only administration, encrypted sops/age secrets, automatic updates, layered backups, monitoring, and CrowdSec improve security and recoverability. The design is efficient but overengineered, with single-machine availability limits and brief outages during rebuilds.

NixOS specialisations

nobe4.fr · 2 Dec

IaC · Linux

NixOS specialisations provide multiple configurations from one parent system, letting users switch roles or settings without editing configuration, rebuilding, or rebooting in most cases.

Variants inherit the parent and can override files, restart services through restartTriggers, enable configuration-specific services, and preserve runtime or state data with systemd directories. The example applies this to Mullvad VPN: a locked specialisation enables automatic connection, lockdown mode, and early boot blocking while keeping everything declared in Nix.

Where it came fromHacker NewsLobstersDev.toCreate a Snapbyte.dev digest and choose IaC as one of your topics.Build your digest