SlideShare a Scribd company logo
Terraform: Why?
Devops Columbia
October 22nd , 2020
Gabriel Alix
VP, Intel
galix@applied-insight.com
2
Gabe is a Cloud Technologist and accomplished Cyber practitioner
who has led & built complex workloads across the IC for 20+ years.
He's a native New Yorker from Washington Heights, with a
boisterous laugh and calm demeanor. Gabe has built a strong
career starting in Federal service and has evolved into CTO and
now VP of Intel for Applied Insight. In addition to his technical
accolades, he's a social leader that believes in building and growing
strong teams
@gabrielalix
Gabriel Alix
At Applied Insight, we deliver pragmatic solutions for federal missions that cannot
wait. We work closely with agencies and industry to overcome technical and
cultural hurdles to innovation, empowering them with the latest cloud, data and
cyber capabilities. Our solutions help people work better, faster and more securely
– no matter where they are. To learn more about us, visit applied-insight.com.
Applied Insight
3
Agenda
• Intro/Purpose
• Takeaways
• What is Terraform
• Why should you care?
• Time to feature release
• Lots of neat built-in functions
• Organization/Modules
• Variables and State
4
• Data and Resources
• Circle of Life – Init/Plan/Apply/Destroy
• Module Registry
• HashiCorp Ecosystem
• 0.12 - 0.13 – 0.14
• Other Resources
Intro
5
WHAT IS ALL THE HUBBUB WITH
TERRAFORM?!
I’M GOOD WITH
CLOUDFORMATION, SHOULD I
EVEN PAY ATTENTION TO THIS?
Takeaways
6
TERRAFORM IS A VERSATILE
CLOUD ORCHESTRATER
REALLY EASY TO PICK UP AND
START WORKING WITH
NOT WITHOUT ITS ISSUES
(COUNT FUNCTION NOT
WORKING IN MODULES,
WEIRD IF/THEN/ELSE
CONDITIONS, ADVANCED HCL
GETS COMPLICATED) PRE –
0.12
AWS CFN IS FIGHTING BACK
What is
Terraform?
7
Terraform is a popular Cloud Orchestration tool.
It has become popular due to its ease of use,
some missteps by AWS, and how well organized
complex projects can be, and at the time, some
missing quality of life features in CFN.
Terraform also promises one language to
connect to any cloud provider – think of a multi-
cloud-scenario <Insert snarky Lord of Rings One
Ring Reference ;)>
Why Should
You Even
Care?
8
Is common tech used by both
Commercial and Government Customers
Can be used within your DevOps process
Provides features currently missing from
air-gapped region’s version of CFN
Can you be used to prove the state of
infrastructure for Security reviews
Feature Parity and Intrinsic functions
• Took 36 days for Aurora Serverless to receive CFN support
• There is the perception that CFN is not a Tier 1 services within AWS
• Reddit Rage
• Limited Intrinsic functions (no looping, counting, random
generation, etc..)
9
Installing Terraform
Terraform is a single binary written in Go
wget https://releases.hashicorp.com/terraform/0.13.4/terraform_0.13.4_linux_amd64.zip
sudo unzip terraform_0.13.4_linux_amd64.zip -d /usr/local/bin
10
File Structure
11
Root folder contains main files and subfolder (modules)
Every folder contains the following:
• main.tf
• outputs.tf
• variables.tf
#Create directory structure
mkdir -p terraform-aws/{networking,compute,storage}
cd terraform-aws
#Create root files
touch {main.tf,variables.tf,outputs.tf,terraform.tfvars}
#Create Sub-folder files
touch {networking,compute,storage}/{main.tf,variables.tf,outputs.tf}
12
Built-In
Functions
13
CloudFormation is Not Slacking = CDK
CloudFormation Macros introduced Count (seem
familiar? ;) )
14
Variables and Interpolation
15
Stateful
16
Drift Detection
17
Data and Resource Objects
• Providers (e.g. AWS, Azure, …)
• Each has their own collection of Data and Resource Objects
• Data objects – lookup information for use within Terraform
• Resource Objects – create actual items within a given Provider
18
Terraform Workspaces
19
Creates multiple environments to allow you to deploy various copies of your Terraform configurations
Circle of Life – Init/Plan/Apply/Destroy
• Init – will initialize a given Terraform project. Need to rerun when
adding a new provider or module
• Plan – will show you what changes will be made
• Apply – takes the plan and executes it
• Destroy – self-explanatory
20
Module Registry
21
22
HashiCorp Eco-System
23
Terraform Perfect? NOPE.
24
What about the Competition?
AKA if CDK + Terraform had a baby
25
Other Resources
26
Terraform Best
Practices
HashiConf 2020 Terraform
Module Registry
https://learn.hashicorp.com/
27
Thank you
Devops Columbia
October 22nd , 2020
Gabriel Alix
VP, IC Vertical
galix@applied-insight.com

