Terraform
Terraform is an infra management tool made by Hashicorp. It helps in provision, manage and maintain cloud resources. Terraform is not a config management tool.
Features
- Terraform deploys pre-made server images
- Base server images can be created with Packer, another open source tool by Hashicorp.
- Immutable infrastructure
- Disposable infrastructure - freely delete and replace any instance
- It can work with Docker and Kubernetes. It can also interact with AWS EKS.
- Terraform figures out the hard part of resource ordering and lets you just treat the infrastructure as static code.
Housekeeping
- GitHub : https://github.com/soumendrak/learning-terraform-3087701
- AWS Credentials:
- AKIA3PZLHNIJSPZH7O33
- FKR7Qso+dngctcrzzdnTw4CnxegIxkSbmR6dwD4G
Internal working
- Terraform uses DAG(Directed Acyclic Graphs)
- Where the each node represents a service and the nodes are not cyclic or interdependent with each other.