SlideShare a Scribd company logo
#GlobalAzureAthens
May13th, 2023
#GlobalAzure
#GlobalAzureAthens
#GlobalAzure
#GlobalAzureAthens
Dear Global Azure Athens
2023 sponsors,
your support made all the
difference — thank you!
➢ Infrastructure as Code (IaC)
• Infrastructure as Code (IaC) Tools
➢ Terraform
• What is Terraform?
• Terraform Deployment Tools
• Terraform Workflow
• Main Terraform Commands
• Terraform Benefits
• Terraform Terminology
• Architecture diagram
➢ How the Terraform code looks
➢ Demo
• What is Infrastructure as Code (IaC)
#GlobalAzure
#GlobalAzureAthens
Infrastructure as
Code (IaC)
#GlobalAzure
#GlobalAzureAthens
“ With infrastructure as code (IaC), infrastructure, such as
networks, virtual machines, load balancers, and connection
topologies, is defined and deployed using DevOps
methodologies and versioning. ”
#GlobalAzure
#GlobalAzureAthens
Terraform
Terraform creates and manages resources on cloud platforms and other
services through their application programming Interfaces (APIs).
Providers enable Terraform to work with virtually any platform or service
with an accessible API.
Visual Studio Code
Azure PowerShell
Windows CMD
Bash
Windows Terminal
Azure Cloud Shell
Azure DevOps pipelines
Write
Define infrastructure in
configuration files
Plan
Review the changes Terraform
will make to your infrastructure
Apply
Terraform provisions
your infrastructure and
updates the state files
1000+
PROVIDERS
Write
Terraform configuration files define the
infrastructure resources to be created or
managed with Terraform.
Plan
The "terraform plan" command lets you
see how Terraform will modify your
infrastructure after it is initialized.
Apply
With "terraform apply", you can apply the
changes to your infrastructure once the
plan has been reviewed and approved.
terraform init
Main Terraform Commands
It downloads and installs any necessary plugins and modules to initialize a Terraform
working directory.
terraform plan
terraform apply
terraform validate
terraform destroy
>
>
>
>
>
This command, generates an execution plan showing what will happen when you apply
your configuration. In other words, it is a preview of the changes to your infrastructure
without having to make them.
It applies the changes to an infrastructure. Depending on the desired state, resources are
created, updated, or deleted.
It validates the terraform configuration files to check for any syntax errors.
This command, destroys the infrastructure resources managed by terraform.
Terraform Benefits
• Cloud platform agnostic
• Agentless
• Ease deployment
• Cost Estimation
It doesn’t require additional software. Nothing is needed to install. The
agentless approach in Terraform simplifies the infrastructure management
process, increases flexibility, improves security, and reduces costs.
Being agnostic cloud platform terraform means it can be used to manage
infrastructure resources across multiple cloud providers, such as Microsoft
Azure, Google Cloud, AWS, and others.
Organizations can deploy infrastructure resources faster, more efficiently, and
consistently while reducing errors and automating infrastructure deployments.
The cost estimation benefits of Terraform can help organizations better manage
their infrastructure spending, create more accurate budgets, optimize resource
usage, and choose the most cost-effective cloud provider for their needs.
Terraform Terminology
Resource: Resources are the most important element in the Terraform language. Each resource block describes one or
more infrastructure objects, such as virtual networks, compute instances, or higher-level components such as
DNS records.
Provider: A plugin that defines the APIs and resources available for a specific cloud platform or service. For Azure, the
provider is the "azurerm" provider.
Module: Modules are containers for multiple resources that are used together. A module consists of a collection of .tf
and/or .tf.json files kept together in a directory.
Input variable: Input variables let you customize aspects of Terraform modules without altering the module's own
source code.
Output variable: Output values make information about your infrastructure available on the command line and can
expose information for other Terraform configurations to use. Output values are similar to return values
in programming languages.
Data Source: Data sources allow Terraform to use information defined outside of Terraform, defined by another
separate Terraform configuration, or modified by functions.
State: Terraform must store state about your managed infrastructure and configuration. This state is used by
Terraform to map real world resources to your configuration, keep track of metadata, and to improve
performance for large infrastructures. This state is stored by default in a local file named "terraform.
Architecture Diagram
TF Configuration File (.tf)
Dev/IT Terraform Core Terraform Azure Provider
> terraform init
How the terraform code looks?
terraform{
required_providers {
azurerm = {
source = "hashicorp/azurerm"
}
}
}
provider "azurerm" {
features {}
}
resource "azurerm_resource_group" "{resource group}" {
name="{resource group}"
location = "westeurope"
}
resource "azurerm_storage_account" "{storage account}" {
name = "{storage account}"
resource_group_name = azurerm_resource_group.{resource group}.name
location = azurerm_resource_group.{resource group}.location
account_tier = "Standard"
account_replication_type = "LRS"
}
resource "azurerm_storage_container" "images" {
name = "images"
storage_account_name = azurerm_storage_account.{storage account}.name
container_access_type = "private"
}
#GlobalAzure
#GlobalAzureAthens
#GlobalAzure
#GlobalAzureAthens
• https://github.com/topics/terraform-cost-estimation
• https://developer.hashicorp.com/terraform/cloud-docs/cost-estimation/azure
• https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
• https://github.com/hashicorp/terraform-provider-azurerm
• https://learn.microsoft.com/en-us/azure/developer/terraform/
#GlobalAzure
#GlobalAzureAthens
• Azure Batch Shipyard @
https://github.com/Azure/batch-shipyard
• Cognitive toolkit @ https://cntk.ai
• Learn more about Azure N-Series on Channel 9
• Re-visit Connect on Channel 9.
A big thank you to our
sponsors!
https://bit.ly/GA23Evaluation
Please evaluate !

