terraform/website/source/index.html.erb

243 lines
8.5 KiB
Plaintext
Raw Normal View History

2014-07-16 23:51:48 +02:00
<!-- Main jumbotron for a primary marketing message or call to action -->
<div id="jumbotron-mask">
<div id="jumbotron">
<div class="jumbotron-content" id="jumbotron-content">
2016-10-03 21:20:26 +02:00
<h2 class="tag-line" id="tag-line" style="visibility: hidden;">Write, plan, and create infrastructure</h2>
2016-10-04 20:07:55 +02:00
<p class="lead">Terraform is an open source tool that allows you to codify APIs into
declarative configuration files that can be shared amongst team members,
treated as code, edited, reviewed, and versioned. Terraform allows you
safely and predictably create, change, and improve production
infrastructure.</p>
<p>
<button class="btn">Get Started &gt;</button>
</p>
2014-07-24 05:35:57 +02:00
</div>
2014-07-16 23:51:48 +02:00
</div>
</div>
2016-10-04 20:07:55 +02:00
<div class="col-sm-12">
<p>Trusted in production by:</p>
<ul class="customer-list">
<li>Nike</li>
<li>HBO</li>
<li>Capital One</li>
<li>Target</li>
<li>Hotels.com</li>
<li>Home Depot</li>
</ul>
</div>
2016-10-03 21:20:26 +02:00
<div class="feature" id="feature-overview">
2014-07-16 23:51:48 +02:00
<div class="container">
2014-07-23 00:31:43 +02:00
<div class="row">
2016-10-03 21:20:26 +02:00
<div class="col-sm-12">
<h2>Features</h2>
2014-07-16 23:51:48 +02:00
</div>
2016-10-03 21:20:26 +02:00
<div class="col-md-4 col-sm-12">
<div class="feature-card">
<h3>Write</h3>
<p>Infrastructure as code</p>
</div>
</div>
2016-10-03 21:20:26 +02:00
<div class="col-md-4 col-sm-12">
<div class="feature-card">
<h3>Plan</h3>
<p>Workflows, not technologies</p>
2014-07-16 23:51:48 +02:00
</div>
</div>
2016-10-03 21:20:26 +02:00
<div class="col-md-4 col-sm-12">
<div class="feature-card">
<h3>Create</h3>
<p>Cloneable infrastructure</p>
</div>
</div>
2014-07-16 23:51:48 +02:00
</div>
2016-10-03 21:20:26 +02:00
</div>
</div>
2014-07-16 23:51:48 +02:00
2016-10-03 21:51:57 +02:00
<div class="feature" id="feature-write">
<div class="container">
<div class="row">
<div class="col-sm-12">
<h2>Infrastructure as code</h2>
<p class="lead">Define infrastructure as code to increase operator productivity through collaboration and automation.</p>
</div>
<div class="col-sm-4">
<h3>Collaborate &amp; share</h3>
<p>Terraform configuration and state can be stored in version control,
shared, and collaborated on by teams of operators.</p>
<h3>Evolve your infrastructure</h3>
<p>Track the complete history of infrastructure versions.</p>
<h3>Automation friendly</h3>
<p>If it can be codified, it can be automated.</p>
</div>
</div>
</div> <!-- /container -->
<div class="feature-skew" id="feature-auto-bg"></div>
</div> <!-- /feature -->
2014-07-23 04:39:04 +02:00
2016-10-03 22:06:23 +02:00
<div class="feature" id="feature-plan">
<div class="container">
<div class="row">
<div class="col-sm-12">
<h2>One safe workflow across providers</h2>
<p class="lead">Terraform provides an elegant user experience for
operators to safely and predictably make changes to infrastructure.</p>
</div>
<div class="col-sm-4">
<h3>Map resource dependencies</h3>
<p>Understand how a minor change could have potential cascading effects
across an infrastructure before executing that change. Terraform
builds a dependency graph from the configurations, and walks this
graph to generate plans, refresh state, and more.</p>
</div>
<div class="col-sm-4">
<h3>Separation of plan &amp; apply</h3>
<p>Separating plans and applies reduces mistakes and uncertainty at
scale. Plans show operators what would happen, applies execute
changes.</p>
</div>
<div class="col-sm-4">
<h3>One workflow</h3>
<p>Use Terraform to create resources across all major infrastructure
providers (AWS, GCP, Azure, OpenStack, VMware, and more).</p>
</div>
</div>
</div> <!-- /container -->
<div class="feature-skew" id="feature-auto-bg"></div>
</div> <!-- /feature -->
2016-10-03 22:10:31 +02:00
<div class="feature" id="feature-create">
<div class="container">
<div class="row">
<div class="col-sm-12">
<h2>Cloneable infrastructure</h2>
<p class="lead">Infrastructures share commonality across environments
and organizations. Terraform lets operators easily use the same
configurations in multiple places to save time. </p>
</div>
<div class="col-sm-4">
<h3>Identical environments</h3>
<p>Use the same Terraform configuration to provision identical staging,
qa, and production environments.</p>
</div>
<div class="col-sm-4">
<h3>Shareable modules</h3>
<p>Common Terraform configurations can be packaged as modules and used
across teams and organizations.</p>
</div>
<div class="col-sm-4">
<h3>Combine multiple providers consistently</h3>
<p>Terraform allows you to effortlessly combine high-level system
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>
</div> <!-- /container -->
<div class="feature-skew" id="feature-auto-bg"></div>
</div> <!-- /feature -->
<div class="skew-item" id="demos">
2014-07-16 23:51:48 +02:00
<div class="container">
<div class="terminals row">
2016-10-04 20:07:55 +02:00
<div class="col-sm-12">
<h2>Examples</h2>
</div>
2014-07-16 23:51:48 +02:00
<div class="col-xs-12 col-lg-12 explantion">
2016-10-04 20:07:55 +02:00
<h3>Layering Resources</h3>
<p>Use attributes from other resources to create a layered
infrastructure. Terraform handles ordering resource creation
automatically.
2014-07-16 23:51:48 +02:00
</p>
</div>
<div class="terminal-item col-xs-12 col-lg-12">
<div class="terminal">
<header>
<h4>Example Configuration</h4>
2014-07-16 23:51:48 +02:00
</header>
<div class="terminal-window">
2014-07-25 20:21:29 +02:00
<div class="">
2014-07-16 23:51:48 +02:00
<div class="display">
2014-07-28 19:48:25 +02:00
<p>resource <span class="txt-spe">"digitalocean_droplet"</span> <span class="txt-str">"web"</span> {</p>
<p> name = <span class="txt-str">"tf-web"</span></p>
<p> size = <span class="txt-str">"512mb"</span></p>
<p> image = <span class="txt-str">"centos-5-8-x32"</span></p>
<p> region = <span class="txt-str">"sfo1"</span></p>
<p>}</p>
<p> </p>
2014-07-28 19:48:25 +02:00
<p>resource <span class="txt-spe">"dnsimple_record"</span> <span class="txt-str">"hello"</span> {</p>
<p> domain = <span class="txt-str">"example.com"</span></p>
<p> name = <span class="txt-str">"test"</span></p>
<p> value = <span class="txt-str">"<span class="txt-var">${digitalocean_droplet.web.ipv4_address}</span>"</span></p>
<p> type = <span class="txt-str">"A"</span></p>
<p>}</p>
2014-07-16 23:51:48 +02:00
</div>
</div>
</div>
</div>
</div> <!-- /.terminal-item -->
<div class="col-xs-12 col-lg-12 explantion">
2016-10-04 20:07:55 +02:00
<h3>Fast, Simplified Interaction</h3>
2014-07-16 23:51:48 +02:00
<p>
Simple and intuitive configuration makes even the most complicated services approachable:
no more web consoles, loading bars, or confusing CLI clients.
2014-07-16 23:51:48 +02:00
</p>
</div>
<div class="terminal-item col-xs-12 col-lg-12">
<div class="terminal">
<header>
<h4>Example Configuration</h4>
2014-07-16 23:51:48 +02:00
</header>
<div class="terminal-window">
2014-07-25 20:21:29 +02:00
<div class="">
2014-07-16 23:51:48 +02:00
<div class="display">
2014-07-28 19:48:25 +02:00
<p>resource <span class="txt-spe">"aws_elb"</span> <span class="txt-str">"frontend"</span> {</p>
2014-07-28 19:41:17 +02:00
<p> name = <span class="txt-str">"frontend-load-balancer"</span></p>
<p> listener {</p>
2014-07-28 19:41:17 +02:00
<p> instance_port = <span class="txt-int">8000</span></p>
<p> instance_protocol = <span class="txt-str">"http"</span></p>
<p> lb_port = <span class="txt-int">80</span></p>
<p> lb_protocol = <span class="txt-str">"http"</span></p>
<p> }</p>
<p> </p>
2014-07-28 19:41:17 +02:00
<p> instances = [<span class="txt-str">"<span class="txt-var">${aws_instance.app.*.id}</span>"</span>]</p>
<p>}</p>
<p> </p>
2014-07-28 19:48:25 +02:00
<p>resource <span class="txt-spe">"aws_instance"</span> <span class="txt-str">"app"</span> {</p>
2014-07-28 19:41:17 +02:00
<p> count = <span class="txt-int">5</span></p>
2015-12-15 23:20:24 +01:00
<p> </p>
<p> ami = <span class="txt-str">"ami-408c7f28"</span></p>
<p> instance_type = <span class="txt-str">"t1.micro"</span></p>
<p>}</p>
2014-07-16 23:51:48 +02:00
</div>
</div>
</div>
</div>
</div> <!-- /.terminal-item -->
</div>
</div>
<div class="feature-skew" id="demo-bg"></div>
2014-07-16 23:51:48 +02:00
</div><!-- /#demos -->
<div class="skew-item" id="cta">
2014-07-16 23:51:48 +02:00
<div class="container">
<div class="row">
<div class="intro">
2014-07-24 02:14:03 +02:00
<div class="left col-xs-12 col-sm-4 col-sm-offset-1 col-md-offset-2 col-md-4">
2014-07-27 21:16:56 +02:00
<p>The intro contains a walkthrough guide, introductory literature
and a range of examples to experiment with Terraform.</p>
2014-07-16 23:51:48 +02:00
</div>
2014-07-24 02:14:03 +02:00
<div class="col-xs-12 col-sm-6 col-md-4 right">
2014-07-27 21:16:56 +02:00
<a class="outline-btn" href="/intro/index.html">Try Terraform &#187;</a>
2014-07-16 23:51:48 +02:00
</div>
</div>
</div>
</div>
<div class="feature-skew" id="cta-bg"></div>
2014-07-16 23:51:48 +02:00
</div>