Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to Terraform
Search
TANABE Ken-ichi
April 17, 2015
0
2.5k
Introduction to Terraform
TANABE Ken-ichi
April 17, 2015
Tweet
Share
More Decks by TANABE Ken-ichi
See All by TANABE Ken-ichi
AAA: An ACME Agent for AWS environment
nabeken
0
3.3k
The Twelve-Factor Apps
nabeken
0
51
Ship cli tools for cross-platform with Github + wecker
nabeken
0
1.4k
Go and License
nabeken
8
11k
Featured
See All Featured
Writing Fast Ruby
sferik
628
61k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
179
53k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
13
840
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
It's Worth the Effort
3n
184
28k
How STYLIGHT went responsive
nonsquared
100
5.5k
The World Runs on Bad Software
bkeepers
PRO
68
11k
Building an army of robots
kneath
305
45k
Practical Orchestrator
shlominoach
187
11k
Transcript
Introduction to Terraform 2015/4/17 @ HDE MTS #11 TANABE Ken-ichi
Terraform, it’s HashiCorp’s product
Terraform, it’s HashiCorp’s product • Vagrant (written in Ruby) Programmable
Virtual Machine Frontend • Packer (written in Go) Programmable Machine Image Builder • Consul (Yes, Go!) Distributed KVS, Service Discovery, etc • and Terraform (Yes, Go!) Programmable IaaS
Documentation • Good Docs but… • Spend much time •
Click, Click, Click • Not repeatable • CloudFormation?
CloudFormation • JSON nightmare… • Repeatable • Not maintainable •
Not intuitive at ALL • No dry-run
Terraform comes to the rescue • No JSON! • Simple,
easy-to-use DSL • Built-in dry-run feature • Not only for AWS but for GCP, Heroku, ... • Calculate dependencies on behalf of us • Everything is in version control • No migration tool for now
Seeing is believing 百聞は一見にしかず • Live Demonstration • VPC •
Subnet • Security Group • ELB • EC2
VPC
Subnet
Security Group
Internet Gateway
Route Association
ELB
Last: EC2
omake (Appendix)
Thank you for listening Any question? You can find this
example at https://github.com/nabeken/mts-terraform-example/tree/7