Skip to content

Coming from Ansible, Crossplane, Bicep, or Cloud SDKs

Not everyone comes to Netherframe from Terraform, CloudFormation, CDK, or Pulumi. This page maps the mental models for four other common infrastructure stacks—and clarifies when Netherframe replaces them versus complements them.


Coming from Ansible

Ansible excels at host and OS configuration (packages, systemd units, config files on existing machines). Where teams hit friction using Ansible for cloud provisioning is state tracking, dependency graphs, diff previews before mutation, and safe teardowns.

Dimension Ansible Netherframe
Primary strength Imperative/convergent host & OS configuration over SSH Declarative cloud, network, database, Kubernetes, and SaaS lifecycle via Terraform providers
Pre-flight preview --check mode (best-effort, module-dependent) Provider-backed nf plan --diff --out with immutable saved plans
Deletion tracking Must write explicit state: absent tasks Removing a resource from Python plans its deletion in reverse dependency order
Partial failure Stops at failed task CHECKPOINT or automatic ROLLBACK of newly created resources

How they pair best: Use Netherframe to provision cloud infrastructure (VPCs, clusters, databases, VMs, DNS) and pass immutable boot config via user data / cloud-init or baked images—or invoke Ansible against outputs read via nf output / nf.sdk.Project. (This is also why Netherframe hybrid mode intentionally rejects Terraform provisioner / SSH connection blocks.)


Coming from Crossplane

Crossplane runs inside a Kubernetes cluster as a continuous reconciliation controller, which works well for self-service Kubernetes-native platform APIs, but introduces a bootstrapping problem (what provisions the management cluster?) and makes human-reviewed pre-apply diffs and one-shot rollbacks harder to reason about.

Dimension Crossplane Netherframe
Execution model Continuous in-cluster Kubernetes controller loop Explicit plan → review → apply runs (CLI, CI, nf tui, or nf.sdk)
Pre-apply review Requires external diff tooling; changes reconcile immediately on CR apply Built-in immutable whole-app saved plans (--out / --plan-file)
Bootstrapping a cluster Needs an existing management cluster Bootstraps EKS/GKE/AKS and configures Kubernetes/Helm resources in one apply (deferred providers)
Drift handling Auto-reconciles continuously Explicit nf plan --expect-no-changes (exit 3) and nf drift detect\|check\|fix
Failure cleanup Keeps retrying until healthy recovery_strategy="ROLLBACK" + crash-resumable phase="finalize" audit checks

Coming from Azure Bicep / ARM Templates

Bicep provides clean declarative syntax for Azure resources deployed at resource-group or subscription scope, without external state files. Teams typically outgrow Bicep when they need multi-cloud or SaaS resources (GitHub, Datadog, Cloudflare, Keycloak, Kubernetes) in the same dependency graph, richer programmatic logic, or pre-apply policy checks in Python.

Azure Bicep Netherframe equivalent
param env string = 'dev' Typed app factory parameter (env: Literal["dev", "prod"] = "dev" via ++env=prod)
resource sa 'Microsoft.Storage/storageAccounts@...' Typed hashicorp/azurerm bindings (nf generate providers hashicorp/azurerm)
az deployment group what-if nf plan --app <app> --diff --out plan.json
az deployment group create nf apply --app <app> --plan-file plan.json
Azure deployment history Explicit state backend (Azure Blob via netherframe.backends.azure, S3, local, or PostgreSQL graph state)

See examples/azure_storage for a runnable Azure example.


Coming from Raw Cloud SDKs (boto3, awscli, gcloud, Bash)

Writing provisioning scripts directly in Python with boto3 gives you full language expressiveness—until you need idempotency, drift detection, dependency ordering, safe updates, teardowns, or cleaning up step 1 when step 4 fails.

Netherframe lets you stay in ordinary Python while handing the hard infrastructure mechanics to the engine:

  • Keep Python loops, ipaddress, dataclasses, pytest, and type checking.
  • Replace brittle try/except ClientError idempotency loops with nf plan / nf apply backed by Terraform provider schemas and durable state.
  • Replace manual cleanup scripts on failure with App(recovery_strategy="ROLLBACK").
  • Embed full plan/review/apply/destroy orchestration inside your existing Python tools using nf.sdk.Project (see examples/python_api and examples/canary_rollout).

Next steps