SlideShare une entreprise Scribd logo
1  sur  47
Télécharger pour lire hors ligne
Module 3
Azure
Tags
Azure Free Training
Azure Governance Model
By Hicham KADIRI
Fabruary 07, 2019
A K&K Group Company
Contoso Ltd.
About me
Microsoft MVP
• Windows Expert-IT Pro (2014-2015)
• Cloud and Datacenter Management (2016)
• Enterprise Mobility /RDS (2017)
• CDCM /Azure (2018)
Founder
@BecomeITExpert.com
Co-Founder
@K&K Group
Think {Cloud /DevOps /Security}
IT Author (+10 eBooks)
• RDS 2012 R2 and 2016 Pocket Consultant
• RDS & OS Security & Hardening guide
• Azure CLI 2.0 Pocket Consultant
• GPO, PowerShell, AppLocker …
Lead Cloud Architect /Az Expert
• Working for several large companies
and international group including
Thales, Areva, Rabobank, Gemalto,
Vinci, CE, BP…etc
IT Blogger
• hichamkadiri.wordpress.com
• AskTheCloudExpert.wordpress.com
• ~2millions views ☺
/hicham_kadiri
/in/hichamkadiri
TechNet Contributor (Top 0,5%)
• MTFC (Microsoft Technical French Contributor)
• MCC (Microsoft Community Contributor)
Hicham KADIRI (aka #HK)
Document Objectives
• Reminder about Azure Governance
• Explains the importance of Tags in
the Microsoft Azure environment
• Keys items You Should Know
• Azure Tags : Limitations
• Required Rights for Azure Tags
• Recommended Tags for Azure
• Azure GUI & CLI Tools you can use
to create and Apply Azure Tags
• DEMO : HowTo Tag your Azure RG
and Resources
Contoso Ltd.
Reminder about
Azure Governance
#HK
Contoso Ltd.
#HK
Contoso Ltd.
Azure Tags
Why it’s important ?
#HK
Contoso Ltd.
Microsoft Azure Tags
What is it and Why it’s important ?
• Azure Tags provide a way to logically organize resources with properties that you
define. Tags become very helpful when you need to organize resources for billing or
management.
• They consists of key/value pairs, where the key is what you want to identify the resource by, and the
value is the value of your identifier (key)
• Azure Tags must be defined in your
global Azure Governance
Document when designing
your target Azure environment.
#HK
Contoso Ltd.
Azure Tags
Keys items You Should Know
#HK
Contoso Ltd.
Microsoft Azure Tags
Keys Items You Should Know
• You can only apply tags to resources that support Resource Manager operations
▪ VMs, Virtual Networks and Storage created through the classic deployment model must be re-
deployed through Resource Manager to support tagging
• A good way around this is to tag the resource group they belong too instead.
▪ All ARM resources support tagging
• Tags are free-form text so consistent correct spelling is very important
• Tag names can't contain these characters: <, >, %, &, , ?, /
• Each tag is automatically added to the subscription-wide taxonomy
• Application or resource specific tags will “pollute” the tag list for the entire subscription.
#HK
Contoso Ltd.
Azure Tags
Limitations
#HK
Contoso Ltd.
Microsoft Azure Tags
Limitations
• Not all resource types support tags. To determine if you can apply a tag to a specific resource type,
see Tag support for Azure resources.
• Each resource or resource group can have a maximum of 15 tag name/value pairs
• A resource group can contain many resources that each have 15 tag name/value pairs
• The tag name is limited to 512 characters, and the tag value is limited to 256 characters.
• For storage accounts, the tag name is limited to 128 characters, and the tag value is limited to 256 characters
• Azure VMs are limited to a total of 2048 characters for all tag names and values.
• (by default) Tags applied to the resource group are not inherited by the resources in that resource
group.
• To apply all tags from a resource group to its resources, you have to do it manually (using a PS/Az scripts)
• Through the relationship you can easily find resource by filtering by tagged resource group
• We recommend keeping the tags to the resource group unless they are resource specific.
#HK
Contoso Ltd.
Azure Tags
Required « Rights »
#HK
Contoso Ltd.
Microsoft Azure Tags
Required “Rights”
• To create and apply tags to resources (or RG), the user must have write access to
that resource type. To apply tags to all resource types, use the Contributor role. To
apply tags to only one resource type, use the contributor role for that resource.
• For example, to apply tags to Azure Virtual Machines, use the Virtual Machine
Contributor.
#HK
Contoso Ltd.
Azure Tags
Recommended « Tags »
#HK
Contoso Ltd.
Microsoft Azure Tags
Recommended Tags for Resource Groups
• Here are some recommended Tags you can use for your Azure environment :
• Note : The above tags could help you identify the resources easily, but there is no “one size fits all”, so consider what fits your needs. Tags are
listed on your Azure bill, so you will also be able to see what a specific resource or group of resources – costs if you use tags to identify them
#HK
Tag Name State Description Tag Value
ResourceOwner Required Full Name of the Resource Owner First Name, Last Name (or
Email Address)
ApplicationName Required The Name of application hosted on Azure resource KKGroupHRApp
Project Code/ID Optional The Tag Value must contains a Project Code or ID KKGroupHRAppProjectCode
CostCenter Required Provides a charge code or cost center to attribute the bill for the resources
too
Cost Center of Application
EnvironmentType Required Provides information on what the resource group is used for (useful for
maintenance, policy enforcement...)
Dev, Training, Test, Prod
ExpirationDate Optional Provides a date when the environment is expected to be removed Expiration Date in UTC
OpeningHours Optional Useful for Azure VM. You can set an opening hours > eg: 8:00AM to 8:00PM X:00AM to Y:00PM
DistributionList Optional Email for warning when incident, scheduled maintenance are open Email Address
Contoso Ltd.
Azure GUI & CLI Tools you can use
To create and apply Tags
#HK
Contoso Ltd.
Azure GUI & CLI Tools you can use
To create and apply Azure Tags
• Azure Tags can be created and applied using different GUI & CLI Tools :
• GUI :
▪ Azure Portal
• CLI
▪ Windows PowerShell (using AzureRM Module)
▪ Azure CLI 2.0
#HK
Contoso Ltd.
Azure GUI & CLI Tools you can use
To create and apply Azure Tags
• Azure Tags can also be created, managed and updated using REST API interface
• Refer to the following link to read more :
https://docs.microsoft.com/fr-fr/rest/api/resources/tags
#HK
Contoso Ltd.
HowTo Tag
Your Azure Resource Groups and Resources
#HK
Contoso Ltd.
Create, apply and view Azure Tags
using Azure Portal
Contoso Ltd.
HowTo #1 [Part1]
Create, apply and view Azure Tags via Azure Portal
• Connect to Azure Portal
• https://portal.azure.com
• Select the RG or Resource you want
to Tag
• From the RG (or Resource) Blade,
click on “Tags”
• Add your Tags :
• Tag Name
• Tag Value
• Click “Save”
#HK
Contoso Ltd.
HowTo #1 [Part2]
Create, apply and view Azure Tags via Azure Portal
• Existing Tags can be re-used and applied to any resource groups or Azure resource
• In the following example, EnvironmentType tag will be re-used and applied to “hk-training-rds-rg”
resource group. This time, the tag value will be “Training”
#HK
Contoso Ltd.
HowTo #1 [Part3]
Create, apply and view Azure Tags via Azure Portal
• Once created and applied, tags are automatically displayed in the
Overview :
#HK
Contoso Ltd.
HowTo #1 [Part4]
Create, apply and view Azure Tags via Azure Portal
• To bulk assign tags to multiple resources, click on “All resources” (or from any list of resources), select
the checkbox for the resources you want to assign the tag.
• Select Assign tags, and add your Tags
• When done, click “Save”:
#HK
Contoso Ltd.
HowTo #1 [Part5]
Create, apply and view Azure Tags via Azure Portal
• To view all resources with Tags,
select “All services” and then “Tags”
• Select the tag for viewing resources.
• All resources with that tag are displayed.
#HK
Contoso Ltd.
HowTo #1 [Part6]
Create, apply and view Azure Tags via Azure Portal
• To delete a tag, select the trash icon. Then, Click Save..
#HK
Contoso Ltd.
Create, apply and view Azure Tags
using AzureRM Module
Contoso Ltd.
HowTo #2 [Part1]
Create, apply and view Azure Tags via AzureRM PS Module
• To view existing Azure Tags for a specific resource group, run the following PS command :
#HK
Contoso Ltd.
HowTo #2 [Part2]
Create, apply and view Azure Tags via AzureRM PS Module
• To see the existing tags for a resource that has a specified name and resource group, run the
following PS command :
#HK
Contoso Ltd.
HowTo #2 [Part3]
Create, apply and view Azure Tags via AzureRM PS Module
• To get resource groups or resource that have a specific tag, run the following PS commands :
#HK
Contoso Ltd.
HowTo #2 [Part4]
Create, apply and view Azure Tags via AzureRM PS Module
• To get resource that have a specific tag name, run the following PS commands :
#HK
Contoso Ltd.
HowTo #2 [Part5]
Create, apply and view Azure Tags via AzureRM PS Module
• To add tags to a resource group without existing tags, run the following PS commands :
• Important note :
• Every time you apply tags to a resource or a resource group, you overwrite the existing tags on that resource or resource
group. Therefore, you must use a different approach based on whether the resource or resource group has existing tags.
#HK
Contoso Ltd.
HowTo #2 [Part6]
Create, apply and view Azure Tags via AzureRM PS Module
• To apply all tags from a resource group to its resources, and not retain existing tags on the resources,
run the following PS Script :
#HK
Contoso Ltd.
HowTo #2 [Part7]
Create, apply and view Azure Tags via AzureRM PS Module
• To remove all tags, pass an empty hash table:
#HK
Contoso Ltd.
Create, apply and view Azure Tags
using Azure CLI 2.0
Contoso Ltd.
HowTo #3 [Part1]
Create, apply and view Azure Tags via Azure CLI 2.0
• To view existing Azure Tags for a specific resource group, run the following az
command :
#HK
Contoso Ltd.
HowTo #3 [Part2]
Create, apply and view Azure Tags via Azure CLI 2.0
• To see the existing tags for a resource that has a specified name, type, and resource
group, run the following az command :
#HK
Contoso Ltd.
HowTo #3 [Part3]
Create, apply and view Azure Tags via Azure CLI 2.0
• To get resource groups that have a specific tag, run the following az command :
#HK
Contoso Ltd.
HowTo #3 [Part4]
Create, apply and view Azure Tags via Azure CLI 2.0
• To get all the resources that have a particular tag and value, run the following az
command :
#HK
Contoso Ltd.
HowTo #3 [Part5]
Create, apply and view Azure Tags via Azure CLI 2.0
• To add tags to a resource group without existing tags, run the following az
command :
#HK
Contoso Ltd.
HowTo #3 [Part6]
Create, apply and view Azure Tags via Azure CLI 2.0
• To add tags to a resource without existing tags, run the following az command :
#HK
Contoso Ltd.
HowTo #3 [Part7]
Create, apply and view Azure Tags via Azure CLI 2.0
• To apply all tags from a resource group to its resources, and not retain existing tags
on the resources, run the following az script :
#HK
Contoso Ltd.
HowTo #3 [Part8]
Create, apply and view Azure Tags via Azure CLI 2.0
• To apply all tags from a resource group to its resources, and retain existing tags on
resources, run the following az script :
#HK
Contoso Ltd.
HowTo #3 [Part9]
Create, apply and view Azure Tags via Azure CLI 2.0
• To remove all tags for a specific subscription, you can use az tag delete command :
#HK
Contoso Ltd.
Do you have any Azure
Project (Design/Architecture/Migration)?
If yes, feel free to contact us
Your Contacts
Hicham KADIRI
Lead Cloud Architect /Azure Advisor & Microsoft MVP
hicham.kadiri@k-nd-k-group.com
+33 (0)6 52 97 72 84
Mohsine CHOUGDALI
Key Account Manager
mohsine.chougdali@k-nd-k-group.com
+33 6 66 26 55 15
A K&K Group Company
Contoso Ltd.
#HK o_O
/hicham_kadiri
/in/hichamkadiri
Subscribe to my Blog
hichamkadiri.wordpress.com
Contoso Ltd.
End of Lesson
Hope this Helps ☺

Contenu connexe

Tendances

Azure role based access control (rbac)
Azure role based access control (rbac)Azure role based access control (rbac)
Azure role based access control (rbac)Srikanth Kappagantula
 
Azure Active Directory | Microsoft Azure Tutorial for Beginners | Azure 70-53...
Azure Active Directory | Microsoft Azure Tutorial for Beginners | Azure 70-53...Azure Active Directory | Microsoft Azure Tutorial for Beginners | Azure 70-53...
Azure Active Directory | Microsoft Azure Tutorial for Beginners | Azure 70-53...Edureka!
 
Amazon Virtual Private Cloud VPC Architecture AWS Web Services
Amazon Virtual Private Cloud VPC Architecture AWS Web ServicesAmazon Virtual Private Cloud VPC Architecture AWS Web Services
Amazon Virtual Private Cloud VPC Architecture AWS Web ServicesRobert Wilson
 
Building an Enterprise-Grade Azure Governance Model
Building an Enterprise-Grade Azure Governance ModelBuilding an Enterprise-Grade Azure Governance Model
Building an Enterprise-Grade Azure Governance ModelKarl Ots
 
Az 900 session 2-core azure services
Az 900 session 2-core azure servicesAz 900 session 2-core azure services
Az 900 session 2-core azure servicesAzureEzy1
 
Azure AD connect- Deep Dive Webinar PPT
Azure AD connect- Deep Dive Webinar PPTAzure AD connect- Deep Dive Webinar PPT
Azure AD connect- Deep Dive Webinar PPTRadhakrishnan Govindan
 
Azure Arc Overview from Microsoft
Azure Arc Overview from MicrosoftAzure Arc Overview from Microsoft
Azure Arc Overview from MicrosoftDavid J Rosenthal
 
Tagging Best Practices for Cloud Governance
Tagging Best Practices for Cloud GovernanceTagging Best Practices for Cloud Governance
Tagging Best Practices for Cloud GovernanceRightScale
 
CollabDaysBE - Microsoft Purview Information Protection demystified
CollabDaysBE - Microsoft Purview Information Protection demystifiedCollabDaysBE - Microsoft Purview Information Protection demystified
CollabDaysBE - Microsoft Purview Information Protection demystifiedAlbert Hoitingh
 
AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...Simplilearn
 
Amazon EKS - Elastic Container Service for Kubernetes
Amazon EKS - Elastic Container Service for KubernetesAmazon EKS - Elastic Container Service for Kubernetes
Amazon EKS - Elastic Container Service for KubernetesAmazon Web Services
 
K8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKSK8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKSAmazon Web Services
 
Mastering Azure Monitor
Mastering Azure MonitorMastering Azure Monitor
Mastering Azure MonitorRichard Conway
 
Microsoft az-104 Dumps
Microsoft az-104 DumpsMicrosoft az-104 Dumps
Microsoft az-104 DumpsArmstrongsmith
 
AZ-204T00A-PowerPoint_00.pptx
AZ-204T00A-PowerPoint_00.pptxAZ-204T00A-PowerPoint_00.pptx
AZ-204T00A-PowerPoint_00.pptxJavierMadrigal29
 
Govern your Azure environment through Azure Policy
Govern your Azure environment through Azure PolicyGovern your Azure environment through Azure Policy
Govern your Azure environment through Azure PolicyMicrosoft Tech Community
 
Comprehensive Terraform Training
Comprehensive Terraform TrainingComprehensive Terraform Training
Comprehensive Terraform TrainingYevgeniy Brikman
 
Microsoft Azure Active Directory
Microsoft Azure Active DirectoryMicrosoft Azure Active Directory
Microsoft Azure Active DirectoryDavid J Rosenthal
 
Stephane Lapointe: Governance in Azure, keep control of your environments
Stephane Lapointe: Governance in Azure, keep control of your environmentsStephane Lapointe: Governance in Azure, keep control of your environments
Stephane Lapointe: Governance in Azure, keep control of your environmentsMSDEVMTL
 

Tendances (20)

Azure role based access control (rbac)
Azure role based access control (rbac)Azure role based access control (rbac)
Azure role based access control (rbac)
 
Azure Active Directory | Microsoft Azure Tutorial for Beginners | Azure 70-53...
Azure Active Directory | Microsoft Azure Tutorial for Beginners | Azure 70-53...Azure Active Directory | Microsoft Azure Tutorial for Beginners | Azure 70-53...
Azure Active Directory | Microsoft Azure Tutorial for Beginners | Azure 70-53...
 
Amazon Virtual Private Cloud VPC Architecture AWS Web Services
Amazon Virtual Private Cloud VPC Architecture AWS Web ServicesAmazon Virtual Private Cloud VPC Architecture AWS Web Services
Amazon Virtual Private Cloud VPC Architecture AWS Web Services
 
Building an Enterprise-Grade Azure Governance Model
Building an Enterprise-Grade Azure Governance ModelBuilding an Enterprise-Grade Azure Governance Model
Building an Enterprise-Grade Azure Governance Model
 
Az 900 session 2-core azure services
Az 900 session 2-core azure servicesAz 900 session 2-core azure services
Az 900 session 2-core azure services
 
Azure AD connect- Deep Dive Webinar PPT
Azure AD connect- Deep Dive Webinar PPTAzure AD connect- Deep Dive Webinar PPT
Azure AD connect- Deep Dive Webinar PPT
 
Azure Arc Overview from Microsoft
Azure Arc Overview from MicrosoftAzure Arc Overview from Microsoft
Azure Arc Overview from Microsoft
 
AWS Security Hub Deep Dive
AWS Security Hub Deep DiveAWS Security Hub Deep Dive
AWS Security Hub Deep Dive
 
Tagging Best Practices for Cloud Governance
Tagging Best Practices for Cloud GovernanceTagging Best Practices for Cloud Governance
Tagging Best Practices for Cloud Governance
 
CollabDaysBE - Microsoft Purview Information Protection demystified
CollabDaysBE - Microsoft Purview Information Protection demystifiedCollabDaysBE - Microsoft Purview Information Protection demystified
CollabDaysBE - Microsoft Purview Information Protection demystified
 
AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...
AWS Interview Questions Part - 2 | AWS Interview Questions And Answers Part -...
 
Amazon EKS - Elastic Container Service for Kubernetes
Amazon EKS - Elastic Container Service for KubernetesAmazon EKS - Elastic Container Service for Kubernetes
Amazon EKS - Elastic Container Service for Kubernetes
 
K8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKSK8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKS
 
Mastering Azure Monitor
Mastering Azure MonitorMastering Azure Monitor
Mastering Azure Monitor
 
Microsoft az-104 Dumps
Microsoft az-104 DumpsMicrosoft az-104 Dumps
Microsoft az-104 Dumps
 
AZ-204T00A-PowerPoint_00.pptx
AZ-204T00A-PowerPoint_00.pptxAZ-204T00A-PowerPoint_00.pptx
AZ-204T00A-PowerPoint_00.pptx
 
Govern your Azure environment through Azure Policy
Govern your Azure environment through Azure PolicyGovern your Azure environment through Azure Policy
Govern your Azure environment through Azure Policy
 
Comprehensive Terraform Training
Comprehensive Terraform TrainingComprehensive Terraform Training
Comprehensive Terraform Training
 
Microsoft Azure Active Directory
Microsoft Azure Active DirectoryMicrosoft Azure Active Directory
Microsoft Azure Active Directory
 
Stephane Lapointe: Governance in Azure, keep control of your environments
Stephane Lapointe: Governance in Azure, keep control of your environmentsStephane Lapointe: Governance in Azure, keep control of your environments
Stephane Lapointe: Governance in Azure, keep control of your environments
 

Similaire à [Azure Governance] Lesson 3 : Azure Tags

[Azure Governance] Lesson 2 : Azure Locks
[Azure Governance] Lesson 2 : Azure Locks[Azure Governance] Lesson 2 : Azure Locks
[Azure Governance] Lesson 2 : Azure Locks☁ Hicham KADIRI ☁
 
DITA Quick Start Webinar Series: Getting Started with Information Architecture
DITA Quick Start Webinar Series: Getting Started with Information ArchitectureDITA Quick Start Webinar Series: Getting Started with Information Architecture
DITA Quick Start Webinar Series: Getting Started with Information ArchitectureSuite Solutions
 
Cost Optimization - Tagging.pptx
Cost Optimization - Tagging.pptxCost Optimization - Tagging.pptx
Cost Optimization - Tagging.pptxarnoldnicholas
 
CloudBrew 2018 - Azure Governance
CloudBrew 2018 - Azure GovernanceCloudBrew 2018 - Azure Governance
CloudBrew 2018 - Azure GovernanceTom Janetscheck
 
Keynote - Cloudy Vision: How Cloud Integration Complicates Security
Keynote - Cloudy Vision: How Cloud Integration Complicates SecurityKeynote - Cloudy Vision: How Cloud Integration Complicates Security
Keynote - Cloudy Vision: How Cloud Integration Complicates SecurityCloudVillage
 
O365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
O365Con18 - Hybrid SharePoint Deep Dive - Thomas VochtenO365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
O365Con18 - Hybrid SharePoint Deep Dive - Thomas VochtenNCCOMMS
 
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...Toni Frankola
 
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...spsnyc
 
Deploying in a Cloud First World
Deploying in a Cloud First WorldDeploying in a Cloud First World
Deploying in a Cloud First WorldBIWUG
 
Webinar: Deploy Microsoft Teams and stay in control
Webinar: Deploy Microsoft Teams and stay in controlWebinar: Deploy Microsoft Teams and stay in control
Webinar: Deploy Microsoft Teams and stay in controlShareGate
 
Sensitivity labels for Teams, Microsoft 365 Groups & SharePoint Sites
Sensitivity labels for Teams, Microsoft 365 Groups & SharePoint SitesSensitivity labels for Teams, Microsoft 365 Groups & SharePoint Sites
Sensitivity labels for Teams, Microsoft 365 Groups & SharePoint SitesDrew Madelung
 
Building Solution Templates and Managed Applications for the Azure Marketplace
Building Solution Templates and Managed Applications for the Azure MarketplaceBuilding Solution Templates and Managed Applications for the Azure Marketplace
Building Solution Templates and Managed Applications for the Azure MarketplaceMicrosoft Tech Community
 
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdf
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdfNirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdf
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdfAmazon Web Services
 
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...Amazon Web Services
 
MongoDB.local Seattle 2019: MongoDB Stitch Tutorial
MongoDB.local Seattle 2019: MongoDB Stitch TutorialMongoDB.local Seattle 2019: MongoDB Stitch Tutorial
MongoDB.local Seattle 2019: MongoDB Stitch TutorialMongoDB
 
Microsoft Azure News - December 2019
Microsoft Azure News - December 2019Microsoft Azure News - December 2019
Microsoft Azure News - December 2019Daniel Toomey
 
O365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin Timmermann
O365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin TimmermannO365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin Timmermann
O365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin TimmermannNCCOMMS
 
Accelerating Application Development with Amazon Aurora (DAT312-R2) - AWS re:...
Accelerating Application Development with Amazon Aurora (DAT312-R2) - AWS re:...Accelerating Application Development with Amazon Aurora (DAT312-R2) - AWS re:...
Accelerating Application Development with Amazon Aurora (DAT312-R2) - AWS re:...Amazon Web Services
 
Gab2015 azure search as a service
Gab2015 azure search as a serviceGab2015 azure search as a service
Gab2015 azure search as a serviceAlexandre Marreiros
 
MongoDB.local Dallas 2019: MongoDB Stitch Tutorial
MongoDB.local Dallas 2019: MongoDB Stitch TutorialMongoDB.local Dallas 2019: MongoDB Stitch Tutorial
MongoDB.local Dallas 2019: MongoDB Stitch TutorialMongoDB
 

Similaire à [Azure Governance] Lesson 3 : Azure Tags (20)

[Azure Governance] Lesson 2 : Azure Locks
[Azure Governance] Lesson 2 : Azure Locks[Azure Governance] Lesson 2 : Azure Locks
[Azure Governance] Lesson 2 : Azure Locks
 
DITA Quick Start Webinar Series: Getting Started with Information Architecture
DITA Quick Start Webinar Series: Getting Started with Information ArchitectureDITA Quick Start Webinar Series: Getting Started with Information Architecture
DITA Quick Start Webinar Series: Getting Started with Information Architecture
 
Cost Optimization - Tagging.pptx
Cost Optimization - Tagging.pptxCost Optimization - Tagging.pptx
Cost Optimization - Tagging.pptx
 
CloudBrew 2018 - Azure Governance
CloudBrew 2018 - Azure GovernanceCloudBrew 2018 - Azure Governance
CloudBrew 2018 - Azure Governance
 
Keynote - Cloudy Vision: How Cloud Integration Complicates Security
Keynote - Cloudy Vision: How Cloud Integration Complicates SecurityKeynote - Cloudy Vision: How Cloud Integration Complicates Security
Keynote - Cloudy Vision: How Cloud Integration Complicates Security
 
O365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
O365Con18 - Hybrid SharePoint Deep Dive - Thomas VochtenO365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
O365Con18 - Hybrid SharePoint Deep Dive - Thomas Vochten
 
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...
 
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...
Governance in the Modern Workplace: SharePoint, OneDrive, Groups, Teams, Flow...
 
Deploying in a Cloud First World
Deploying in a Cloud First WorldDeploying in a Cloud First World
Deploying in a Cloud First World
 
Webinar: Deploy Microsoft Teams and stay in control
Webinar: Deploy Microsoft Teams and stay in controlWebinar: Deploy Microsoft Teams and stay in control
Webinar: Deploy Microsoft Teams and stay in control
 
Sensitivity labels for Teams, Microsoft 365 Groups & SharePoint Sites
Sensitivity labels for Teams, Microsoft 365 Groups & SharePoint SitesSensitivity labels for Teams, Microsoft 365 Groups & SharePoint Sites
Sensitivity labels for Teams, Microsoft 365 Groups & SharePoint Sites
 
Building Solution Templates and Managed Applications for the Azure Marketplace
Building Solution Templates and Managed Applications for the Azure MarketplaceBuilding Solution Templates and Managed Applications for the Azure Marketplace
Building Solution Templates and Managed Applications for the Azure Marketplace
 
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdf
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdfNirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdf
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdf
 
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...
AWS Partner Webcast - Advanced Strategies for AWS Cost Allocation with Tags a...
 
MongoDB.local Seattle 2019: MongoDB Stitch Tutorial
MongoDB.local Seattle 2019: MongoDB Stitch TutorialMongoDB.local Seattle 2019: MongoDB Stitch Tutorial
MongoDB.local Seattle 2019: MongoDB Stitch Tutorial
 
Microsoft Azure News - December 2019
Microsoft Azure News - December 2019Microsoft Azure News - December 2019
Microsoft Azure News - December 2019
 
O365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin Timmermann
O365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin TimmermannO365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin Timmermann
O365Con18 - Using ARM Templates to Deploy Solutions on Azure - Kevin Timmermann
 
Accelerating Application Development with Amazon Aurora (DAT312-R2) - AWS re:...
Accelerating Application Development with Amazon Aurora (DAT312-R2) - AWS re:...Accelerating Application Development with Amazon Aurora (DAT312-R2) - AWS re:...
Accelerating Application Development with Amazon Aurora (DAT312-R2) - AWS re:...
 
Gab2015 azure search as a service
Gab2015 azure search as a serviceGab2015 azure search as a service
Gab2015 azure search as a service
 
MongoDB.local Dallas 2019: MongoDB Stitch Tutorial
MongoDB.local Dallas 2019: MongoDB Stitch TutorialMongoDB.local Dallas 2019: MongoDB Stitch Tutorial
MongoDB.local Dallas 2019: MongoDB Stitch Tutorial
 

Dernier

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 

Dernier (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

[Azure Governance] Lesson 3 : Azure Tags

  • 1. Module 3 Azure Tags Azure Free Training Azure Governance Model By Hicham KADIRI Fabruary 07, 2019 A K&K Group Company
  • 2. Contoso Ltd. About me Microsoft MVP • Windows Expert-IT Pro (2014-2015) • Cloud and Datacenter Management (2016) • Enterprise Mobility /RDS (2017) • CDCM /Azure (2018) Founder @BecomeITExpert.com Co-Founder @K&K Group Think {Cloud /DevOps /Security} IT Author (+10 eBooks) • RDS 2012 R2 and 2016 Pocket Consultant • RDS & OS Security & Hardening guide • Azure CLI 2.0 Pocket Consultant • GPO, PowerShell, AppLocker … Lead Cloud Architect /Az Expert • Working for several large companies and international group including Thales, Areva, Rabobank, Gemalto, Vinci, CE, BP…etc IT Blogger • hichamkadiri.wordpress.com • AskTheCloudExpert.wordpress.com • ~2millions views ☺ /hicham_kadiri /in/hichamkadiri TechNet Contributor (Top 0,5%) • MTFC (Microsoft Technical French Contributor) • MCC (Microsoft Community Contributor) Hicham KADIRI (aka #HK)
  • 3. Document Objectives • Reminder about Azure Governance • Explains the importance of Tags in the Microsoft Azure environment • Keys items You Should Know • Azure Tags : Limitations • Required Rights for Azure Tags • Recommended Tags for Azure • Azure GUI & CLI Tools you can use to create and Apply Azure Tags • DEMO : HowTo Tag your Azure RG and Resources
  • 6. Contoso Ltd. Azure Tags Why it’s important ? #HK
  • 7. Contoso Ltd. Microsoft Azure Tags What is it and Why it’s important ? • Azure Tags provide a way to logically organize resources with properties that you define. Tags become very helpful when you need to organize resources for billing or management. • They consists of key/value pairs, where the key is what you want to identify the resource by, and the value is the value of your identifier (key) • Azure Tags must be defined in your global Azure Governance Document when designing your target Azure environment. #HK
  • 8. Contoso Ltd. Azure Tags Keys items You Should Know #HK
  • 9. Contoso Ltd. Microsoft Azure Tags Keys Items You Should Know • You can only apply tags to resources that support Resource Manager operations ▪ VMs, Virtual Networks and Storage created through the classic deployment model must be re- deployed through Resource Manager to support tagging • A good way around this is to tag the resource group they belong too instead. ▪ All ARM resources support tagging • Tags are free-form text so consistent correct spelling is very important • Tag names can't contain these characters: <, >, %, &, , ?, / • Each tag is automatically added to the subscription-wide taxonomy • Application or resource specific tags will “pollute” the tag list for the entire subscription. #HK
  • 11. Contoso Ltd. Microsoft Azure Tags Limitations • Not all resource types support tags. To determine if you can apply a tag to a specific resource type, see Tag support for Azure resources. • Each resource or resource group can have a maximum of 15 tag name/value pairs • A resource group can contain many resources that each have 15 tag name/value pairs • The tag name is limited to 512 characters, and the tag value is limited to 256 characters. • For storage accounts, the tag name is limited to 128 characters, and the tag value is limited to 256 characters • Azure VMs are limited to a total of 2048 characters for all tag names and values. • (by default) Tags applied to the resource group are not inherited by the resources in that resource group. • To apply all tags from a resource group to its resources, you have to do it manually (using a PS/Az scripts) • Through the relationship you can easily find resource by filtering by tagged resource group • We recommend keeping the tags to the resource group unless they are resource specific. #HK
  • 13. Contoso Ltd. Microsoft Azure Tags Required “Rights” • To create and apply tags to resources (or RG), the user must have write access to that resource type. To apply tags to all resource types, use the Contributor role. To apply tags to only one resource type, use the contributor role for that resource. • For example, to apply tags to Azure Virtual Machines, use the Virtual Machine Contributor. #HK
  • 15. Contoso Ltd. Microsoft Azure Tags Recommended Tags for Resource Groups • Here are some recommended Tags you can use for your Azure environment : • Note : The above tags could help you identify the resources easily, but there is no “one size fits all”, so consider what fits your needs. Tags are listed on your Azure bill, so you will also be able to see what a specific resource or group of resources – costs if you use tags to identify them #HK Tag Name State Description Tag Value ResourceOwner Required Full Name of the Resource Owner First Name, Last Name (or Email Address) ApplicationName Required The Name of application hosted on Azure resource KKGroupHRApp Project Code/ID Optional The Tag Value must contains a Project Code or ID KKGroupHRAppProjectCode CostCenter Required Provides a charge code or cost center to attribute the bill for the resources too Cost Center of Application EnvironmentType Required Provides information on what the resource group is used for (useful for maintenance, policy enforcement...) Dev, Training, Test, Prod ExpirationDate Optional Provides a date when the environment is expected to be removed Expiration Date in UTC OpeningHours Optional Useful for Azure VM. You can set an opening hours > eg: 8:00AM to 8:00PM X:00AM to Y:00PM DistributionList Optional Email for warning when incident, scheduled maintenance are open Email Address
  • 16. Contoso Ltd. Azure GUI & CLI Tools you can use To create and apply Tags #HK
  • 17. Contoso Ltd. Azure GUI & CLI Tools you can use To create and apply Azure Tags • Azure Tags can be created and applied using different GUI & CLI Tools : • GUI : ▪ Azure Portal • CLI ▪ Windows PowerShell (using AzureRM Module) ▪ Azure CLI 2.0 #HK
  • 18. Contoso Ltd. Azure GUI & CLI Tools you can use To create and apply Azure Tags • Azure Tags can also be created, managed and updated using REST API interface • Refer to the following link to read more : https://docs.microsoft.com/fr-fr/rest/api/resources/tags #HK
  • 19. Contoso Ltd. HowTo Tag Your Azure Resource Groups and Resources #HK
  • 20. Contoso Ltd. Create, apply and view Azure Tags using Azure Portal
  • 21. Contoso Ltd. HowTo #1 [Part1] Create, apply and view Azure Tags via Azure Portal • Connect to Azure Portal • https://portal.azure.com • Select the RG or Resource you want to Tag • From the RG (or Resource) Blade, click on “Tags” • Add your Tags : • Tag Name • Tag Value • Click “Save” #HK
  • 22. Contoso Ltd. HowTo #1 [Part2] Create, apply and view Azure Tags via Azure Portal • Existing Tags can be re-used and applied to any resource groups or Azure resource • In the following example, EnvironmentType tag will be re-used and applied to “hk-training-rds-rg” resource group. This time, the tag value will be “Training” #HK
  • 23. Contoso Ltd. HowTo #1 [Part3] Create, apply and view Azure Tags via Azure Portal • Once created and applied, tags are automatically displayed in the Overview : #HK
  • 24. Contoso Ltd. HowTo #1 [Part4] Create, apply and view Azure Tags via Azure Portal • To bulk assign tags to multiple resources, click on “All resources” (or from any list of resources), select the checkbox for the resources you want to assign the tag. • Select Assign tags, and add your Tags • When done, click “Save”: #HK
  • 25. Contoso Ltd. HowTo #1 [Part5] Create, apply and view Azure Tags via Azure Portal • To view all resources with Tags, select “All services” and then “Tags” • Select the tag for viewing resources. • All resources with that tag are displayed. #HK
  • 26. Contoso Ltd. HowTo #1 [Part6] Create, apply and view Azure Tags via Azure Portal • To delete a tag, select the trash icon. Then, Click Save.. #HK
  • 27. Contoso Ltd. Create, apply and view Azure Tags using AzureRM Module
  • 28. Contoso Ltd. HowTo #2 [Part1] Create, apply and view Azure Tags via AzureRM PS Module • To view existing Azure Tags for a specific resource group, run the following PS command : #HK
  • 29. Contoso Ltd. HowTo #2 [Part2] Create, apply and view Azure Tags via AzureRM PS Module • To see the existing tags for a resource that has a specified name and resource group, run the following PS command : #HK
  • 30. Contoso Ltd. HowTo #2 [Part3] Create, apply and view Azure Tags via AzureRM PS Module • To get resource groups or resource that have a specific tag, run the following PS commands : #HK
  • 31. Contoso Ltd. HowTo #2 [Part4] Create, apply and view Azure Tags via AzureRM PS Module • To get resource that have a specific tag name, run the following PS commands : #HK
  • 32. Contoso Ltd. HowTo #2 [Part5] Create, apply and view Azure Tags via AzureRM PS Module • To add tags to a resource group without existing tags, run the following PS commands : • Important note : • Every time you apply tags to a resource or a resource group, you overwrite the existing tags on that resource or resource group. Therefore, you must use a different approach based on whether the resource or resource group has existing tags. #HK
  • 33. Contoso Ltd. HowTo #2 [Part6] Create, apply and view Azure Tags via AzureRM PS Module • To apply all tags from a resource group to its resources, and not retain existing tags on the resources, run the following PS Script : #HK
  • 34. Contoso Ltd. HowTo #2 [Part7] Create, apply and view Azure Tags via AzureRM PS Module • To remove all tags, pass an empty hash table: #HK
  • 35. Contoso Ltd. Create, apply and view Azure Tags using Azure CLI 2.0
  • 36. Contoso Ltd. HowTo #3 [Part1] Create, apply and view Azure Tags via Azure CLI 2.0 • To view existing Azure Tags for a specific resource group, run the following az command : #HK
  • 37. Contoso Ltd. HowTo #3 [Part2] Create, apply and view Azure Tags via Azure CLI 2.0 • To see the existing tags for a resource that has a specified name, type, and resource group, run the following az command : #HK
  • 38. Contoso Ltd. HowTo #3 [Part3] Create, apply and view Azure Tags via Azure CLI 2.0 • To get resource groups that have a specific tag, run the following az command : #HK
  • 39. Contoso Ltd. HowTo #3 [Part4] Create, apply and view Azure Tags via Azure CLI 2.0 • To get all the resources that have a particular tag and value, run the following az command : #HK
  • 40. Contoso Ltd. HowTo #3 [Part5] Create, apply and view Azure Tags via Azure CLI 2.0 • To add tags to a resource group without existing tags, run the following az command : #HK
  • 41. Contoso Ltd. HowTo #3 [Part6] Create, apply and view Azure Tags via Azure CLI 2.0 • To add tags to a resource without existing tags, run the following az command : #HK
  • 42. Contoso Ltd. HowTo #3 [Part7] Create, apply and view Azure Tags via Azure CLI 2.0 • To apply all tags from a resource group to its resources, and not retain existing tags on the resources, run the following az script : #HK
  • 43. Contoso Ltd. HowTo #3 [Part8] Create, apply and view Azure Tags via Azure CLI 2.0 • To apply all tags from a resource group to its resources, and retain existing tags on resources, run the following az script : #HK
  • 44. Contoso Ltd. HowTo #3 [Part9] Create, apply and view Azure Tags via Azure CLI 2.0 • To remove all tags for a specific subscription, you can use az tag delete command : #HK
  • 45. Contoso Ltd. Do you have any Azure Project (Design/Architecture/Migration)? If yes, feel free to contact us Your Contacts Hicham KADIRI Lead Cloud Architect /Azure Advisor & Microsoft MVP hicham.kadiri@k-nd-k-group.com +33 (0)6 52 97 72 84 Mohsine CHOUGDALI Key Account Manager mohsine.chougdali@k-nd-k-group.com +33 6 66 26 55 15 A K&K Group Company
  • 46. Contoso Ltd. #HK o_O /hicham_kadiri /in/hichamkadiri Subscribe to my Blog hichamkadiri.wordpress.com
  • 47. Contoso Ltd. End of Lesson Hope this Helps ☺