More Related Content

What's hot

Terraform
TerraformTerraform
Terraform
Otto Jongerius
 
Deploying Azure DevOps using Terraform
Deploying Azure DevOps using TerraformDeploying Azure DevOps using Terraform
Deploying Azure DevOps using Terraform
Adin Ermie
 
Getting Started with Infrastructure as Code
Getting Started with Infrastructure as CodeGetting Started with Infrastructure as Code
Getting Started with Infrastructure as Code
WinWire Technologies Inc
 
An introduction to terraform
An introduction to terraformAn introduction to terraform
An introduction to terraform
Julien Pivotto
 
Terraform -- Infrastructure as Code
Terraform -- Infrastructure as CodeTerraform -- Infrastructure as Code
Terraform -- Infrastructure as Code
Martin Schütte
 
Terraform
TerraformTerraform
Terraform
Diego Pacheco
 
Infrastructure as Code with Terraform and Ansible
Infrastructure as Code with Terraform and AnsibleInfrastructure as Code with Terraform and Ansible
Infrastructure as Code with Terraform and Ansible
DevOps Meetup Bern
 
Effective terraform
Effective terraformEffective terraform
Effective terraform
Calvin French-Owen
 
Building infrastructure as code using Terraform - DevOps Krakow
Building infrastructure as code using Terraform - DevOps KrakowBuilding infrastructure as code using Terraform - DevOps Krakow
Building infrastructure as code using Terraform - DevOps Krakow
Anton Babenko
 
Terraform
TerraformTerraform
Terraform
Adam Vincze
 
Terraform: An Overview & Introduction
Terraform: An Overview & IntroductionTerraform: An Overview & Introduction
Terraform: An Overview & Introduction
Lee Trout
 
Best Practices of Infrastructure as Code with Terraform
Best Practices of Infrastructure as Code with TerraformBest Practices of Infrastructure as Code with Terraform
Best Practices of Infrastructure as Code with Terraform
DevOps.com
 
Terraform modules and best-practices - September 2018
Terraform modules and best-practices - September 2018Terraform modules and best-practices - September 2018
Terraform modules and best-practices - September 2018
Anton Babenko
 