More Related Content

PPTX
Corporate IT at NetApp
PDF
Případová studie Fortuna aneb Veeam dostupnost v praxi
PDF
Optimizing Spark Deployments for Containers: Isolation, Safety, and Performan...
PDF
Slide Webinar NetApp 30 Gennaio
PPTX
RedisConf17 - Building Large High Performance Redis Databases with Redis Ente...
PDF
OpenStack at the speed of business with SolidFire & Red Hat
PPTX
Real World Modern Development Use Cases with RackHD and Adobe
PDF
Oracle Cloud - Infrastruktura jako kód
Corporate IT at NetApp
Případová studie Fortuna aneb Veeam dostupnost v praxi
Optimizing Spark Deployments for Containers: Isolation, Safety, and Performan...
Slide Webinar NetApp 30 Gennaio
RedisConf17 - Building Large High Performance Redis Databases with Redis Ente...
OpenStack at the speed of business with SolidFire & Red Hat
Real World Modern Development Use Cases with RackHD and Adobe
Oracle Cloud - Infrastruktura jako kód

What's hot (17)

PPTX
Using new sentinel features in terraform cloud
PPTX
Webinar: Don't believe the hype, you don't need dedicated storage for VDI
PPTX
End User Computing with NetApp
PDF
Alluxio Architecture and Performance
PPTX
Cloud Stack & Cloud Storage
PPTX
There are 250 Database products, are you running the right one?
PDF
Overview of how NetApp IT Runs NetApp Technology in Their Enterprise
PDF
The Architecture of Decoupling Compute and Storage with Alluxio
PDF
cleversafe_definitive_guide_white_paper
PDF
NetApp IT Data Center Strategies to Enable Digital Transformation
PDF
RedisConf17 - Amadeus - Redis-Cluster operator
PDF
NetApp enterprise All Flash Storage
PPTX
WEBINAR: Architectures for Digital Transformation and Next-Generation Systems...
PDF
IBM Object Storage and Software Defined Solutions - Cleversafe
PDF
Zero data Loss Recovery Appliance
PDF
Iperconvergenza come migliora gli economics del tuo IT
PDF
Slides: Start Small, Grow Big with a Unified Scale-Out Infrastructure
Using new sentinel features in terraform cloud
Webinar: Don't believe the hype, you don't need dedicated storage for VDI
End User Computing with NetApp
Alluxio Architecture and Performance
Cloud Stack & Cloud Storage
There are 250 Database products, are you running the right one?
Overview of how NetApp IT Runs NetApp Technology in Their Enterprise
The Architecture of Decoupling Compute and Storage with Alluxio
cleversafe_definitive_guide_white_paper
NetApp IT Data Center Strategies to Enable Digital Transformation
RedisConf17 - Amadeus - Redis-Cluster operator
NetApp enterprise All Flash Storage
WEBINAR: Architectures for Digital Transformation and Next-Generation Systems...
IBM Object Storage and Software Defined Solutions - Cleversafe
Zero data Loss Recovery Appliance
Iperconvergenza come migliora gli economics del tuo IT
Slides: Start Small, Grow Big with a Unified Scale-Out Infrastructure
Ad

