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
92
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
480
Singularity Containers & The Rewrite to Go
kzap
1
280
Infrastructure As Code
kzap
1
100
MODERN E-COMMERCE IN 30 MINUTES
kzap
0
91
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
210
Other Decks in Programming
See All in Programming
Mermaid x AST x 生成AI = コードとドキュメントの完全同期への道
shibuyamizuho
0
160
採用事例の少ないSvelteを選んだ理由と それを正解にするためにやっていること
oekazuma
2
1k
第5回日本眼科AI学会総会_AIコンテスト_3位解法
neilsaw
0
170
nekko cloudにおけるProxmox VE利用事例
irumaru
3
420
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
0
110
42 best practices for Symfony, a decade later
tucksaun
1
180
複雑な仕様に立ち向かうアーキテクチャ
myohei
0
170
命名をリントする
chiroruxx
1
390
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
MCP with Cloudflare Workers
yusukebe
2
220
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
250
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
300
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
66
4.5k
Speed Design
sergeychernyshev
25
670
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.3k
Writing Fast Ruby
sferik
628
61k
Optimising Largest Contentful Paint
csswizardry
33
3k
How GitHub (no longer) Works
holman
311
140k
Done Done
chrislema
181
16k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
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