GDG Cloud Southlake #22
gcp.tf
Meet Our team
Technical Solution
Consultant, GCC
Imran Nayer
Cloud Infrastructure
Engineer, GCC
Anita Gutta
Introduce Terraform
Show Terraform in Action
Go over modules (Cloud Armor)
GCP TF Resources
Q&A
01
02
03
04
05
Terraform is an Infrastructure as Code (IaC) tool developed by HashiCorp that automates the
building and management of infrastructures using a declarative language
Large community
Multi-cloud
and multi-API
Open core with
enterprise support
Support for all major Cloud
providers as well as many
other services exposed
through an API (like GitHub,
Kubernetes)
Three different editions
ranging from self-hosted to
fully managed with
enterprise-level support
Thousands of third-party
providers and modules
available from the Terraform
Registry
Terraform
Anita
Automate
Capture state
Roll back
Validate
Scale
No reinventing the
wheel, use software
engineering
practices for
infrastructure
Benefits of IaC
Anita
Terraform Google provider
● The Terraform provider for Google Cloud is
jointly developed by HashiCorp and
Google, with support for more than 250
Google Cloud resources.
● Beta provider versions support products
and features which are not yet Generally
Available (GA).
● Support cases can be opened for Google
provider resources.
● Cloud Foundation Toolkit modules, which cover
most Google Cloud products and are designed
to be opinionated and ready-to-use.
○ Terraform-google-module
○ GoogleCloudPlatform
● Fabric modules and examples, which are
designed as a starter kit to be forked and
owned to bootstrap Google Cloud presence,
and for rapid prototyping.
○ Cloud Foundation Fabric
PSO Terraform assets
Terraform Support by Google
Anita
Anita
Hands-on time!
Anita
Create Projects in GCP
● Create Projects
● Enable APIs
● Create Service Account
● resource "google_project"
● resource "google_project_service"
● resource “google_service_account”
● Project Module
Console
Terraform Resources
Terraform Modules
Anita
Modules are containers for multiple resources that are used together.
A module consists of a collection of tf or json files
kept together in a directory.
● Cloud Foundation Toolkit modules, which cover most Google Cloud
products and are designed to be opinionated and ready-to-use.
○ terraform-google-module
○ GoogleCloudPlatform
● Fabric modules and examples, which are designed as a starter kit to
be forked and owned to bootstrap Google Cloud presence, and for
rapid prototyping.
Cloud Foundation Fabric vs Cloud Foundation Toolkit
Recap of Modules
Anita
Pre-Reqs for Modules
● Well maintained
● Large maintainer community
● Make it easy to deploy
● Should be comprehensive
Imran
Why Modules
● Modules are opinionated
● Easier to deploy resources
● New features are added by the community
● May also cover other requirements by the resource. Example:
Project factory, log export module
● Comprehensive testing strategy
Imran
Anatomy of a Module (Cloud Armor Module)
● Module walkthrough
● How many types of resources are needed to deploy cloud
armor?
● How easy is to get resource created with module?
● New features and bug fixes
● Comprehensive testing strategy
● Relationship between main modules and its sub-modules
Imran
● Bug fix or Enhancement Request
○ Go to individual module github site and raise an issue
■ Cloud Foundation Toolkit
■ Fabric
● To contribute: Fork the module, create PR to contribute. PR goes
through automated testing and reviewed by Google module
maintainer team.
Module Maintenance
Imran
● Terraform - crashed …. debug options / trace /
○ https://developer.hashicorp.com/terraform/internals/debugging
○ https://github.com/hashicorp/terraform
● Provider issues … gcp provider
○ https://github.com/hashicorp/terraform-provider-google
● GCP Customer can work with TAM and FSR to get it prioritized
Maintenance cont…
Anita
● Write your own wrapper module on top of CFT module(s) if:
○ You need to extend the module
○ Enforce Security/Compliance rules
● Use modules to improve the consistency of your deployments.
● Use modules to organize your Terraform code.
● Use modules to share your Terraform code with others in your
organization.
Best practices for using modules
Imran
GCP Terraform Resources
● Terraform Provider for Google Cloud / Terraform on Google Cloud GitHub
● Terraform on Google Cloud documentation
● Getting started with Terraform on Google Cloud
● Terraform best practices
● Terraform resource samples
● Blueprints
a. Terraform modules and blueprints for Google Cloud
b. Fabric Blueprints
● Managing Cloud Infrastructure with Terraform (Quest)
● Community contribution GCP repos
a. Public - https://github.com/GoogleCloudPlatform/
b. PSO - https://github.com/GoogleCloudPlatform/professional-services
Anita
Q & A
Imran
Anita
Thank You
Anita