Intro to Terraform
Intro to TerraformIntro to Terraform
Intro to Terraform
Josh Michielsen
 
Terraform
TerraformTerraform
Terraform
Harish Kumar
 
Terraform
TerraformTerraform
Terraform
Marcelo Serpa
 
Terraform
TerraformTerraform
Introduction to IAC and Terraform
Introduction to IAC and Terraform Introduction to IAC and Terraform
Introduction to IAC and Terraform
Venkat NaveenKashyap Devulapally
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
Albert Suwandhi
 
infrastructure as code
infrastructure as codeinfrastructure as code
infrastructure as code
Amazon Web Services
 

What's hot (20)

Terraform
TerraformTerraform
Terraform
 
Deploying Azure DevOps using Terraform
Deploying Azure DevOps using TerraformDeploying Azure DevOps using Terraform
Deploying Azure DevOps using Terraform
 
Getting Started with Infrastructure as Code
Getting Started with Infrastructure as CodeGetting Started with Infrastructure as Code
Getting Started with Infrastructure as Code
 
An introduction to terraform
An introduction to terraformAn introduction to terraform
An introduction to terraform
 
Terraform -- Infrastructure as Code
Terraform -- Infrastructure as CodeTerraform -- Infrastructure as Code
Terraform -- Infrastructure as Code
 
Terraform
TerraformTerraform
Terraform
 
Infrastructure as Code with Terraform and Ansible
Infrastructure as Code with Terraform and AnsibleInfrastructure as Code with Terraform and Ansible
Infrastructure as Code with Terraform and Ansible
 
Effective terraform
Effective terraformEffective terraform
Effective terraform
 
Building infrastructure as code using Terraform - DevOps Krakow
Building infrastructure as code using Terraform - DevOps KrakowBuilding infrastructure as code using Terraform - DevOps Krakow
Building infrastructure as code using Terraform - DevOps Krakow
 
Terraform
TerraformTerraform
Terraform
 
Terraform: An Overview & Introduction
Terraform: An Overview & IntroductionTerraform: An Overview & Introduction
Terraform: An Overview & Introduction
 
Best Practices of Infrastructure as Code with Terraform
Best Practices of Infrastructure as Code with TerraformBest Practices of Infrastructure as Code with Terraform
Best Practices of Infrastructure as Code with Terraform
 
Terraform modules and best-practices - September 2018
Terraform modules and best-practices - September 2018Terraform modules and best-practices - September 2018
Terraform modules and best-practices - September 2018
 
Intro to Terraform
Intro to TerraformIntro to Terraform
Intro to Terraform
 
Terraform
TerraformTerraform
Terraform
 
Terraform
TerraformTerraform
Terraform
 
Terraform
TerraformTerraform
Terraform
 
Introduction to IAC and Terraform
Introduction to IAC and Terraform Introduction to IAC and Terraform
Introduction to IAC and Terraform
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
 
infrastructure as code
infrastructure as codeinfrastructure as code
infrastructure as code
 

Similar to Deploy resources on Azure using IaC (Azure Terraform)

Terraform Definition, Working and Challenges it Overcomes
Terraform Definition, Working and Challenges it OvercomesTerraform Definition, Working and Challenges it Overcomes
Terraform Definition, Working and Challenges it Overcomes
Eyeglass Repair USA
 
Terraform Basics
Terraform BasicsTerraform Basics
Terraform Basics
Mohammed Fazuluddin
 
Infrastructure as Code with Terraform.pptx
Infrastructure as Code with Terraform.pptxInfrastructure as Code with Terraform.pptx
Infrastructure as Code with Terraform.pptx
Samuel862293
 
