terraform/website/intro/index.html.markdown

51 lines
2.4 KiB
Markdown
Raw Normal View History

2014-07-16 23:51:48 +02:00
---
layout: "intro"
page_title: "Introduction"
sidebar_current: "what"
2014-10-22 05:21:56 +02:00
description: |-
This guide explains what Terraform is, what problems it can solve, and how it compares to existing software.
2014-07-16 23:51:48 +02:00
---
# Introduction to Terraform
2014-07-23 21:04:02 +02:00
## What is Terraform?
2014-07-16 23:51:48 +02:00
2014-07-23 21:04:02 +02:00
Terraform is a tool for building, changing, and versioning infrastructure
safely and efficiently. Terraform can manage both low-level components such as compute instances, storage, and networking, as well as high-level components such as DNS entries, SaaS features, etc.
Terraform configuration files describe the components needed to run a single application or your entire datacenter. Terraform reads these configuration files, generates an execution plan describing what it will do to reach the desired state, and then executes that plan to build the described infrastructure. As the configuration changes, Terraform can determine what changed and implement changes in the right order to respect dependencies.
Below, HashiCorp co-founder and CTO Armon Dadgar describes Terraform and its uses in more depth.
2014-07-23 21:04:02 +02:00
2019-12-03 16:44:15 +01:00
<iframe src="https://www.youtube.com/embed/h970ZBgKINg" frameborder="0" allowfullscreen="true" width="560" height="315" ></iframe>
2014-07-23 21:04:02 +02:00
## Key Features
2014-07-23 21:04:02 +02:00
2017-04-06 20:02:56 +02:00
### Infrastructure as Code
Infrastructure is described using a high-level [configuration language](/docs/language/index.html). This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure can be shared and re-used.
2017-04-06 20:02:56 +02:00
### Execution Plans
Terraform generates an _execution plan_ and asks for your approval before creating or destroying infrastructure. This allows you to review changes before they are applied.
2017-04-06 20:02:56 +02:00
### Resource Graph
Terraform builds a graph of all your resources and parallelizes the creation
and modification of any non-dependent resources. This allows Terraform to
build infrastructure as efficiently as possible and gives operators greater insight into their infrastructure.
2017-04-06 20:02:56 +02:00
### Change Automation
Apply complex changesets to your infrastructure with minimal human interaction.
2021-06-28 17:38:21 +02:00
2014-07-16 23:51:48 +02:00
## Next Steps
- Learn about common [Terraform use cases](/intro/use-cases.html).
- Learn [how Terraform compares to other infrastructure tools](/intro/vs/index.html).
2021-06-28 17:38:21 +02:00
- Try the [Terraform: Get Started](https://learn.hashicorp.com/collections/terraform/aws-get-started) tutorials on HashiCorp Learn to learn how to use Terraform to manage real infrastructure.