Database / Open Source Database /
Terraform
What is Terrafrom?
Terraform is an open-source code software tool developed by HashiCorp for infrastructure management. It’s a cloud agnostic tool infra-as-code that helps deploy, update, destroy resources & services that are no longer needed but also manage them across multiple platforms.
infrastructure types can be deployed in across the platforms – AWS, GCP, Azure, VMware & more.
Usage Scenario
- Terraform is a specific toolhaving its particular application area
- When there aremultiple logical elements of the same kind (in plural) in your infrastructure, i.e. several web servers, several application servers, several database servers in place
- When Numerous environments (or workspaces) to run your applications, i.e. development, staging, QA, productionetc
- Significant amount of time managing changes in the environment(s) while running the applications
Benefits
- Manages external resources such as public cloud, private cloud infrastructure, network appliances, software as a service, and platform as a service with “providers”& more
- HashiCorp maintains an extensive list of official providers which can be integrated with community developed providers
- Users can interact with Terraform providers by declaring resources or by calling data sources
- The infrastructure as code can be written as modules, promoting re usability and maintainability. So to create, change, or destroy the infrastructure Terraform needs the source code
- Terraform has capability todetect the dependencies automatically between resources described in the code, and also allows to add custom dependencies when needed