System Design
14. Cloud ArchitectureAnimated
Terraform
A popular tool for IaC across clouds.
The idea
You write declarative configuration; Terraform plans and applies the changes.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Describe infrastructure as code in Git.
- step:
- 1/4
- at:
- Developer
1/8
The green dot is a request moving through the system.
Step by step
- 1Write .tf files
- 2Run plan
- 3Review the changes
- 4Apply and record the state
Where it is used
Multi-cloud provisioning.
Watch out for
Protect the state file, as it may contain secrets.