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
88
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
390
Singularity Containers & The Rewrite to Go
kzap
1
230
Infrastructure As Code
kzap
1
99
MODERN E-COMMERCE IN 30 MINUTES
kzap
0
87
Laravel & Sylius E-Commerce Framework
kzap
2
2.1k
Google Accelerated Mobile Pages
kzap
0
640
10 Ways to Manage Clients and Keep Your Sanity
kzap
0
200
Other Decks in Programming
See All in Programming
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
120
ゆるい個人開発のススメ
kuroppe1819
10
980
ONE WEDGE_company_guide
1wedge_one
0
450
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
5
880
Java 22 Overview
kishida
1
180
VS Code をプロダクトにどう取り込むか
onomax
1
350
Designing for tomorrow's programming workflows
honnibal
PRO
2
120
Front-end application development, Symfony-style(s)
dunglas
2
2k
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
640
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
26
8.2k
Folding Cheat Sheet #3
philipschwarz
PRO
0
120
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
680
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
The Art of Programming - Codeland 2020
erikaheidi
42
12k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Typedesign – Prime Four
hannesfritz
36
2.1k
YesSQL, Process and Tooling at Scale
rocio
164
13k
A Philosophy of Restraint
colly
197
16k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Writing Fast Ruby
sferik
621
60k
Mobile First: as difficult as doing things right
swwweet
216
8.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
990
What's new in Ruby 2.0
geeforr
337
31k
Making Projects Easy
brettharned
108
5.5k
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