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.2k
The Twelve-Factor Apps
nabeken
0
49
Ship cli tools for cross-platform with Github + wecker
nabeken
0
1.4k
Go and License
nabeken
8
11k
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
334
57k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Visualization
eitanlees
145
15k
YesSQL, Process and Tooling at Scale
rocio
168
14k
Docker and Python
trallard
40
3.1k
What's new in Ruby 2.0
geeforr
343
31k
Building Your Own Lightsaber
phodgson
102
6.1k
The World Runs on Bad Software
bkeepers
PRO
65
11k
The Invisible Side of Design
smashingmag
297
50k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Music & Morning Musume
bryan
46
6.2k
Into the Great Unknown - MozCon
thekraken
32
1.5k
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