More Related Content

PDF
GDG Cloud Southlake #8 Steve Cravens: Infrastructure as-Code (IaC) in 2022: ...
PDF
Terraforming your Infrastructure on GCP
PPTX
Kubernetes is hard! Lessons learned taking our apps to Kubernetes - Eldad Ass...
PDF
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
PDF
LLMariner - Transform your Kubernetes Cluster Into a GenAI platform
PDF
Getting started with GCP ( Google Cloud Platform)
PDF
DevOps for TYPO3 Teams and Projects
PDF
DevOps & SRE at Google Scale
GDG Cloud Southlake #8 Steve Cravens: Infrastructure as-Code (IaC) in 2022: ...
Terraforming your Infrastructure on GCP
Kubernetes is hard! Lessons learned taking our apps to Kubernetes - Eldad Ass...
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
LLMariner - Transform your Kubernetes Cluster Into a GenAI platform
Getting started with GCP ( Google Cloud Platform)
DevOps for TYPO3 Teams and Projects
DevOps & SRE at Google Scale

Similar to GDG Cloud Southlake no. 22 Gutta and Nayer GCP Terraform Modules Scaling Your Infrastructure the Easy Way.pdf (20)

PDF
WTF is GitOps & Why Should You Care?
PDF
WTF is GitOps and Why You Should Care?
PPTX
Session 4 GCCP.pptx
PDF
Promise of DevOps
PDF
Pivotal Greenplum Cloud Marketplaces - Greenplum Summit 2019
PDF
Rejekts 24 EU No GitOps Pain, No Platform Gain
PDF
On-device ML with TFLite
PDF
Scale with a smile with Google Cloud Platform At DevConTLV (June 2014)
PDF
ITCamp 2018 - Mete Atamel Ian Talarico - Google Home meets .NET containers on...
PDF
Netflix Open Source: Building a Distributed and Automated Open Source Program
PDF
Building a Distributed & Automated Open Source Program at Netflix
PPTX
The Flink - Apache Bigtop integration
PDF
Self-service PR-based Terraform
PDF
20221130 - Luxembourg HUG Meetup
PDF
How to plan and define your CI-CD pipeline
PDF
Room 2 - 3 - Nguyễn Hoài Nam & Nguyễn Việt Hùng - Terraform & Pulumi Comparin...
PDF
Daimler’s Community Approach to TAS Platform Monitoring
PPTX
Week 1 - ACE.pptx
PPTX
Webinar - Building Custom Extensions With AppDynamics
PDF
OpenNebulaConf2019 - How We Use GOCA to Manage our OpenNebula Cloud - Jean-Ph...
WTF is GitOps & Why Should You Care?
WTF is GitOps and Why You Should Care?
Session 4 GCCP.pptx
Promise of DevOps
Pivotal Greenplum Cloud Marketplaces - Greenplum Summit 2019
Rejekts 24 EU No GitOps Pain, No Platform Gain
On-device ML with TFLite
Scale with a smile with Google Cloud Platform At DevConTLV (June 2014)
ITCamp 2018 - Mete Atamel Ian Talarico - Google Home meets .NET containers on...
Netflix Open Source: Building a Distributed and Automated Open Source Program
Building a Distributed & Automated Open Source Program at Netflix
The Flink - Apache Bigtop integration
Self-service PR-based Terraform
20221130 - Luxembourg HUG Meetup
How to plan and define your CI-CD pipeline
Room 2 - 3 - Nguyễn Hoài Nam & Nguyễn Việt Hùng - Terraform & Pulumi Comparin...
Daimler’s Community Approach to TAS Platform Monitoring
Week 1 - ACE.pptx
Webinar - Building Custom Extensions With AppDynamics
OpenNebulaConf2019 - How We Use GOCA to Manage our OpenNebula Cloud - Jean-Ph...
Ad