Linode_eBook_Declarative_Cloud_Infrastructure_Management_with_Terraform.pptx
Linode_eBook_Declarative_Cloud_Infrastructure_Management_with_Terraform.pptxLinode_eBook_Declarative_Cloud_Infrastructure_Management_with_Terraform.pptx
Linode_eBook_Declarative_Cloud_Infrastructure_Management_with_Terraform.pptx
AkwasiBoateng6
 
Provisioning with Terraform - AzureDay Reloaded
Provisioning with Terraform - AzureDay Reloaded Provisioning with Terraform - AzureDay Reloaded
Provisioning with Terraform - AzureDay Reloaded
Giorgio Lasala
 
Azure Day Rome 2019 Reloaded - Effettuare il provisioning su Azure utilizzand...
Azure Day Rome 2019 Reloaded - Effettuare il provisioning su Azure utilizzand...Azure Day Rome 2019 Reloaded - Effettuare il provisioning su Azure utilizzand...
Azure Day Rome 2019 Reloaded - Effettuare il provisioning su Azure utilizzand...
azuredayit
 
What is the Benefit of Using Terraform?
What is the Benefit of Using Terraform?What is the Benefit of Using Terraform?
What is the Benefit of Using Terraform?
Ravendra Singh
 
Why Learn Terraform?
Why Learn Terraform?Why Learn Terraform?
Why Learn Terraform?
Ravendra Singh
 
DevOps Online Training
DevOps Online Training DevOps Online Training
DevOps Online Training
Visualpath Training
 
Infrastructure as Code for Azure: ARM or Terraform?
Infrastructure as Code for Azure: ARM or Terraform?Infrastructure as Code for Azure: ARM or Terraform?
Infrastructure as Code for Azure: ARM or Terraform?
Katherine Golovinova
 
