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
Terraform Everything - Infrastructure As Code
Search
Andre Marcelo-Tanner
October 28, 2016
Programming
0
100
Terraform Everything - Infrastructure As Code
Use Terraform to setup your infrastructure on the cloud or anywhere.
Andre Marcelo-Tanner
October 28, 2016
Tweet
Share
More Decks by Andre Marcelo-Tanner
See All by Andre Marcelo-Tanner
DevOps Tools Volt In!
kzap
1
550
Singularity Containers & The Rewrite to Go
kzap
1
370
Infrastructure As Code
kzap
1
110
MODERN E-COMMERCE IN 30 MINUTES
kzap
0
97
Laravel & Sylius E-Commerce Framework
kzap
2
2.1k
Google Accelerated Mobile Pages
kzap
0
650
10 Ways to Manage Clients and Keep Your Sanity
kzap
0
230
Other Decks in Programming
See All in Programming
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
640
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
940
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
Patterns of Patterns
denyspoltorak
0
1.4k
「ブロックテーマでは再現できない」は本当か?
inc2734
0
920
AgentCoreとHuman in the Loop
har1101
5
230
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
CSC307 Lecture 01
javiergs
PRO
0
690
CSC307 Lecture 09
javiergs
PRO
1
830
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
300
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
140
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
110
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
KATA
mclloyd
PRO
34
15k
Code Reviewing Like a Champion
maltzj
527
40k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
49
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
51
Transcript
TERRAFORM THE BIG BROTHER OF VAGRANT
OPEN UP WWW.PHACKERS.IO JOIN #DEVOPS Get on Slack! PHACKERS.IO
SPEAKERDECK.COM/KZAP FOLLOW ALONG ONLINE
• github.com/kzap • Examine.com - Director of Technology • Namespace.PH
- Chief Everything Officer. ABOUT.ME
$15K DELL SERVERS COLOCATION, DEDICATED SERVERS IMAGE SOURCE: HTTP://WWW.SOL.NET/TMP/NANOG/SERVERRACK.JPG
THE MAGIC CLOUD WE RUN ON THE CLOUD IMAGE SOURCE:
HTTP://WWW.DEFSYS.COM.AU/WP-CONTENT/UPLOADS/2014/11/CLOUD-SERVER.JPG
THE DASHBOARDS THE TOOLS
INFRASTRUCTURE AS CODE GIT COMMIT -M ‘PRODUCTION SERVER’
SIMPLE TO CONFIGURE
ADVANCED USE CASES
ONE TOOL TO RULE THEM ALL IMAGE SOURCE: VIGNETTE1.WIKIA.NOCOOKIE.NET/LOTR/IMAGES/3/3F/ ONE_RING_TO_RULE_THEM_ALL.GIF/REVISION/LATEST
WWW.TERRAFORM.IO TERRAFORM BASIC COMMANDS ▸ terraform plan ▸ terraform apply
▸ terraform get ▸ terraform show ▸ terraform destroy ▸ terraform import (NEW in 0.7) ▸ terraform state (NEW in 0.7)
TERRAFORM.IO OVER 45 PROVIDERS SUPPORTED ▸ AWS ▸ BITBUCKET ▸
CHEF ▸ CLOUDFLARE ▸ CLOUDSTACK ▸ DIGITAL OCEAN ▸ GITHUB ▸ GOOGLE CLOUD ▸ HEROKU ▸ MAILGUN ▸ MICROSOFT AZURE ▸ MYSQL ▸ OPENSTACK ▸ SOFTLAYER ▸ ULTRADNS ▸ VMWARE
GITHUB.COM/KZAP/TF-LAMP GITHUB.COM/KZAP/TF-APACHE GITHUB.COM/KZAP/TF-MYSQL Terraform Modules you can use right away
TEXT
REUSABLE MODULES MODULE "APP" { SOURCE = "GITHUB.COM/KZAP/TF-LAMP/OPENSTACK" # CUSTOM
CONFIG PREFIX = "APP" PUBLIC_KEY = "${FILE("~/.SSH/ID_RSA.PUB")}" KEY_FILE_PATH = "~/.SSH/ID_RSA" SERVERS = "1" # OPENSTACK CONFIG USERNAME = "${VAR.USERNAME}" TENANT_NAME = "${VAR.TENANT_NAME}" PASSWORD = "${VAR.PASSWORD}" REGION = "REGIONONE" IMAGE_ID = "C1E8C5B5-BEA6-45E9-8202-B8E769B661A4" FLAVOR_ID = "100" # OPENSTACK DEFAULTS AUTH_URL = "HTTPS://IAD2.DREAM.IO:5000/V2.0" USER_LOGIN = "DHC-USER" PUB_NET_ID = "PUBLIC" }
DEMO TIME DISCLAIMER: NEVER DO A LIVE DEMO GITHUB.COM/KZAP/TF-LAMP
GITHUB.COM/KZAP/ TF-LAMP
THANK YOU @KZAPKZAP GITHUB.COM/KZAP EXAMINE.COM TERRAFORM.IO PHACKERS.IO