More from James Anderson (20)

PDF
GDG Cloud Southlake #45: Patrick Debois: The Impact of GenAI on Development a...
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
PDF
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
PDF
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
PDF
GDG Cloud Southlake #41: Shay Levi: Beyond the Hype:How Enterprises Are Using AI
PDF
GDG Cloud Southlake #40: Brandon Stokes: How to Build a Great Product
PDF
GDG Cloud Southlake #39 Jacek Ostrowski: Platform Engineering Useful Models
PDF
GDG Cloud Southlake #38: Alex Snihovyi: The LastDevOps Way for Code Reviews
PDF
GDG Cloud Southlake #36: Kyle Forster: AI and Modern Workflow Automation: Aut...
PDF
GDG Cloud Southlake #35: Aravind Iyengar: The Role of AI in Cyber Risk Manage...
PDF
Alt. GDG Cloud Southlake #35_ Aravind Iyengar_ The Role of AI in Cyber Risk M...
PDF
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
PDF
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
PDF
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
PDF
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
PDF
GDG Cloud Southlake 31: Santosh Chennuri and Festus Yeboah: Empowering Develo...
PDF
GDG Cloud Southlake 30 Brian Demers Breeding 10x Developers with Developer Pr...
PDF
GDG Cloud Southlake 29 Jimmy Mesta OWASP Top 10 for Kubernetes
PDF
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
PDF
GDG SLK - Why should devs care about container security.pdf
GDG Cloud Southlake #45: Patrick Debois: The Impact of GenAI on Development a...
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #41: Shay Levi: Beyond the Hype:How Enterprises Are Using AI
GDG Cloud Southlake #40: Brandon Stokes: How to Build a Great Product
GDG Cloud Southlake #39 Jacek Ostrowski: Platform Engineering Useful Models
GDG Cloud Southlake #38: Alex Snihovyi: The LastDevOps Way for Code Reviews
GDG Cloud Southlake #36: Kyle Forster: AI and Modern Workflow Automation: Aut...
GDG Cloud Southlake #35: Aravind Iyengar: The Role of AI in Cyber Risk Manage...
Alt. GDG Cloud Southlake #35_ Aravind Iyengar_ The Role of AI in Cyber Risk M...
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 31: Santosh Chennuri and Festus Yeboah: Empowering Develo...
GDG Cloud Southlake 30 Brian Demers Breeding 10x Developers with Developer Pr...
GDG Cloud Southlake 29 Jimmy Mesta OWASP Top 10 for Kubernetes
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG SLK - Why should devs care about container security.pdf
Ad

Recently uploaded (20)

PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
PDF
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
PPTX
Module 1 Introduction to Web Programming .pptx
PPTX
Presentation - Principles of Instructional Design.pptx
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
Electrocardiogram sequences data analytics and classification using unsupervi...
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
Auditboard EB SOX Playbook 2023 edition.
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
Module 1 Introduction to Web Programming .pptx
Presentation - Principles of Instructional Design.pptx
A symptom-driven medical diagnosis support model based on machine learning te...
Build Real-Time ML Apps with Python, Feast & NoSQL
giants, standing on the shoulders of - by Daniel Stenberg
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Introduction to MCP and A2A Protocols: Enabling Agent Communication
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
4 layer Arch & Reference Arch of IoT.pdf
EIS-Webinar-Regulated-Industries-2025-08.pdf
Advancing precision in air quality forecasting through machine learning integ...
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
Electrocardiogram sequences data analytics and classification using unsupervi...
NewMind AI Weekly Chronicles – August ’25 Week IV

