SlideShare a Scribd company logo
Azure Policy
Rahul Khengare
11th Feb 2023
DevOps-Pune Meetup Group
About Me
Sr. Staff Engineer, Zscaler
◎ Cloud Security/DevOps/DevSecOps/SRE
◎ Blogger (oss-world, thesecuremonk)
◎ Co-Organizer
○ DevOps-Pune, DevSecOps-Pune
◎ Open Source Software and CIS Contributor
◎ Past Organization: Cloudneeti, Motifworks, NTT Data
◎ https://www.linkedin.com/in/rahulkhengare
Agenda
◎ Cloud benefits and Concerns
◎ Need for Cloud governance and Security
◎ What is Azure Policy Framework
◎ Types of Azure Policies
◎ How Azure Policy works
◎ Cloud Governance needs
◎ Demo
What Governance and Security
practices you follow?
Some Known Practices
◎ RBAC
◎ Tags
◎ Network/Firewall/Encryptions/Private Endpoints
◎ Different Security tools with
○ Detective policies
○ Preventative Controls
◎ Cost Management
◎ Security audits
◎ Many More …
Cloud Benefits and Concerns
Benefits
Speed
Agility
Ease
E.g. 1000+ Virtual machine can be
created in 5-10 min using
automation
Concerns
Who is created resources?
Who is using resources?
Who has the access?
Are resources secure?
Are we protecting sensitive data?
Cost Surprises
“
Through 2025, 99% of cloud security
failures will be the customerʼs fault
- Gartner
What drives your need for policy enforcement?
◎ Maintain security and performance consistency
◎ Regulatory Compliance
◎ Enforce enterprise-wide design principles
◎ Controlling cost
Azure Policy
What it is?
How it works?
Different Types
What is Azure Policy?
◎ Assess and enforce enterprise-wide
governing standards
◎ Free services
◎ Policy as a Code
◎ Real Time Remediation
◎ Apply Policy at Scale
◎ Provide visibility of resources
○ Compliant
○ Non-Compliant
◎ Compliance Reports
Example: Prevent the creation of virtual machines with basic A0 to A4 SKUs.
SCOPE
Policy Definitions, Initiatives, Assignments
11
Policy Definition 1
Policy Definition 2
Policy Definition 3
Policy Initiative
Assignment
How it Works?
Policy Scopes
13
Types of Azure Policies
Audit/Detective
Just audits the resources
Effects:
◎ Audit
◎ AuditIfNotExists.
E.g. Audit all the VMs that
do not use managed
disks.
Preventative
Prevent resource
creation/updation
Effects:
◎ Deny
E.g. Prevent user from
provisioning any
resources in the West US
region
Remediation
Apply desired configuration at
resource creation/updation
Effects:
◎ DeployIfNotExists
◎ Append
◎ Modify
E.g. Deploy Log Analytics agent
for Windows VMs
COST MANAGEMENT
* Allowed storage account SKUs [Preventative]
* Allowed virtual machine size SKUs
[Preventative]
* Azure VPN gateways should not use ʻbasicʼ
SKU [Preventative]
OPERATIONAL
* Resource or resource group name should
contain XYZ prefix as part of naming
conventions [Audit]
* Allowed region for deployments
[Preventative]
* Append a tag and its value from the resource
group [Remediation]
Governance needs and Azure Policies
* Secure transfer to storage accounts should be
enabled [Audit]
* Disk encryption should be enabled on Azure
Data Explorer [Audit or Preventative]
* Network interfaces should not have public
Ips [Preventative]
BUSINESS/COMPLIANCE
* Azure Cosmos DB allowed locations
[Preventative]
* MFA should be enabled on accounts with
owner permissions on your subscription
[Audit]
* SQL Database should avoid using GRS
backup redundancy [Preventative]
SECURITY
Governance needs and Azure Policies
Azure Policy in Action!
Thanks!
Any questions?
References
◎ Azure Policy Overview
◎ Azure Built-In Policies
◎ Azure Policy Samples
◎ Manage Policy as Code
◎ Create custom policy definitions
◎ Contribute to Azure Policy Samples
◎ Regulatory Compliance

