← All posts
Terraform guide

Terraform on AWS: state, mistakes and real setups

Terraform is only as safe as its state. Get the state into an encrypted, versioned S3 bucket with locking first, and most of the scary Terraform stories never happen to you.

After that, learn what to do when a lock gets stuck or a state file gets damaged, avoid the beginner mistakes that cost hours, and copy two complete setups: a static website on S3 and CloudFront, and a VPC with room to grow.

Tools and checklists

Rather have it done for you?

Click-built AWS accounts turned into reviewed, repeatable Terraform.

Newsletter

Practical DevOps, once or twice a month

New tutorials, Terraform snippets and AWS cost tips. No spam, unsubscribe anytime.