terraform/website/source/index.html.erb

323 lines
12 KiB
Plaintext
Raw Normal View History

2017-04-05 17:28:34 +02:00
---
description: |-
Terraform enables you to safely and predictably create, change, and improve
production infrastructure. It is an open source tool that codifies APIs into
declarative configuration files that can be shared amongst team members,
treated as code, edited, reviewed, and versioned.
---
2017-04-06 19:41:52 +02:00
<header>
<div class="container hero">
<div class="row">
<div class="col-md-offset-2 col-md-8">
<%= inline_svg "logo-text.svg", height: 120, class: "logo" %>
<h1>Write, Plan, and Create Infrastructure as Code</h1>
<a class="button primary" href="/intro/index.html">Get Started</a>
<a class="button" href="/downloads.html">Download <%= latest_version %></a>
</div>
2017-04-05 17:28:34 +02:00
</div>
</div>
2017-04-06 19:41:52 +02:00
</header>
2014-07-16 23:51:48 +02:00
2017-04-06 19:41:52 +02:00
<section id="features" class="marketing white">
2017-04-05 17:28:34 +02:00
<div class="container">
<div class="row">
2017-04-06 19:41:52 +02:00
<div class="col-md-12">
<h2>Simple and Powerful</h2>
<p class="lead">
Terraform enables you to safely and predictably create, change, and
2017-04-05 17:28:34 +02:00
improve production infrastructure. It is an open source tool that
codifies APIs into declarative configuration files that can be shared amongst team members,
2017-04-06 19:41:52 +02:00
treated as code, edited, reviewed, and versioned.
</p>
2017-04-05 17:28:34 +02:00
</div>
2017-04-06 19:41:52 +02:00
</div>
2017-04-05 17:28:34 +02:00
<div class="row">
<div class="col-sm-4">
2017-04-06 19:41:52 +02:00
<a href="#write" class="feature-card">
<span>Write</span>
2017-04-05 17:28:34 +02:00
<p>Infrastructure as code</p>
2017-04-06 19:41:52 +02:00
<%= inline_svg "feature-card-write.svg" %>
2017-04-05 17:28:34 +02:00
</a>
</div>
<div class="col-sm-4">
2017-04-06 19:41:52 +02:00
<a href="#plan" class="feature-card">
<span>Plan</span>
2017-04-05 17:28:34 +02:00
<p>Preview changes before applying</p>
2017-04-06 19:41:52 +02:00
<%= inline_svg "feature-card-plan.svg" %>
2017-04-05 17:28:34 +02:00
</a>
</div>
<div class="col-sm-4">
2017-04-06 19:41:52 +02:00
<a href="#create" class="feature-card">
<span>Create</span>
2017-04-05 17:28:34 +02:00
<p>Reproducible infrastructure</p>
2017-04-06 19:41:52 +02:00
<%= inline_svg "feature-card-create.svg" %>
2017-04-05 17:28:34 +02:00
</a>
</div>
</div>
</div>
2017-04-06 19:41:52 +02:00
</section>
<hr />
2014-07-16 23:51:48 +02:00
2017-04-06 19:41:52 +02:00
<section id="write" class="marketing">
2017-04-05 17:28:34 +02:00
<div class="container">
2017-04-06 19:41:52 +02:00
<div class="row">
2017-04-05 17:28:34 +02:00
<div class="col-sm-12">
2017-04-06 19:41:52 +02:00
<span class="callout">Write</span>
<h2>Infrastructure as Code</h2>
<p class="lead">
Define infrastructure as code to increase operator productivity
and transparency.
</p>
2017-04-05 17:28:34 +02:00
</div>
2017-04-06 19:41:52 +02:00
</div>
<div class="row">
<div class="col-sm-5">
2017-04-05 17:28:34 +02:00
<h3>Collaborate &amp; share</h3>
2017-04-06 19:41:52 +02:00
<p>Terraform configuration can be stored in version control,
2017-04-05 17:28:34 +02:00
shared, and collaborated on by teams of operators.</p>
<h3>Evolve your infrastructure</h3>
2017-04-06 19:41:52 +02:00
<p>Track the complete history of infrastructure versions.</p>
2017-04-05 17:28:34 +02:00
<h3>Automation friendly</h3>
2017-04-06 19:41:52 +02:00
<p>If it can be codified, it can be automated.</p>
</div>
<div class="col-sm-7">
<%= inline_svg "feature-write-bg.svg", class: "feature-image" %>
2017-04-05 17:28:34 +02:00
</div>
</div>
</div>
2017-04-06 19:41:52 +02:00
</section>
2014-07-23 04:39:04 +02:00
2017-04-06 19:41:52 +02:00
<section id="plan" class="marketing purple">
2017-04-05 17:28:34 +02:00
<div class="container">
2017-04-06 19:41:52 +02:00
<div class="row">
2017-04-05 17:28:34 +02:00
<div class="col-sm-12">
2017-04-06 19:41:52 +02:00
<span class="callout">Plan</span>
<h2>One Safe Workflow Across Providers</h2>
<p class="lead">Terraform provides an elegant user experience for
2017-04-05 17:28:34 +02:00
operators to safely and predictably make changes to infrastructure.</p>
</div>
2017-04-06 19:41:52 +02:00
</div>
<div class="row">
2017-04-05 17:28:34 +02:00
<div class="col-sm-12">
2017-04-06 19:41:52 +02:00
<%= inline_svg "feature-plan-bg.svg", class: "feature-image" %>
2017-04-05 17:28:34 +02:00
</div>
2017-04-06 19:41:52 +02:00
</div>
<div class="row">
2017-04-05 17:28:34 +02:00
<div class="col-sm-4">
2017-04-06 19:41:52 +02:00
<h3>Map Resource Dependencies</h3>
<p>
Understand how a minor change could have potential cascading effects
2017-04-05 17:28:34 +02:00
across an infrastructure before executing that change. Terraform
builds a dependency graph from the configurations, and walks this
2017-04-06 19:41:52 +02:00
graph to generate plans, refresh state, and more.
</p>
2017-04-05 17:28:34 +02:00
</div>
<div class="col-sm-4">
2017-04-06 19:41:52 +02:00
<h3>Separation of Plan &amp; Apply</h3>
<p>
Separating plans and applies reduces mistakes and uncertainty at
2017-04-05 17:28:34 +02:00
scale. Plans show operators what would happen, applies execute
2017-04-06 19:41:52 +02:00
changes.
</p>
2017-04-05 17:28:34 +02:00
</div>
<div class="col-sm-4">
2017-04-06 19:41:52 +02:00
<h3>One Safe Workflow</h3>
<p>
Use Terraform to create resources across all major infrastructure
providers (AWS, GCP, Azure, OpenStack, VMware, and more).
</p>
2017-04-05 17:28:34 +02:00
</div>
</div>
2017-04-06 19:41:52 +02:00
</div>
</section>
2016-10-03 22:06:23 +02:00
2017-04-06 19:41:52 +02:00
<section id="create" class="marketing">
2017-04-05 17:28:34 +02:00
<div class="container">
2017-04-06 19:41:52 +02:00
<div class="row">
2017-04-05 17:28:34 +02:00
<div class="col-sm-6">
2017-04-06 19:41:52 +02:00
<span class="callout">Create</span>
<h2>Reproducible Infrastructure</h2>
<p class="lead">Terraform lets operators easily use the same
2017-04-05 17:28:34 +02:00
configurations in multiple places to reduce mistakes and save time.</p>
</div>
<div class="col-sm-6">
2017-04-06 19:41:52 +02:00
<%= inline_svg "feature-create-bg.svg", class: "feature-image" %>
2017-04-05 17:28:34 +02:00
</div>
</div>
<div class="row">
<div class="col-sm-4">
<h3>Environment parity</h3>
2017-04-06 19:41:52 +02:00
<p>Use the same Terraform configuration to provision identical staging,
2017-04-05 17:28:34 +02:00
QA, and production environments.</p>
</div>
<div class="col-sm-4">
<h3>Shareable modules</h3>
2017-04-06 19:41:52 +02:00
<p>Common Terraform configurations can be packaged as modules and used
2017-04-05 17:28:34 +02:00
across teams and organizations.</p>
</div>
<div class="col-sm-4">
<h3>Combine multiple providers consistently</h3>
2017-04-06 19:41:52 +02:00
<p>Terraform allows you to effortlessly combine high-level system
2017-04-05 17:28:34 +02:00
providers. Launch a server from one cloud provider, add a DNS entry
with its IP with a different provider. Built-in dependency resolution
means things happen in the right order.</p>
</div>
</div>
2017-04-06 19:41:52 +02:00
</div>
</section>
2016-10-03 22:10:31 +02:00
2017-04-06 19:41:52 +02:00
<section id="news" class="marketing purple">
2017-04-05 17:28:34 +02:00
<div class="container">
<div class="row">
2017-04-06 19:41:52 +02:00
<div class="col-sm-12">
<h2>Latest News</h2>
2017-04-05 17:28:34 +02:00
</div>
2017-04-06 19:41:52 +02:00
<div class="col-md-5 col-sm-12">
<div class="latest-item">
2017-04-06 19:41:52 +02:00
<h3>Coming Soon!</h3>
<p>
2017-04-06 19:41:52 +02:00
We have some exciting new announcements planned for Terraform. Check
back soon to learn more.
</p>
2017-04-06 19:41:52 +02:00
<p>
</div>
</div>
2017-04-06 19:41:52 +02:00
<div class="col-md-offset-1 col-md-6 col-sm-12">
<div class="latest-item">
<h3>Terraform 0.9 Released</h3>
2017-04-05 17:28:34 +02:00
<p>
2017-04-06 19:41:52 +02:00
Terraform 0.9 adds major new functionality to Terraform. Read the
highlights from the 0.9 release
2017-04-05 17:28:34 +02:00
</p>
2017-04-06 19:41:52 +02:00
<a class="button" href="https://www.hashicorp.com/blog/terraform-0-9/">Read more</a>
</div>
2017-04-06 19:41:52 +02:00
<div class="latest-item">
<h3>Applying Graph Theory to Infrastructure As Code</h3>
2017-04-05 17:28:34 +02:00
<p>
2017-04-06 19:41:52 +02:00
Watch this talk from HashiConf 2016 where we explore the graph
theory at the heart of Terraform's orchestration engine.
2017-04-05 17:28:34 +02:00
</p>
2017-04-06 19:41:52 +02:00
<a class="button" href="https://www.youtube.com/watch?v=4Pd9NrZSbGU">Watch Video</a>
</div>
2017-04-05 17:28:34 +02:00
</div>
</div>
2017-04-06 19:41:52 +02:00
</div>
2017-04-05 17:28:34 +02:00
<div class="feature-skew" id="latest-announcement-bg"></div>
2017-04-06 19:41:52 +02:00
</section>
2017-04-06 19:41:52 +02:00
<section id="examples" class="marketing gray">
2017-04-05 17:28:34 +02:00
<div class="container">
2017-04-06 19:41:52 +02:00
<div class="row">
2017-04-05 17:28:34 +02:00
<div class="col-sm-12">
<h2>Examples</h2>
<h3>Composing Resources</h3>
2017-04-06 19:41:52 +02:00
<p>
Use attributes from other resources to create an infrastructure
2017-04-05 17:28:34 +02:00
composed of resources across multiple providers.
</p>
</div>
2017-04-06 19:41:52 +02:00
</div>
2014-07-16 23:51:48 +02:00
2017-04-06 19:41:52 +02:00
<div class="row">
<div class="col-md-12">
<div class="terminal">
<span class="circle"></span>
<span class="circle"></span>
<span class="circle"></span>
<div class="terminal-content">
<span>resource <span class="txt-spe">"digitalocean_droplet"</span> <span class="txt-str">"web"</span> {</span>
<span> name = <span class="txt-str">"tf-web"</span></span>
<span> size = <span class="txt-str">"512mb"</span></span>
<span> image = <span class="txt-str">"centos-5-8-x32"</span></span>
<span> region = <span class="txt-str">"sfo1"</span></span>
<span>}</span>
<span> </span>
<span>resource <span class="txt-spe">"dnsimple_record"</span> <span class="txt-str">"hello"</span> {</span>
<span> domain = <span class="txt-str">"example.com"</span></span>
<span> name = <span class="txt-str">"test"</span></span>
<span> value = <span class="txt-str">"<span class="txt-var">${digitalocean_droplet.web.ipv4_address}</span>"</span></span>
<span> type = <span class="txt-str">"A"</span></span>
<span>}</span>
2017-04-05 17:28:34 +02:00
</div>
2017-04-06 19:41:52 +02:00
</div>
</div>
</div>
2014-07-16 23:51:48 +02:00
2017-04-06 19:41:52 +02:00
<div class="row">
<div class="col-sm-12">
2017-04-05 17:28:34 +02:00
<h3>Fast, Simplified Interaction</h3>
2017-04-06 19:41:52 +02:00
<p>
Simple and intuitive configuration makes even the most complicated
2017-04-05 17:28:34 +02:00
services approachable: no more web consoles, loading bars, or
confusing CLI clients.
</p>
</div>
2017-04-06 19:41:52 +02:00
</div>
2014-07-16 23:51:48 +02:00
2017-04-06 19:41:52 +02:00
<div class="row">
<div class="col-md-12">
<div class="terminal">
<span class="circle"></span>
<span class="circle"></span>
<span class="circle"></span>
<div class="terminal-content">
<span>resource <span class="txt-spe">"aws_elb"</span> <span class="txt-str">"frontend"</span> {</span>
<span> name = <span class="txt-str">"frontend-load-balancer"</span></span>
<span> listener {</span>
<span> instance_port = <span class="txt-int">8000</span></span>
<span> instance_protocol = <span class="txt-str">"http"</span></span>
<span> lb_port = <span class="txt-int">80</span></span>
<span> lb_protocol = <span class="txt-str">"http"</span></span>
<span> }</span>
<span> </span>
<span> instances = [<span class="txt-str">"<span class="txt-var">${aws_instance.app.*.id}</span>"</span>]</span>
<span>}</span>
<span> </span>
<span>resource <span class="txt-spe">"aws_instance"</span> <span class="txt-str">"app"</span> {</span>
<span> count = <span class="txt-int">5</span></span>
<span> </span>
<span> ami = <span class="txt-str">"ami-408c7f28"</span></span>
<span> instance_type = <span class="txt-str">"t1.micro"</span></span>
<span>}</span>
2017-04-05 17:28:34 +02:00
</div>
2017-04-06 19:41:52 +02:00
</div>
</div>
</div>
<div class="row">
2017-04-05 17:28:34 +02:00
<div class="cta col-sm-12 col-lg-8 col-lg-offset-2" id="demo-cta">
2017-04-06 19:41:52 +02:00
<p class="lead" align="center">
The intro contains a walkthrough guide, introductory literature, and
a range of examples to experiment with Terraform.
</p>
<p align="center">
<a class="button primary" href="/intro/index.html">Get started</a>
2017-04-05 17:28:34 +02:00
</p>
</div>
</div>
2017-04-06 19:41:52 +02:00
</div>
2017-04-05 17:28:34 +02:00
<div class="feature-skew" id="demo-bg"></div>
2017-04-06 19:41:52 +02:00
</section>
2017-04-06 19:41:52 +02:00
<section id="enterprise" class="marketing black">
2017-04-05 17:28:34 +02:00
<div class="container">
<div class="row">
2017-04-06 19:41:52 +02:00
<div class="col-sm-7">
<%= inline_svg "terraform-enterprise-logo.svg", width: 300 %>
<p class="lead">
Collaborative Infrastructure Automation for organizations. Collaborate
on Terraform configurations, validate changes, and automate
provisioning across providers.
</p>
2017-04-05 17:28:34 +02:00
<p>
<a class="button" href="https://www.hashicorp.com/terraform.html">Learn More</a>
2017-04-06 19:41:52 +02:00
</p>
2017-04-05 17:28:34 +02:00
</div>
</div>
2017-04-06 19:41:52 +02:00
</div>
</section>