GDG Cloud Southlake no. 22 Gutta and Nayer GCP Terraform Modules Scaling Your Infrastructure the Easy Way.pdf

  • 1. GDG Cloud Southlake #22 gcp.tf
  • 2. Meet Our team Technical Solution Consultant, GCC Imran Nayer Cloud Infrastructure Engineer, GCC Anita Gutta
  • 3. Introduce Terraform Show Terraform in Action Go over modules (Cloud Armor) GCP TF Resources Q&A 01 02 03 04 05
  • 4. Terraform is an Infrastructure as Code (IaC) tool developed by HashiCorp that automates the building and management of infrastructures using a declarative language Large community Multi-cloud and multi-API Open core with enterprise support Support for all major Cloud providers as well as many other services exposed through an API (like GitHub, Kubernetes) Three different editions ranging from self-hosted to fully managed with enterprise-level support Thousands of third-party providers and modules available from the Terraform Registry Terraform Anita
  • 5. Automate Capture state Roll back Validate Scale No reinventing the wheel, use software engineering practices for infrastructure Benefits of IaC Anita
  • 6. Terraform Google provider ● The Terraform provider for Google Cloud is jointly developed by HashiCorp and Google, with support for more than 250 Google Cloud resources. ● Beta provider versions support products and features which are not yet Generally Available (GA). ● Support cases can be opened for Google provider resources. ● Cloud Foundation Toolkit modules, which cover most Google Cloud products and are designed to be opinionated and ready-to-use. ○ Terraform-google-module ○ GoogleCloudPlatform ● Fabric modules and examples, which are designed as a starter kit to be forked and owned to bootstrap Google Cloud presence, and for rapid prototyping. ○ Cloud Foundation Fabric PSO Terraform assets Terraform Support by Google Anita
  • 9. Create Projects in GCP ● Create Projects ● Enable APIs ● Create Service Account ● resource "google_project" ● resource "google_project_service" ● resource “google_service_account” ● Project Module Console Terraform Resources Terraform Modules Anita
  • 10. Modules are containers for multiple resources that are used together. A module consists of a collection of tf or json files kept together in a directory. ● Cloud Foundation Toolkit modules, which cover most Google Cloud products and are designed to be opinionated and ready-to-use. ○ terraform-google-module ○ GoogleCloudPlatform ● Fabric modules and examples, which are designed as a starter kit to be forked and owned to bootstrap Google Cloud presence, and for rapid prototyping. Cloud Foundation Fabric vs Cloud Foundation Toolkit Recap of Modules Anita
  • 11. Pre-Reqs for Modules ● Well maintained ● Large maintainer community ● Make it easy to deploy ● Should be comprehensive Imran
  • 12. Why Modules ● Modules are opinionated ● Easier to deploy resources ● New features are added by the community ● May also cover other requirements by the resource. Example: Project factory, log export module ● Comprehensive testing strategy Imran
  • 13. Anatomy of a Module (Cloud Armor Module) ● Module walkthrough ● How many types of resources are needed to deploy cloud armor? ● How easy is to get resource created with module? ● New features and bug fixes ● Comprehensive testing strategy ● Relationship between main modules and its sub-modules Imran
  • 14. ● Bug fix or Enhancement Request ○ Go to individual module github site and raise an issue ■ Cloud Foundation Toolkit ■ Fabric ● To contribute: Fork the module, create PR to contribute. PR goes through automated testing and reviewed by Google module maintainer team. Module Maintenance Imran
  • 15. ● Terraform - crashed …. debug options / trace / ○ https://developer.hashicorp.com/terraform/internals/debugging ○ https://github.com/hashicorp/terraform ● Provider issues … gcp provider ○ https://github.com/hashicorp/terraform-provider-google ● GCP Customer can work with TAM and FSR to get it prioritized Maintenance cont… Anita
  • 16. ● Write your own wrapper module on top of CFT module(s) if: ○ You need to extend the module ○ Enforce Security/Compliance rules ● Use modules to improve the consistency of your deployments. ● Use modules to organize your Terraform code. ● Use modules to share your Terraform code with others in your organization. Best practices for using modules Imran
  • 17. GCP Terraform Resources ● Terraform Provider for Google Cloud / Terraform on Google Cloud GitHub ● Terraform on Google Cloud documentation ● Getting started with Terraform on Google Cloud ● Terraform best practices ● Terraform resource samples ● Blueprints a. Terraform modules and blueprints for Google Cloud b. Fabric Blueprints ● Managing Cloud Infrastructure with Terraform (Quest) ● Community contribution GCP repos a. Public - https://github.com/GoogleCloudPlatform/ b. PSO - https://github.com/GoogleCloudPlatform/professional-services Anita