More Related Content

PDF
AWS Well-Architected Framework (nov 2017)
PDF
Detecting Malicious Cloud Account Behavior: A Look at the New Native Platform...
PDF
Microsoft Azure Fundamentals AZ 900 ####
PPT
az-104 Microsoft Azure Administrator Associate
PDF
Essential Tools and Technologies for ICT Engineers: Insights by Abhilash Dili...
PPTX
Azure Governance for Enterprise
PDF
011 Neo4j Ops Manager Intro and Roadmap - NODES2022 AMERICAS Advanced 3 - Chr...
PDF
Container Security Using Microsoft Defender
AWS Well-Architected Framework (nov 2017)
Detecting Malicious Cloud Account Behavior: A Look at the New Native Platform...
Microsoft Azure Fundamentals AZ 900 ####
az-104 Microsoft Azure Administrator Associate
Essential Tools and Technologies for ICT Engineers: Insights by Abhilash Dili...
Azure Governance for Enterprise
011 Neo4j Ops Manager Intro and Roadmap - NODES2022 AMERICAS Advanced 3 - Chr...
Container Security Using Microsoft Defender

Similar to AzurePolicy DevOps Pune Feb23 (20)

PDF
Unit-II-part 3.pdf
PPTX
Discover Neo4j Aura Workshop (9.27.23).pptx
PPTX
Monitor everything
PDF
7.habits.every.azure.admin.must.have.v082020
PPTX
Data Privacy By Design with AWS
PDF
Enterprise Cloud Security
PDF
GCP Security Refresher and GKE Enterprise In Action
PPTX
Hacking DevOps
PDF
Platform Engineering
PDF
Designing for operability and managability
PDF
Hacking into your containers, and how to stop it!
PDF
[Azure Governance] Lesson 4 : Azure Policy
ODP
Pyramid patterns
PPTX
Designing for Privacy in AWS cloud
PDF
Three Stage of AWS Cost Optimisation with ActOnCloud Trusted Fixer
PPTX
vVols and Your Cloud Operating Model with Tristan Todd
PPTX
Lecture 11 managing the network
PDF
Deploy 22 microservices from scratch in 30 mins with GitOps
PPTX
Azure presentation nnug dec 2010
PPTX
Cloud Interoperability and Portability at Future Pre-FIA 2013 Multi-Clouds Wo...
Unit-II-part 3.pdf
Discover Neo4j Aura Workshop (9.27.23).pptx
Monitor everything
7.habits.every.azure.admin.must.have.v082020
Data Privacy By Design with AWS
Enterprise Cloud Security
GCP Security Refresher and GKE Enterprise In Action
Hacking DevOps
Platform Engineering
Designing for operability and managability
Hacking into your containers, and how to stop it!
[Azure Governance] Lesson 4 : Azure Policy
Pyramid patterns
Designing for Privacy in AWS cloud
Three Stage of AWS Cost Optimisation with ActOnCloud Trusted Fixer
vVols and Your Cloud Operating Model with Tristan Todd
Lecture 11 managing the network
Deploy 22 microservices from scratch in 30 mins with GitOps
Azure presentation nnug dec 2010
Cloud Interoperability and Portability at Future Pre-FIA 2013 Multi-Clouds Wo...
Ad

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Big Data Technologies - Introduction.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPT
Teaching material agriculture food technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Cloud computing and distributed systems.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
Encapsulation_ Review paper, used for researhc scholars
Diabetes mellitus diagnosis method based random forest with bat algorithm
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Digital-Transformation-Roadmap-for-Companies.pptx
Unlocking AI with Model Context Protocol (MCP)
“AI and Expert System Decision Support & Business Intelligence Systems”
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Machine learning based COVID-19 study performance prediction
Big Data Technologies - Introduction.pptx
Spectral efficient network and resource selection model in 5G networks
The AUB Centre for AI in Media Proposal.docx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Monthly Chronicles - July 2025
NewMind AI Weekly Chronicles - August'25 Week I
Teaching material agriculture food technology
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
Cloud computing and distributed systems.
Per capita expenditure prediction using model stacking based on satellite ima...
Ad

