|
22 | 22 | <div class="container"> |
23 | 23 | <div class="row"> |
24 | 24 | <div class="col-lg-7 col-md-7 col-sm-12"> |
25 | | - <h2 class="feature-t">Automatically build infrastructure from code</h2> |
26 | | - <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vestibulum nibh vitae quam dapibus, nec sodales dolor sodales. Class aptent taciti sociosqu ad litora.</p> |
| 25 | + <h2 class="feature-t">Build Infrastructure from code, automatically</h2> |
| 26 | + <p>Terraform provides a common configuration to launch infrastructure — |
| 27 | + from hosted database providers to VPS services and AWS.</p> |
| 28 | + <p>Simple file based configuration gives you a single view |
| 29 | + of your entire infrastructure.</p> |
27 | 30 | </div> |
28 | 31 | <div class="col-lg-5 col-md-5 col-sm-12"> |
29 | | - <h3 class="terminal-text">$ terraform plan</h3> |
| 32 | + <h3 class="terminal-text">$ terraform apply</h3> |
30 | 33 | </div> |
31 | 34 | </div> |
32 | 35 | </div> <!-- /container --> |
|
44 | 47 | </div> |
45 | 48 | </div> |
46 | 49 | <div class="col-lg-7 col-md-7 col-sm-12"> |
47 | | - <h2 class="feature-t">Iterate on infrastructure safely</h2> |
48 | | - <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vestibulum nibh vitae quam dapibus, nec sodales dolor sodales. Class aptent taciti sociosqu ad litora.</p> |
| 50 | + <h2 class="feature-t">Combine Mulitple Providers</h2> |
| 51 | + <p>Terraform allows you to effortlessly combine high level system |
| 52 | + providers with your own or with each other. Built-in dependency resolution means |
| 53 | + things happen in the right order — and it's all implied. </p> |
49 | 54 | </div> |
50 | 55 | </div> |
51 | 56 | </div> <!-- /container --> |
|
55 | 60 | <div class="container"> |
56 | 61 | <div class="row"> |
57 | 62 | <div class="col-lg-5 col-md-5 col-sm-12"> |
58 | | - <h2 class="feature-t">Clone complete environments easily</h2> |
59 | | - <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vestibulum nibh vitae quam dapibus, nec sodales dolor sodales. Class aptent taciti sociosqu ad litora.</p> |
| 63 | + <h2 class="feature-t">Diff your Infrastructure</h2> |
| 64 | + <p>Your common configuration can be stored in version control, shared |
| 65 | + and distributed among your team. Updates, scaling and modifications |
| 66 | + will be diffed first, so you can change with confidence.</p> |
60 | 67 | </div> |
61 | 68 | <div class="col-md-push-1 col-lg-6 col-md-6 col-sm-12"> |
62 | 69 | <div class="clone-icon f-icon"> |
|
127 | 134 | <div class="terminals row"> |
128 | 135 |
|
129 | 136 | <div class="col-xs-12 col-lg-12 explantion"> |
130 | | - <h2>DNS Query Interface</h2> |
| 137 | + <h2>Combining Multiple Resources with Variables</h2> |
131 | 138 | <p> |
132 | | - Look up services using Terraform's built-in DNS server. Support |
133 | | - existing infrastructure without any code change. |
| 139 | + Access attributes on other resources, even if they |
| 140 | + are only available after the resource is created. Dependency |
| 141 | + resolution knows what you need. |
134 | 142 | </p> |
135 | 143 | </div> |
136 | 144 |
|
|
152 | 160 | <p>resource "dnsimple_record" "hello" {</p> |
153 | 161 | <p> domain = "jack.ly"</p> |
154 | 162 | <p> name = "hello"</p> |
155 | | - <p> value = "${digitalocean_droplet.foobar.ipv4_address}"</p> |
| 163 | + <p> value = "<span class="txt-r">${digitalocean_droplet.foobar.ipv4_address}</span>"</p> |
156 | 164 | <p> type = "A"</p> |
157 | 165 | <p>}</p> |
158 | 166 | </div> |
|
162 | 170 | </div> <!-- /.terminal-item --> |
163 | 171 |
|
164 | 172 | <div class="col-xs-12 col-lg-12 explantion"> |
165 | | - <h2>Key Value Storage</h2> |
| 173 | + <h2>Fast, Simplified Interaction</h2> |
166 | 174 | <p> |
167 | | - Terraform provides a hierarchical key/value store with a simple HTTP API. |
168 | | - Managing configuration has never been simpler. |
| 175 | + Say goodbye to complicated web consoles, loading bars, command line |
| 176 | + clients and confusing documentation. Simple and intuitive configuration |
| 177 | + makes even the most complicated services approachable. |
169 | 178 | </p> |
170 | 179 | </div> |
171 | 180 |
|
|
177 | 186 | <div class="terminal-window"> |
178 | 187 | <div class=""> |
179 | 188 | <div class="display"> |
180 | | - <p>resource "digitalocean_droplet" "web" {</p> |
181 | | - <p> name = "baz"</p> |
182 | | - <p> size = "512mb"</p> |
183 | | - <p> image = "centos-5-8-x32"</p> |
184 | | - <p> region = "sfo1"</p> |
| 189 | + <p>resource "aws_elb" "frontend" {</p> |
| 190 | + <p> name = "frontend-load-balancer"</p> |
| 191 | + <p> listener {</p> |
| 192 | + <p> instance_port = 8000</p> |
| 193 | + <p> instance_protocol = "http"</p> |
| 194 | + <p> lb_port = 80</p> |
| 195 | + <p> lb_protocol = "http"</p> |
| 196 | + <p> }</p> |
| 197 | + <p> </p> |
| 198 | + <p> instances = ["${aws_instance.app.*.id}"]</p> |
185 | 199 | <p>}</p> |
186 | 200 | <p> </p> |
187 | | - <p>resource "dnsimple_record" "hello" {</p> |
188 | | - <p> domain = "jack.ly"</p> |
189 | | - <p> name = "hello"</p> |
190 | | - <p> value = "${digitalocean_droplet.foobar.ipv4_address}"</p> |
191 | | - <p> type = "A"</p> |
| 201 | + <p>resource "aws_instance" "app" {</p> |
| 202 | + <p> count = 5</p> |
| 203 | + <p> </p> |
| 204 | + <p> ami = "ami-043a5034"</p> |
| 205 | + <p> instance_type = "m1.small"</p> |
192 | 206 | <p>}</p> |
193 | 207 | </div> |
194 | 208 | </div> |
|
0 commit comments