Terraform vs Bicep vs clicking in the portal?

posée 3 months ago85 vuesen

3

Our small team creates cloud resources manually in the portal. Everyone says "use Infrastructure as Code". Is it worth it for a small team, and which tool?

Diagnostic IA

Généré par IA. Ce n'est pas une réponse — la communauté ci-dessous le confirme ou le corrige. Vérifiez toujours avant de vous y fier.

posée 3 months ago

1 réponse

8
✓
✓ Réponse acceptée

Yes, even for a small team. The portal is fine for exploring; IaC is for anything you'd need to recreate:

- Reproducible environments: a staging identical to production, and disaster recovery in minutes. - Review and history: infrastructure changes go through pull requests, and git blame tells you why the firewall rule exists. - No drift: you know exactly what's deployed.

Tool choice: - Terraform / OpenTofu: multi-cloud, huge ecosystem (Cloudflare, GitHub, Datadog providers). The default if you might touch more than one provider. - Bicep: Azure-only, first-class Azure support on day one, no state file to manage. - Pulumi / AWS CDK: IaC in TypeScript, Python or C# if your team prefers real code.

Start small: import one existing environment, put the state in remote storage with locking, and run plan in CI on every PR.

Connectez-vous pour dire si ça a marché.

answered 3 months ago

Sign in and verify your email to post an answer.