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
A Tale of Four Properties
chriscoyier
159
23k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Producing Creativity
orderedlist
PRO
344
40k
Statistics for Hackers
jakevdp
799
220k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Unsuck your backbone
ammeep
671
58k
How to train your dragon (web standard)
notwaldorf
91
6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Writing Fast Ruby
sferik
628
61k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
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