Hoppa till huvudinnehåll
JobCannon
Alla kompetenser

AWS CloudFormation IaC

⬢ NIVÅ 2Tekniskt
Hög
Lönepåverkan
8 månader
Tid att lära sig
Medel
Svårighetsgrad
2
Karriärer
I korthet

AWS CloudFormation lets you define your entire AWS infrastructure (EC2, RDS, Lambda, VPCs, IAM roles) in JSON/YAML templates. Version control your infrastructure, automate deployments, rollback failed stacks, manage drift. Mastery means designing reusable templates, debugging stack failures, managing cross-region deployments, and integrating CloudFormation into CI/CD pipelines. Learning path: CloudFormation basics (3 weeks) → templates + resources (2 weeks) → parameters + outputs (1 week) → stacks + change sets (1 week) → advanced patterns (2 weeks).

Vad är AWS CloudFormation IaC

AWS CloudFormation is Infrastructure as Code for AWS. You write templates (YAML or JSON) that describe your infrastructure, networks, databases, instances, load balancers, permissions, and CloudFormation provisions everything for you. You version control your templates, collaborate on infrastructure changes like code, and deploy/update/delete entire stacks with a single command. CloudFormation is declarative: you say "I want a VPC with 2 subnets, an RDS database, and 3 Lambda functions," and CloudFormation handles the order of creation, dependencies, and error recovery. If creation fails, it rolls back automatically.

🔧 VERKTYG & EKOSYSTEM
AWS CloudFormation ConsoleCloudFormation DesignerAWS CLIAWS SAMTerraform (alternative)AWS CDKCloudFormation RegistryChange SetsStack Drift Detection

💰 Lön per region

OmrådeNybörjareMidErfaren
USA$80k$130k$180k
UK£48k£80k£120k
EU€52k€85k€130k
CANADAC$85kC$135kC$185k

🎯 Karriärer som använder AWS CloudFormation IaC

❓ Vanliga frågor

Should I use CloudFormation or Terraform?
CloudFormation: AWS-native, no state file management, integrated into AWS console and APIs. Terraform: multi-cloud, cleaner syntax, larger community. For pure AWS, CloudFormation is simpler. For multi-cloud, Terraform wins.
What's the difference between CloudFormation and AWS CDK?
CloudFormation: declarative YAML/JSON templates. CDK: imperative Python/TypeScript that generates CloudFormation. CDK is friendlier for developers; CloudFormation is closer to infrastructure.
How do I handle secrets in CloudFormation?
Use AWS Secrets Manager or Systems Manager Parameter Store. Reference them in templates with Fn::Sub or dynamic references (!Sub). Never hardcode secrets in templates.
Can I deploy the same stack across multiple regions?
Yes, use stack sets for multi-region/multi-account deployments. CloudFormation handles replication.
What happens if a stack creation fails?
CloudFormation rolls back by default (ROLLBACK_IN_PROGRESS). You can keep failed resources for debugging (ROLLBACK_DISABLED flag).
How do I update a running stack without downtime?
Use Change Sets to preview changes, then apply. UpdatePolicy attribute on EC2 and Auto Scaling resources enables zero-downtime updates.
Is CloudFormation suitable for production?
Yes, thousands of companies run mission-critical infrastructure on CloudFormation. Caveats: stack limits (200 resources per stack), some resources not supported (use workarounds). Design for it.

Osäker på om den här kompetensen passar dig?

Gör Career Match — vi föreslår rätt spår för dig.

Hitta mina bäst passande kompetenser →

Hitta din ideala karriärväg

Kompetensbaserad matchning mot 2 521 karriärer. Gratis, ~3 minuter.

Gör Karriärmatchningen — gratis →