Similar to Devops Columbia October 2020 - Gabriel Alix: A Discussion on Terraform (20)

PDF
A case study why Zoominfo uses Terraform Cloud in high-scale environment.
PPTX
Terraform: Taming the Machines Through Continuous Integration
PDF
Terraform In Action Meap V10 Meap Scott Winkler
PDF
Terraform in Depth (MEAP V01) Robert Hafner
PDF
Terraform in Depth (MEAP V01) Robert Hafner
PDF
Instant download Terraform in Depth (MEAP V01) Robert Hafner pdf all chapter
PPTX
Linode_eBook_Declarative_Cloud_Infrastructure_Management_with_Terraform.pptx
PDF
Terraform Definition, Working and Challenges it Overcomes
PPTX
Terraform and Cyber-Range strucutre.pptx
PDF
Terraform Up Running Writing Infrastructure as Code 2nd Edition Yevgeniy Brikman
PPTX
Terraform Automation in Azure Online Training Institute in Hyderabad.pptx
PPTX
Using Terraform for AWS as the IaC tool
PPTX
Terraform - The Road to Self-Service
PDF
Hashicorp-Terraform-Deep-Dive-with-no-Fear-Victor-Turbinsky-Texuna.pdf
PDF
Terraform-2.pdf
PDF
GDG Cloud Southlake #8 Steve Cravens: Infrastructure as-Code (IaC) in 2022: ...
PDF
Infrastructure as Code with Terraform
PPTX
Terraform day 1
PDF
Microservices with Terraform, Docker and the Cloud. DevOps Wet 2018
PDF
Terraforming your Infrastructure on GCP
A case study why Zoominfo uses Terraform Cloud in high-scale environment.
Terraform: Taming the Machines Through Continuous Integration
Terraform In Action Meap V10 Meap Scott Winkler
Terraform in Depth (MEAP V01) Robert Hafner
Terraform in Depth (MEAP V01) Robert Hafner
Instant download Terraform in Depth (MEAP V01) Robert Hafner pdf all chapter
Linode_eBook_Declarative_Cloud_Infrastructure_Management_with_Terraform.pptx
Terraform Definition, Working and Challenges it Overcomes
Terraform and Cyber-Range strucutre.pptx
Terraform Up Running Writing Infrastructure as Code 2nd Edition Yevgeniy Brikman
Terraform Automation in Azure Online Training Institute in Hyderabad.pptx
Using Terraform for AWS as the IaC tool
Terraform - The Road to Self-Service
Hashicorp-Terraform-Deep-Dive-with-no-Fear-Victor-Turbinsky-Texuna.pdf
Terraform-2.pdf
GDG Cloud Southlake #8 Steve Cravens: Infrastructure as-Code (IaC) in 2022: ...
Infrastructure as Code with Terraform
Terraform day 1
Microservices with Terraform, Docker and the Cloud. DevOps Wet 2018
Terraforming your Infrastructure on GCP
Ad

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Electronic commerce courselecture one. Pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
KodekX | Application Modernization Development
Diabetes mellitus diagnosis method based random forest with bat algorithm
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The AUB Centre for AI in Media Proposal.docx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Spectroscopy.pptx food analysis technology
Big Data Technologies - Introduction.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Programs and apps: productivity, graphics, security and other tools
Electronic commerce courselecture one. Pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Network Security Unit 5.pdf for BCA BBA.
Digital-Transformation-Roadmap-for-Companies.pptx
Unlocking AI with Model Context Protocol (MCP)
KodekX | Application Modernization Development

