github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/index.html.erb (about) 1 --- 2 description: |- 3 Terraform enables you to safely and predictably create, change, and improve 4 production infrastructure. It is an open source tool that codifies APIs into 5 declarative configuration files that can be shared amongst team members, 6 treated as code, edited, reviewed, and versioned. 7 --- 8 9 <header> 10 <div class="container hero"> 11 <div class="row"> 12 <div class="col-md-offset-2 col-md-8"> 13 <%= inline_svg "logo-hashicorp.svg", height: 120, class: "logo" %> 14 15 <h1>Write, Plan, and Create Infrastructure as Code</h1> 16 17 <a class="button primary" href="/intro/index.html">Get Started</a> 18 <a class="button" href="/downloads.html">Download <%= latest_version %></a> 19 </div> 20 </div> 21 </div> 22 </header> 23 24 <section id="features" class="marketing white"> 25 <div class="container"> 26 <div class="row"> 27 <div class="col-md-12"> 28 <h2>Simple and Powerful</h2> 29 <p class="lead"> 30 Terraform enables you to safely and predictably create, change, and 31 improve production infrastructure. It is an open source tool that 32 codifies APIs into declarative configuration files that can be shared amongst team members, 33 treated as code, edited, reviewed, and versioned. 34 </p> 35 </div> 36 </div> 37 <div class="row"> 38 <div class="col-sm-4"> 39 <a href="#write" class="feature-card"> 40 <span>Write</span> 41 <p>Infrastructure as code</p> 42 <%= inline_svg "feature-card-write.svg" %> 43 </a> 44 </div> 45 <div class="col-sm-4"> 46 <a href="#plan" class="feature-card"> 47 <span>Plan</span> 48 <p>Preview changes before applying</p> 49 <%= inline_svg "feature-card-plan.svg" %> 50 </a> 51 </div> 52 <div class="col-sm-4"> 53 <a href="#create" class="feature-card"> 54 <span>Create</span> 55 <p>Reproducible infrastructure</p> 56 <%= inline_svg "feature-card-create.svg" %> 57 </a> 58 </div> 59 </div> 60 </div> 61 </section> 62 63 <hr /> 64 65 <section id="write" class="marketing"> 66 <div class="container"> 67 <div class="row"> 68 <div class="col-sm-12"> 69 <span class="callout">Write</span> 70 <h2>Infrastructure as Code</h2> 71 <p class="lead"> 72 Define infrastructure as code to increase operator productivity 73 and transparency. 74 </p> 75 </div> 76 </div> 77 <div class="row"> 78 <div class="col-sm-5"> 79 <h3>Collaborate & share</h3> 80 <p>Terraform configuration can be stored in version control, 81 shared, and collaborated on by teams of operators.</p> 82 <h3>Evolve your infrastructure</h3> 83 <p>Track the complete history of infrastructure versions.</p> 84 <h3>Automation friendly</h3> 85 <p>If it can be codified, it can be automated.</p> 86 </div> 87 <div class="col-sm-7"> 88 <%= inline_svg "feature-write-bg.svg", class: "feature-image" %> 89 </div> 90 </div> 91 </div> 92 </section> 93 94 <section id="plan" class="marketing purple"> 95 <div class="container"> 96 <div class="row"> 97 <div class="col-sm-12"> 98 <span class="callout">Plan</span> 99 <h2>One Safe Workflow Across Providers</h2> 100 <p class="lead">Terraform provides an elegant user experience for 101 operators to safely and predictably make changes to infrastructure.</p> 102 </div> 103 </div> 104 <div class="row"> 105 <div class="col-sm-12"> 106 <%= inline_svg "feature-plan-bg.svg", class: "feature-image" %> 107 </div> 108 </div> 109 <div class="row"> 110 <div class="col-sm-4"> 111 <h3>Map Resource Dependencies</h3> 112 <p> 113 Understand how a minor change could have potential cascading effects 114 across an infrastructure before executing that change. Terraform 115 builds a dependency graph from the configurations, and walks this 116 graph to generate plans, refresh state, and more. 117 </p> 118 </div> 119 <div class="col-sm-4"> 120 <h3>Separation of Plan & Apply</h3> 121 <p> 122 Separating plans and applies reduces mistakes and uncertainty at 123 scale. Plans show operators what would happen, applies execute 124 changes. 125 </p> 126 </div> 127 <div class="col-sm-4"> 128 <h3>One Safe Workflow</h3> 129 <p> 130 Use Terraform to create resources across all major infrastructure 131 providers (AWS, GCP, Azure, OpenStack, VMware, and more). 132 </p> 133 </div> 134 </div> 135 </div> 136 </section> 137 138 <section id="create" class="marketing"> 139 <div class="container"> 140 <div class="row"> 141 <div class="col-sm-6"> 142 <span class="callout">Create</span> 143 <h2>Reproducible Infrastructure</h2> 144 <p class="lead">Terraform lets operators easily use the same 145 configurations in multiple places to reduce mistakes and save time.</p> 146 </div> 147 <div class="col-sm-6"> 148 <%= inline_svg "feature-create-bg.svg", class: "feature-image" %> 149 </div> 150 </div> 151 <div class="row"> 152 <div class="col-sm-4"> 153 <h3>Environment parity</h3> 154 <p>Use the same Terraform configuration to provision identical staging, 155 QA, and production environments.</p> 156 </div> 157 <div class="col-sm-4"> 158 <h3>Shareable modules</h3> 159 <p>Common Terraform configurations can be packaged as modules and used 160 across teams and organizations.</p> 161 </div> 162 <div class="col-sm-4"> 163 <h3>Combine multiple providers consistently</h3> 164 <p>Terraform allows you to effortlessly combine high-level system 165 providers. Launch a server from one cloud provider, add a DNS entry 166 with its IP with a different provider. Built-in dependency resolution 167 means things happen in the right order.</p> 168 </div> 169 </div> 170 </div> 171 </section> 172 173 <section id="news" class="marketing purple"> 174 <div class="container"> 175 <div class="row"> 176 <div class="col-sm-12"> 177 <h2>Latest News</h2> 178 </div> 179 <div class="col-md-5 col-sm-12"> 180 <div class="latest-item"> 181 <h3>Coming Soon!</h3> 182 <p> 183 We have some exciting new announcements planned for Terraform. Check 184 back soon to learn more. 185 </p> 186 <p> 187 </div> 188 </div> 189 <div class="col-md-offset-1 col-md-6 col-sm-12"> 190 <div class="latest-item"> 191 <h3>Terraform 0.9 Released</h3> 192 <p> 193 Terraform 0.9 adds major new functionality to Terraform. Read the 194 highlights from the 0.9 release 195 </p> 196 <a class="button" href="https://www.hashicorp.com/blog/terraform-0-9/">Read more</a> 197 </div> 198 <div class="latest-item"> 199 <h3>Applying Graph Theory to Infrastructure As Code</h3> 200 <p> 201 Watch this talk from HashiConf 2016 where we explore the graph 202 theory at the heart of Terraform's orchestration engine. 203 </p> 204 <a class="button" href="https://www.youtube.com/watch?v=4Pd9NrZSbGU">Watch Video</a> 205 </div> 206 </div> 207 </div> 208 </div> 209 <div class="feature-skew" id="latest-announcement-bg"></div> 210 </section> 211 212 <section id="examples" class="marketing gray"> 213 <div class="container"> 214 <div class="row"> 215 <div class="col-sm-12"> 216 <h2>Examples</h2> 217 <h3>Composing Resources</h3> 218 <p> 219 Use attributes from other resources to create an infrastructure 220 composed of resources across multiple providers. 221 </p> 222 </div> 223 </div> 224 225 <div class="row"> 226 <div class="col-md-12"> 227 <div class="terminal"> 228 <span class="circle"></span> 229 <span class="circle"></span> 230 <span class="circle"></span> 231 <div class="terminal-content"> 232 <span>resource <span class="txt-spe">"digitalocean_droplet"</span> <span class="txt-str">"web"</span> {</span> 233 <span> name = <span class="txt-str">"tf-web"</span></span> 234 <span> size = <span class="txt-str">"512mb"</span></span> 235 <span> image = <span class="txt-str">"centos-5-8-x32"</span></span> 236 <span> region = <span class="txt-str">"sfo1"</span></span> 237 <span>}</span> 238 <span> </span> 239 <span>resource <span class="txt-spe">"dnsimple_record"</span> <span class="txt-str">"hello"</span> {</span> 240 <span> domain = <span class="txt-str">"example.com"</span></span> 241 <span> name = <span class="txt-str">"test"</span></span> 242 <span> value = <span class="txt-str">"<span class="txt-var">${digitalocean_droplet.web.ipv4_address}</span>"</span></span> 243 <span> type = <span class="txt-str">"A"</span></span> 244 <span>}</span> 245 </div> 246 </div> 247 </div> 248 </div> 249 250 <div class="row"> 251 <div class="col-sm-12"> 252 <h3>Fast, Simplified Interaction</h3> 253 <p> 254 Simple and intuitive configuration makes even the most complicated 255 services approachable: no more web consoles, loading bars, or 256 confusing CLI clients. 257 </p> 258 </div> 259 </div> 260 261 <div class="row"> 262 <div class="col-md-12"> 263 <div class="terminal"> 264 <span class="circle"></span> 265 <span class="circle"></span> 266 <span class="circle"></span> 267 <div class="terminal-content"> 268 <span>resource <span class="txt-spe">"aws_elb"</span> <span class="txt-str">"frontend"</span> {</span> 269 <span> name = <span class="txt-str">"frontend-load-balancer"</span></span> 270 <span> listener {</span> 271 <span> instance_port = <span class="txt-int">8000</span></span> 272 <span> instance_protocol = <span class="txt-str">"http"</span></span> 273 <span> lb_port = <span class="txt-int">80</span></span> 274 <span> lb_protocol = <span class="txt-str">"http"</span></span> 275 <span> }</span> 276 <span> </span> 277 <span> instances = [<span class="txt-str">"<span class="txt-var">${aws_instance.app.*.id}</span>"</span>]</span> 278 <span>}</span> 279 <span> </span> 280 <span>resource <span class="txt-spe">"aws_instance"</span> <span class="txt-str">"app"</span> {</span> 281 <span> count = <span class="txt-int">5</span></span> 282 <span> </span> 283 <span> ami = <span class="txt-str">"ami-408c7f28"</span></span> 284 <span> instance_type = <span class="txt-str">"t1.micro"</span></span> 285 <span>}</span> 286 </div> 287 </div> 288 </div> 289 </div> 290 291 <div class="row"> 292 <div class="cta col-sm-12 col-lg-8 col-lg-offset-2" id="demo-cta"> 293 <p class="lead" align="center"> 294 The intro contains a walkthrough guide, introductory literature, and 295 a range of examples to experiment with Terraform. 296 </p> 297 <p align="center"> 298 <a class="button primary" href="/intro/index.html">Get started</a> 299 </p> 300 </div> 301 </div> 302 </div> 303 <div class="feature-skew" id="demo-bg"></div> 304 </section> 305 306 <section id="enterprise" class="marketing black"> 307 <div class="container"> 308 <div class="row"> 309 <div class="col-sm-7"> 310 <%= inline_svg "terraform-enterprise-logo.svg", width: 300 %> 311 <p class="lead"> 312 Collaborative Infrastructure Automation for organizations. Collaborate 313 on Terraform configurations, validate changes, and automate 314 provisioning across providers. 315 </p> 316 <p> 317 <a class="button" href="https://www.hashicorp.com/terraform.html">Learn More</a> 318 </p> 319 </div> 320 </div> 321 </div> 322 </section>