AzurePolicy DevOps Pune Feb23

  • 1. Azure Policy Rahul Khengare 11th Feb 2023 DevOps-Pune Meetup Group
  • 2. About Me Sr. Staff Engineer, Zscaler ◎ Cloud Security/DevOps/DevSecOps/SRE ◎ Blogger (oss-world, thesecuremonk) ◎ Co-Organizer ○ DevOps-Pune, DevSecOps-Pune ◎ Open Source Software and CIS Contributor ◎ Past Organization: Cloudneeti, Motifworks, NTT Data ◎ https://www.linkedin.com/in/rahulkhengare
  • 3. Agenda ◎ Cloud benefits and Concerns ◎ Need for Cloud governance and Security ◎ What is Azure Policy Framework ◎ Types of Azure Policies ◎ How Azure Policy works ◎ Cloud Governance needs ◎ Demo
  • 4. What Governance and Security practices you follow?
  • 5. Some Known Practices ◎ RBAC ◎ Tags ◎ Network/Firewall/Encryptions/Private Endpoints ◎ Different Security tools with ○ Detective policies ○ Preventative Controls ◎ Cost Management ◎ Security audits ◎ Many More …
  • 6. Cloud Benefits and Concerns Benefits Speed Agility Ease E.g. 1000+ Virtual machine can be created in 5-10 min using automation Concerns Who is created resources? Who is using resources? Who has the access? Are resources secure? Are we protecting sensitive data? Cost Surprises
  • 7. “ Through 2025, 99% of cloud security failures will be the customerʼs fault - Gartner
  • 8. What drives your need for policy enforcement? ◎ Maintain security and performance consistency ◎ Regulatory Compliance ◎ Enforce enterprise-wide design principles ◎ Controlling cost
  • 9. Azure Policy What it is? How it works? Different Types
  • 10. What is Azure Policy? ◎ Assess and enforce enterprise-wide governing standards ◎ Free services ◎ Policy as a Code ◎ Real Time Remediation ◎ Apply Policy at Scale ◎ Provide visibility of resources ○ Compliant ○ Non-Compliant ◎ Compliance Reports Example: Prevent the creation of virtual machines with basic A0 to A4 SKUs.
  • 11. SCOPE Policy Definitions, Initiatives, Assignments 11 Policy Definition 1 Policy Definition 2 Policy Definition 3 Policy Initiative Assignment
  • 14. Types of Azure Policies Audit/Detective Just audits the resources Effects: ◎ Audit ◎ AuditIfNotExists. E.g. Audit all the VMs that do not use managed disks. Preventative Prevent resource creation/updation Effects: ◎ Deny E.g. Prevent user from provisioning any resources in the West US region Remediation Apply desired configuration at resource creation/updation Effects: ◎ DeployIfNotExists ◎ Append ◎ Modify E.g. Deploy Log Analytics agent for Windows VMs
  • 15. COST MANAGEMENT * Allowed storage account SKUs [Preventative] * Allowed virtual machine size SKUs [Preventative] * Azure VPN gateways should not use ʻbasicʼ SKU [Preventative] OPERATIONAL * Resource or resource group name should contain XYZ prefix as part of naming conventions [Audit] * Allowed region for deployments [Preventative] * Append a tag and its value from the resource group [Remediation] Governance needs and Azure Policies
  • 16. * Secure transfer to storage accounts should be enabled [Audit] * Disk encryption should be enabled on Azure Data Explorer [Audit or Preventative] * Network interfaces should not have public Ips [Preventative] BUSINESS/COMPLIANCE * Azure Cosmos DB allowed locations [Preventative] * MFA should be enabled on accounts with owner permissions on your subscription [Audit] * SQL Database should avoid using GRS backup redundancy [Preventative] SECURITY Governance needs and Azure Policies
  • 17. Azure Policy in Action!
  • 19. References ◎ Azure Policy Overview ◎ Azure Built-In Policies ◎ Azure Policy Samples ◎ Manage Policy as Code ◎ Create custom policy definitions ◎ Contribute to Azure Policy Samples ◎ Regulatory Compliance