Devops Columbia October 2020 - Gabriel Alix: A Discussion on Terraform

  • 1. Terraform: Why? Devops Columbia October 22nd , 2020 Gabriel Alix VP, Intel galix@applied-insight.com
  • 2. 2 Gabe is a Cloud Technologist and accomplished Cyber practitioner who has led & built complex workloads across the IC for 20+ years. He's a native New Yorker from Washington Heights, with a boisterous laugh and calm demeanor. Gabe has built a strong career starting in Federal service and has evolved into CTO and now VP of Intel for Applied Insight. In addition to his technical accolades, he's a social leader that believes in building and growing strong teams @gabrielalix Gabriel Alix
  • 3. At Applied Insight, we deliver pragmatic solutions for federal missions that cannot wait. We work closely with agencies and industry to overcome technical and cultural hurdles to innovation, empowering them with the latest cloud, data and cyber capabilities. Our solutions help people work better, faster and more securely – no matter where they are. To learn more about us, visit applied-insight.com. Applied Insight 3
  • 4. Agenda • Intro/Purpose • Takeaways • What is Terraform • Why should you care? • Time to feature release • Lots of neat built-in functions • Organization/Modules • Variables and State 4 • Data and Resources • Circle of Life – Init/Plan/Apply/Destroy • Module Registry • HashiCorp Ecosystem • 0.12 - 0.13 – 0.14 • Other Resources
  • 5. Intro 5 WHAT IS ALL THE HUBBUB WITH TERRAFORM?! I’M GOOD WITH CLOUDFORMATION, SHOULD I EVEN PAY ATTENTION TO THIS?
  • 6. Takeaways 6 TERRAFORM IS A VERSATILE CLOUD ORCHESTRATER REALLY EASY TO PICK UP AND START WORKING WITH NOT WITHOUT ITS ISSUES (COUNT FUNCTION NOT WORKING IN MODULES, WEIRD IF/THEN/ELSE CONDITIONS, ADVANCED HCL GETS COMPLICATED) PRE – 0.12 AWS CFN IS FIGHTING BACK
  • 7. What is Terraform? 7 Terraform is a popular Cloud Orchestration tool. It has become popular due to its ease of use, some missteps by AWS, and how well organized complex projects can be, and at the time, some missing quality of life features in CFN. Terraform also promises one language to connect to any cloud provider – think of a multi- cloud-scenario <Insert snarky Lord of Rings One Ring Reference ;)>
  • 8. Why Should You Even Care? 8 Is common tech used by both Commercial and Government Customers Can be used within your DevOps process Provides features currently missing from air-gapped region’s version of CFN Can you be used to prove the state of infrastructure for Security reviews
  • 9. Feature Parity and Intrinsic functions • Took 36 days for Aurora Serverless to receive CFN support • There is the perception that CFN is not a Tier 1 services within AWS • Reddit Rage • Limited Intrinsic functions (no looping, counting, random generation, etc..) 9
  • 10. Installing Terraform Terraform is a single binary written in Go wget https://releases.hashicorp.com/terraform/0.13.4/terraform_0.13.4_linux_amd64.zip sudo unzip terraform_0.13.4_linux_amd64.zip -d /usr/local/bin 10
  • 11. File Structure 11 Root folder contains main files and subfolder (modules) Every folder contains the following: • main.tf • outputs.tf • variables.tf #Create directory structure mkdir -p terraform-aws/{networking,compute,storage} cd terraform-aws #Create root files touch {main.tf,variables.tf,outputs.tf,terraform.tfvars} #Create Sub-folder files touch {networking,compute,storage}/{main.tf,variables.tf,outputs.tf}
  • 12. 12
  • 14. CloudFormation is Not Slacking = CDK CloudFormation Macros introduced Count (seem familiar? ;) ) 14
  • 18. Data and Resource Objects • Providers (e.g. AWS, Azure, …) • Each has their own collection of Data and Resource Objects • Data objects – lookup information for use within Terraform • Resource Objects – create actual items within a given Provider 18
  • 19. Terraform Workspaces 19 Creates multiple environments to allow you to deploy various copies of your Terraform configurations
  • 20. Circle of Life – Init/Plan/Apply/Destroy • Init – will initialize a given Terraform project. Need to rerun when adding a new provider or module • Plan – will show you what changes will be made • Apply – takes the plan and executes it • Destroy – self-explanatory 20
  • 22. 22
  • 25. What about the Competition? AKA if CDK + Terraform had a baby 25
  • 28. Thank you Devops Columbia October 22nd , 2020 Gabriel Alix VP, IC Vertical galix@applied-insight.com