A brief introduction to IaC with Terraform by Kenton Robbins (codeHarbour May...
A brief introduction to IaC with Terraform by Kenton Robbins (codeHarbour May...A brief introduction to IaC with Terraform by Kenton Robbins (codeHarbour May...
A brief introduction to IaC with Terraform by Kenton Robbins (codeHarbour May...
Alex Cachia
 
What are the Benefits of Using Terraform?
What are the Benefits of Using Terraform?What are the Benefits of Using Terraform?
What are the Benefits of Using Terraform?
Ravendra Singh
 
Configuration management II - Terraform
Configuration management II - TerraformConfiguration management II - Terraform
Configuration management II - Terraform
Xavier Serrat Bordas
 
What Are the Reasons for Choosing Terraform for DevOps
What Are the Reasons for Choosing Terraform for DevOpsWhat Are the Reasons for Choosing Terraform for DevOps
What Are the Reasons for Choosing Terraform for DevOps
ShwanSelby
 
Infrastructure as Code with Terraform
Infrastructure as Code with TerraformInfrastructure as Code with Terraform
Infrastructure as Code with Terraform
Tim Berry
 
Terraform day 1
Terraform day 1Terraform day 1
Terraform day 1
Kalkey
 
DevOps Online Training | DevOps Training
DevOps Online Training | DevOps TrainingDevOps Online Training | DevOps Training
DevOps Online Training | DevOps Training
Visualpath Training
 
Cassandra Lunch #86: DataStax Astra Terraform Provider
Cassandra Lunch #86: DataStax Astra Terraform ProviderCassandra Lunch #86: DataStax Astra Terraform Provider
Cassandra Lunch #86: DataStax Astra Terraform Provider
Anant Corporation
 
Maximizing DevOps Efficiency with Terraform.pptx
Maximizing DevOps Efficiency with Terraform.pptxMaximizing DevOps Efficiency with Terraform.pptx
Maximizing DevOps Efficiency with Terraform.pptx
Catherine William
 
DevOps Training - Introduction to Terraform
DevOps Training - Introduction to TerraformDevOps Training - Introduction to Terraform
DevOps Training - Introduction to Terraform
Rauno De Pasquale
 

Similar to Deploy resources on Azure using IaC (Azure Terraform) (20)

Terraform Definition, Working and Challenges it Overcomes
Terraform Definition, Working and Challenges it OvercomesTerraform Definition, Working and Challenges it Overcomes
Terraform Definition, Working and Challenges it Overcomes
 
Terraform Basics
Terraform BasicsTerraform Basics
Terraform Basics
 
Infrastructure as Code with Terraform.pptx
Infrastructure as Code with Terraform.pptxInfrastructure as Code with Terraform.pptx
Infrastructure as Code with Terraform.pptx
 
Linode_eBook_Declarative_Cloud_Infrastructure_Management_with_Terraform.pptx
Linode_eBook_Declarative_Cloud_Infrastructure_Management_with_Terraform.pptxLinode_eBook_Declarative_Cloud_Infrastructure_Management_with_Terraform.pptx
Linode_eBook_Declarative_Cloud_Infrastructure_Management_with_Terraform.pptx
 
Provisioning with Terraform - AzureDay Reloaded
Provisioning with Terraform - AzureDay Reloaded Provisioning with Terraform - AzureDay Reloaded
Provisioning with Terraform - AzureDay Reloaded
 
Azure Day Rome 2019 Reloaded - Effettuare il provisioning su Azure utilizzand...
Azure Day Rome 2019 Reloaded - Effettuare il provisioning su Azure utilizzand...Azure Day Rome 2019 Reloaded - Effettuare il provisioning su Azure utilizzand...
Azure Day Rome 2019 Reloaded - Effettuare il provisioning su Azure utilizzand...
 
What is the Benefit of Using Terraform?
What is the Benefit of Using Terraform?What is the Benefit of Using Terraform?
What is the Benefit of Using Terraform?
 
Why Learn Terraform?
Why Learn Terraform?Why Learn Terraform?
Why Learn Terraform?
 
DevOps Online Training
DevOps Online Training DevOps Online Training
DevOps Online Training
 
Infrastructure as Code for Azure: ARM or Terraform?
Infrastructure as Code for Azure: ARM or Terraform?Infrastructure as Code for Azure: ARM or Terraform?
Infrastructure as Code for Azure: ARM or Terraform?
 
A brief introduction to IaC with Terraform by Kenton Robbins (codeHarbour May...
A brief introduction to IaC with Terraform by Kenton Robbins (codeHarbour May...A brief introduction to IaC with Terraform by Kenton Robbins (codeHarbour May...
A brief introduction to IaC with Terraform by Kenton Robbins (codeHarbour May...
 
What are the Benefits of Using Terraform?
What are the Benefits of Using Terraform?What are the Benefits of Using Terraform?
What are the Benefits of Using Terraform?
 
Configuration management II - Terraform
Configuration management II - TerraformConfiguration management II - Terraform
Configuration management II - Terraform
 
What Are the Reasons for Choosing Terraform for DevOps
What Are the Reasons for Choosing Terraform for DevOpsWhat Are the Reasons for Choosing Terraform for DevOps
What Are the Reasons for Choosing Terraform for DevOps
 
Infrastructure as Code with Terraform
Infrastructure as Code with TerraformInfrastructure as Code with Terraform
Infrastructure as Code with Terraform
 
Terraform day 1
Terraform day 1Terraform day 1
Terraform day 1
 
DevOps Online Training | DevOps Training
DevOps Online Training | DevOps TrainingDevOps Online Training | DevOps Training
DevOps Online Training | DevOps Training
 
Cassandra Lunch #86: DataStax Astra Terraform Provider
Cassandra Lunch #86: DataStax Astra Terraform ProviderCassandra Lunch #86: DataStax Astra Terraform Provider
Cassandra Lunch #86: DataStax Astra Terraform Provider
 
Maximizing DevOps Efficiency with Terraform.pptx
Maximizing DevOps Efficiency with Terraform.pptxMaximizing DevOps Efficiency with Terraform.pptx
Maximizing DevOps Efficiency with Terraform.pptx
 
DevOps Training - Introduction to Terraform
DevOps Training - Introduction to TerraformDevOps Training - Introduction to Terraform
DevOps Training - Introduction to Terraform
 

More from George Grammatikos

Land your data safely and accurately with Power Platform and Azure.pdf
Land your data safely and accurately with Power Platform and Azure.pdfLand your data safely and accurately with Power Platform and Azure.pdf
Land your data safely and accurately with Power Platform and Azure.pdf
George Grammatikos
 
Working with MS Endpoint Manager
Working with MS Endpoint ManagerWorking with MS Endpoint Manager
Working with MS Endpoint Manager
George Grammatikos
 
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
George Grammatikos
 
Intro to Azure Service Bus
Intro to Azure Service BusIntro to Azure Service Bus
Intro to Azure Service Bus
George Grammatikos
 
Introduction to Azure logic apps
Introduction to Azure logic appsIntroduction to Azure logic apps
Introduction to Azure logic apps
George Grammatikos
 
Azure Batch Service Meetup Presentation
Azure Batch Service   Meetup PresentationAzure Batch Service   Meetup Presentation
Azure Batch Service Meetup Presentation
George Grammatikos
 
SQL or NoSQL, is this the question? - George Grammatikos
SQL or NoSQL, is this the question? - George GrammatikosSQL or NoSQL, is this the question? - George Grammatikos
SQL or NoSQL, is this the question? - George Grammatikos
George Grammatikos
 

More from George Grammatikos (7)

Land your data safely and accurately with Power Platform and Azure.pdf
Land your data safely and accurately with Power Platform and Azure.pdfLand your data safely and accurately with Power Platform and Azure.pdf
Land your data safely and accurately with Power Platform and Azure.pdf
 
Working with MS Endpoint Manager
Working with MS Endpoint ManagerWorking with MS Endpoint Manager
Working with MS Endpoint Manager
 
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
 
Intro to Azure Service Bus
Intro to Azure Service BusIntro to Azure Service Bus
Intro to Azure Service Bus
 
Introduction to Azure logic apps
Introduction to Azure logic appsIntroduction to Azure logic apps
Introduction to Azure logic apps
 
Azure Batch Service Meetup Presentation
Azure Batch Service   Meetup PresentationAzure Batch Service   Meetup Presentation
Azure Batch Service Meetup Presentation
 
SQL or NoSQL, is this the question? - George Grammatikos
SQL or NoSQL, is this the question? - George GrammatikosSQL or NoSQL, is this the question? - George Grammatikos
SQL or NoSQL, is this the question? - George Grammatikos
 

Recently uploaded

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 

Recently uploaded (20)

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 

Deploy resources on Azure using IaC (Azure Terraform)

  • 4. Dear Global Azure Athens 2023 sponsors, your support made all the difference — thank you!
  • 5. ➢ Infrastructure as Code (IaC) • Infrastructure as Code (IaC) Tools ➢ Terraform • What is Terraform? • Terraform Deployment Tools • Terraform Workflow • Main Terraform Commands • Terraform Benefits • Terraform Terminology • Architecture diagram ➢ How the Terraform code looks ➢ Demo • What is Infrastructure as Code (IaC)
  • 7. #GlobalAzure #GlobalAzureAthens “ With infrastructure as code (IaC), infrastructure, such as networks, virtual machines, load balancers, and connection topologies, is defined and deployed using DevOps methodologies and versioning. ”
  • 8.
  • 10. Terraform creates and manages resources on cloud platforms and other services through their application programming Interfaces (APIs). Providers enable Terraform to work with virtually any platform or service with an accessible API.
  • 11. Visual Studio Code Azure PowerShell Windows CMD Bash Windows Terminal Azure Cloud Shell Azure DevOps pipelines
  • 12. Write Define infrastructure in configuration files Plan Review the changes Terraform will make to your infrastructure Apply Terraform provisions your infrastructure and updates the state files 1000+ PROVIDERS Write Terraform configuration files define the infrastructure resources to be created or managed with Terraform. Plan The "terraform plan" command lets you see how Terraform will modify your infrastructure after it is initialized. Apply With "terraform apply", you can apply the changes to your infrastructure once the plan has been reviewed and approved.
  • 13. terraform init Main Terraform Commands It downloads and installs any necessary plugins and modules to initialize a Terraform working directory. terraform plan terraform apply terraform validate terraform destroy > > > > > This command, generates an execution plan showing what will happen when you apply your configuration. In other words, it is a preview of the changes to your infrastructure without having to make them. It applies the changes to an infrastructure. Depending on the desired state, resources are created, updated, or deleted. It validates the terraform configuration files to check for any syntax errors. This command, destroys the infrastructure resources managed by terraform.
  • 14. Terraform Benefits • Cloud platform agnostic • Agentless • Ease deployment • Cost Estimation It doesn’t require additional software. Nothing is needed to install. The agentless approach in Terraform simplifies the infrastructure management process, increases flexibility, improves security, and reduces costs. Being agnostic cloud platform terraform means it can be used to manage infrastructure resources across multiple cloud providers, such as Microsoft Azure, Google Cloud, AWS, and others. Organizations can deploy infrastructure resources faster, more efficiently, and consistently while reducing errors and automating infrastructure deployments. The cost estimation benefits of Terraform can help organizations better manage their infrastructure spending, create more accurate budgets, optimize resource usage, and choose the most cost-effective cloud provider for their needs.
  • 15. Terraform Terminology Resource: Resources are the most important element in the Terraform language. Each resource block describes one or more infrastructure objects, such as virtual networks, compute instances, or higher-level components such as DNS records. Provider: A plugin that defines the APIs and resources available for a specific cloud platform or service. For Azure, the provider is the "azurerm" provider. Module: Modules are containers for multiple resources that are used together. A module consists of a collection of .tf and/or .tf.json files kept together in a directory. Input variable: Input variables let you customize aspects of Terraform modules without altering the module's own source code. Output variable: Output values make information about your infrastructure available on the command line and can expose information for other Terraform configurations to use. Output values are similar to return values in programming languages. Data Source: Data sources allow Terraform to use information defined outside of Terraform, defined by another separate Terraform configuration, or modified by functions. State: Terraform must store state about your managed infrastructure and configuration. This state is used by Terraform to map real world resources to your configuration, keep track of metadata, and to improve performance for large infrastructures. This state is stored by default in a local file named "terraform.
  • 16. Architecture Diagram TF Configuration File (.tf) Dev/IT Terraform Core Terraform Azure Provider > terraform init
  • 17. How the terraform code looks? terraform{ required_providers { azurerm = { source = "hashicorp/azurerm" } } } provider "azurerm" { features {} } resource "azurerm_resource_group" "{resource group}" { name="{resource group}" location = "westeurope" } resource "azurerm_storage_account" "{storage account}" { name = "{storage account}" resource_group_name = azurerm_resource_group.{resource group}.name location = azurerm_resource_group.{resource group}.location account_tier = "Standard" account_replication_type = "LRS" } resource "azurerm_storage_container" "images" { name = "images" storage_account_name = azurerm_storage_account.{storage account}.name container_access_type = "private" }
  • 19. #GlobalAzure #GlobalAzureAthens • https://github.com/topics/terraform-cost-estimation • https://developer.hashicorp.com/terraform/cloud-docs/cost-estimation/azure • https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs • https://github.com/hashicorp/terraform-provider-azurerm • https://learn.microsoft.com/en-us/azure/developer/terraform/
  • 21. • Azure Batch Shipyard @ https://github.com/Azure/batch-shipyard • Cognitive toolkit @ https://cntk.ai • Learn more about Azure N-Series on Channel 9 • Re-visit Connect on Channel 9.
  • 22. A big thank you to our sponsors! https://bit.ly/GA23Evaluation Please evaluate !