We know that in the Azure service tier, there are several levels:
1. Enterprise Contract
2. Subscription
3. Resource Group
4. Resources
The Azure resources we use are actually deployed in Azure resource groups.
But sometimes, we need to set rules or policies for Azure resource groups to meet the company's security and compliance requirements for resources on the cloud platform.
for example:
1. When we create Azure resources, we need to add TAG (tag) to the resource group.
2. When we create an Azure virtual machine, users are required to set up the virtual machine backup function at the same time, otherwise users are not allowed to create virtual machines.
3. When we create an Azure virtual machine, we can only choose certain models (such as 4Core, 8Core). Other types of virtual machines, such as GPU virtual machines, are not allowed to be created by users.
In this scenario, we can set Azure Policy policies to meet security and compliance requirements.
What is the difference between Azure Policy and Azure RBAC (Role Based Access Control)?
Azure RBAC limits user permissions, such as which users can set which permissions for resource groups.
For example, if we have one account, we can set Owner, Contributor, and Reader permissions for the resource group.
Simply put, RBAC sets what users have and what permissions they have, such as add, delete, modify, check, etc.
Azure Policy sets the compliance of Azure resources. In Azure Policy, many default policies are provided, such as:
(1) Only allow users to create resources in certain data centers
(2) Only allow the creation of PaaS services for SQL Server version 12
(3) Only allow users to create certain virtual machine types
(4) When creating resources, you must set the resource group to add a tag.
(5) Users are not allowed to create other types of resources
Azure Policy is effective in the following areas:
(1) Azure Policy can be set at the entire subscription level. That is, all resource groups under the subscription must comply with the policy requirements.
(2) Azure Policy can be set within a resource group. That is, only this resource group must comply with the policy requirements.
(3) We can also set Azure Policy exclusions to exclude certain resources.
For example, we have a production resource group (Production-RG) and a test resource group (Test-RG) under one subscription.
When we set the policy for virtual machine backup, it is effective for the production resource group (Production-RG), but not for the test resource group (Test-RG)
Custom Policy
Although Azure provides a default policy by default, we can also create a custom policy to meet the company's security and compliance requirements.
Previous article:Azure ARM (22) Create an Azure RM VM using Azure PowerShell
Next article:Azure ARM (23) Azure Policy使用
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- How Lucid is overtaking Tesla with smaller motors
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Three steps to govern hybrid multicloud environments
- Three steps to govern hybrid multicloud environments
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- PHYTEC's imx8mplus development board review
- [RVB2601 Creative Application Development] 4. Use RTC to record time
- ADN8834 does not work or has current overshoot
- A brief discussion on the bus differences of ARM Cortex-m0/m4 series
- Please help me interpret this article about tl431 bias current
- Disable automatic layer selection for routing
- [National Technology N32 MCU Development Package] --N32L40x Series
- Positive and negative 12V power supply, MC340463, simulation is OK, but the actual limit is about -5V
- [NUCLEO-WL55JC2 Review 4] STM32WL sub-GHZ RF (LoRa\FSK..)
- AVRDUDE released version 6.4 and moved to github