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.4k
The Twelve-Factor Apps
nabeken
0
56
Ship cli tools for cross-platform with Github + wecker
nabeken
0
1.4k
Go and License
nabeken
8
11k
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Building an army of robots
kneath
306
46k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
Done Done
chrislema
185
16k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Why Our Code Smells
bkeepers
PRO
339
57k
Speed Design
sergeychernyshev
32
1.1k
A Tale of Four Properties
chriscoyier
160
23k
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