• Home
  • Featured Posts
    • Product Update
  • MVPSkill Events
  • MVPSkill Saturday
  • Azure
  • Microsoft 365
    • 5 นาทีกับ MVP 365
    • Copilot
    • Exchange&Outlook
    • Microsoft 365 Admin
    • Microsoft 365 Compliance
    • Microsoft 365 Life
    • Microsoft 365 Security
    • Microsoft Office
    • Microsoft Teams
    • SharePoint & OneDrive
    • Skype for Business
    • Yammer
  • Windows Client
    • Windows Security
  • Windows Server
    • Active Directory & Group Policy
    • Windows Server 2012
  • System Center
  • Tips & Technics
  • Tools
  • PowerShell
  • นอกเรื่อง IT Pro
    • Certification & Exam
    • Download E-Book
    • Free Training
    • MVP Life
    • VDO Learning
  • About Us
Search
mvpskill.com | Change the World by Contributions.
  • Home
  • Featured Posts
    • AllProduct Update

      รู้จักและใช้งาน Power Apps Collection จัดการง่ายดุจพลิกฝ่ามือ

      New Power Apps Barcode Reader Control

      รวมรวม Deck และชมย้อนหลังงาน Global Azure Bootcamp 2023

      Azure Multi Cloud

      รวมลิงค์งาน Azure Multicloud วันที่ 8 ตุลาคม 2022

  • MVPSkill Events
    • รวมรวม Deck และชมย้อนหลังงาน Global Azure Bootcamp 2023

      MVPSkill Charity Meetup 2021 – Meeting 08 Azure Security & compliance

      MVPSkill Charity Meetup 2021 – Meeting 07 Azure Backup / Azure…

      MVPSkill Charity Meetup 2021 – Meeting 06 Azure App Services (PaaS)

      MVPSkill Charity Meetup 2021 – Meeting 05 Azure Virtual Machine (IaaS)

  • MVPSkill Saturday
  • Azure
    • รวมรวม Deck และชมย้อนหลังงาน Global Azure Bootcamp 2023

      Evaluate Azure Stack HCI #2/10 “Deploy the Azure VM”

      Evaluate Azure Stack HCI #1/10 “Introduction”

      MVPSkill Charity Meetup 2021 – Meeting 08 Azure Security & compliance

      MVPSkill Charity Meetup 2021 – Meeting 07 Azure Backup / Azure…

  • Microsoft 365
    • All5 นาทีกับ MVP 365CopilotExchange&OutlookMicrosoft 365 AdminMicrosoft 365 ComplianceMicrosoft 365 LifeMicrosoft 365 SecurityMicrosoft OfficeMicrosoft TeamsSharePoint & OneDriveSkype for BusinessYammer
      copilot2

      เตรียมพร้อมใช้งาน Copilot for Microsoft 365

      รู้จักและใช้งาน Power Apps Collection จัดการง่ายดุจพลิกฝ่ามือ

      New Power Apps Barcode Reader Control

      ซ่อน SharePoint List จาก User มือซน

  • Windows Client
    • AllWindows Security

      [Tips] แก้ปัญหา Font ตัวเล็กใน Edge แบบถาวร

      Windows 10 Privacy settings

      Windows 10 มี Mode แสงสว่างหน้าจอสำหรับทำงานกลางคืน “Night Light”

      Windows 10 Timeline ความส่วนตัวที่น่ากลัว

  • Windows Server
    • AllActive Directory & Group PolicyWindows Server 2012

      MVPSkill Charity Meetup 2021 – Microsoft Azure

      How to use Best Practices Analyzer in Windows Server 2012 R2

      การกำหนด Quotas โดยใช้ File Server Resource Manager (FSRM)

      รวมคำสั่งใช้ในการจัดการ Windows Server management – Keyboard Shortcuts and Commands

  • System Center
    • EMS ตอนที่ 1 ภาพรวมของ Enterprise Mobility Suite

      MDT 2013 Update 1 ออกแล้ว

      Upgrade SC 2012 SP1 Operations Manager to SC 2012 R2

      SC 2012 R2 : Operations Manager AD Monitoring Review#1

      SC2012 R2 : Operations Manager สีเทาแห่งการนิ่งเฉย

  • Tips & Technics
    • รู้จักและใช้งาน Power Apps Collection จัดการง่ายดุจพลิกฝ่ามือ

      New Power Apps Barcode Reader Control

      ซ่อน SharePoint List จาก User มือซน

      วิธีเอาชนะข้อจํากัด 500 รายการใน Power Apps

      สร้าง QR Code Reader ด้วย Power Apps

  • Tools
    • การใช้งาน Collection ใน Power Apps

      PowerApps EP.2

      SharePoint Online Management Shell

      จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #5

      SharePoint Online Management Shell

      จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #1

      Visual Studio Code Power Shell Extension

      PowerShell w/ Visual Studio Code

  • PowerShell
    • SharePoint Online Management Shell

      จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #6

      SharePoint Online Management Shell

      จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #5

      SharePoint Online Management Shell

      จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #4

      SharePoint Online Management Shell

      จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #3

      SharePoint Online Management Shell

      จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #2

  • นอกเรื่อง IT Pro
    • AllCertification & ExamDownload E-BookFree TrainingMVP LifeVDO Learning

      [Review] การสอบ Microsoft Certification จากที่บ้าน

      video

      มาแล้วดูย้อนหลัง MVPSkill Saturday : EP_24 15 February 2563- Microsoft 365 Products Update + DEMO 

      video

      มาแล้วดูย้อนหลัง MVPSkill Saturday : EP_23 8 February 2563- Microsoft Azure Products Update + DEMO 

      [สรุปงาน] งานสัมนา Power Platform ว่าด้วยการนำ Power BI / Power Apps /…

  • About Us
Home Azure
  • Azure
  • Featured Posts
  • Tips & Technics

Azure Portal: จัดกลุ่ม Resources ใน Azure ด้วย “Tag”

By
Thanyapon Sananakin
-
February 2, 2019
0
904
Facebook
LINE
Twitter
Google+
Pinterest
WhatsApp
Linkedin
Email
Print

    หลายๆ ท่านที่ใช้ Azure และมี Resource ต่างๆ บน Azure จำนวนมาก น่าจะเคยมีปัญหาในการจัด Resource ต่างๆ ใน Azure ให้เป็นหมวดหมู่ เพื่อสะดวกในการค้นหา และโดยเฉพาะอย่างยิ่งการสรุปค่าใช้จ่ายในแต่ละเดือนในแต่ละ Project ว่าจะทำอย่างไรดี ซึ่งปัญหานี้สามารถแก้ปัญหาได้โดยการใช้ “Tag” ให้กับ Resource นั้นๆ ครับ

    การจัดกลุ่ม Resource บน Azure นั้นจะมีการแบ่งออกเป็น Resource Group อยู่แล้ว แต่มันมีข้อจำกัดคือแต่ละ Resource สามารถอยู่ใน Resource Group ได้เพียง Resource Group เดียวเท่านั้น ทำให้เกิดข้อจำกัดในการค้นหา Resource เช่น อยากหา Resource ที่เป็นของแผนก MIS ซึ่งอาจจะมีอยู่ในหลายๆ Resource Group ก็ต้องไปหาเอาทีละ Resource Group เป็นต้น

    ดังนั้น Microsoft Azure จึงได้มีการอนุญาตให้ผู้ใช้งานสามารถกำหนด “tag” ให้กับ Resource ต่างๆ ใน Azure ได้เพื่อให้สะดวกในการค้นหา และการจัดกลุ่มที่หลากหลาย ซึ่งเรียกว่า “Logical Organization”

    รู้จักกับ Tag ใน Microsoft Azure 

    • Tag เป็นข้อมูล metadata ที่ใช้ในการแบ่งแยกข้อมูลอย่างเป็นระบบ โดย Tag จะประกอบด้วย 2 ส่วน
      • Tag Name เป็นชื่อของชนิดของทรัพยากรที่เราต้องการแบ่งแยก เช่น DepartmentName, ProjectName เป็นต้น
      • Tag Value  เป็นค่าของทรัพยากรที่เราต้องการกำหนดให้ เช่น MIS, WebSite เป็นต้น ซึ่ง
      • เพื่อให้การเขียนกระชับจะขอใช้รูปแบบการเขียนเป็น TagName=TagValue นะครับ
    • ข้อควรทราบเกี่ยวกับ Tag Name
      • ไม่สามารถมีอักษรพิเศษ ได้แก่ <, >, %, &, \, ?, /
      • มีความยาวสูงสุด 512 ตัวอักษร (ยกเว้น Storage Account มี Tag Name ความยาวสูงสุด 128 ตัวอักษร
    • ข้อควรทราบเกี่ยวกับ Tag Value
      • ความยาวของสูงสุด256 ตัวอักษร
    • Resource แต่ละรายการจะมีจำนวน Tag ได้มากกว่า 1 Tag แต่ไม่เกิน 15 Tag
    • Virtual Machine จะมีความยาวสูงสุดของ Tag Name และ Tag Value รวมกันทุก Tag ไม่เกิน 2,048 ตัวอักษร
    • การกำหนด Tag ที่ Resource Group จะไม่มีผลกับ Resource ภายใน Resource Group นั้น
    • Tag จะรองรับการใช้งานกับ Resource บน Azure เฉพาะบาง Resource เท่านั้น ดูรายการ Resource

    การกำหนด Tag ให้กับ Resource บน Azure

    การกำหนด Tag ให้กับ Resource บน Azure นั้นสามารถทำได้ 2 วิธีการด้วยกันคือ

    1. การกำหนด tag ในตอนสร้าง Resources ซึ่งวิธีนี้จะสามารถทำได้เพียงครั้งเดียวเท่านั้น แต่จะมีข้อดีคือ Azure จะกำหนด tag ให้กับ Resource ที่เกี่ยวข้องโดยอัตโนมัติ เช่นการกำหนด Tag ในการสร้าง Virtual Machine จะมีตัวเลือก “Tags” ให้สามารถกำหนด tag ได้

    จากรูปเป็นการกำหนด Tag ให้กับ Azure Virtual Machine โดยกำหนดให้มี 2 Tag คือ DepartmentName=Developer  และ ProjectName=Linux

    2. การกำหนด Tag ให้กับ Resource โดยตรง วิธีการนี้ต้องกำหนดทีละ Resource เลย โดยไปกำหนดที่ Blade “Tags” ของ Resource นั้นๆ และกรอก TagName/Tag Value เข้าไป

    การกำหนด Tag ให้กับ Storage Account
    การกำหนด Tag ให้กับ Storage Account

    จากรูปเป็นการกำหนด Tag ให้กับ Storage Account โดยกำหนดให้มี 2 Tag คือ DepartmentName=MIS  และ ProjectName=WebSite

    การใช้งาน Tag

    1. การใช้ Tag เพื่อเลือกเฉพาะ Resource ที่ต้องการ สามารถทำได้ผ่าน Azure Portal โดยเลือก Filter เฉพาะ Resource ที่มี Tag ที่กำหนดอยู่แล้วครับ
    การเลือก Resource ที่มีค่า Tag เป็นตามที่กำหนด #1
    การเลือก Resource ที่มีค่า Tag เป็นตามที่กำหนด #1
    การเลือก Resource ที่มีค่า Tag เป็นตามที่กำหนด #2
    การเลือก Resource ที่มีค่า Tag เป็นตามที่กำหนด #

     

    2. การใช้ Tag ในการคำนวณค่าใช้จ่ายของ Resource ในแต่ละเงื่อนไข  การใช้งานลักษณะนี้จะช่วยให้ผู้ดูแลสามารถที่จะติดตาม บริหารค่าใช้จ่ายในการใช้งาน Resource ในแต่ละกลุ่มได้อย่างง่ายดาย โดยไปที่ Blade “Subscription” / จากนั้นเลือก Subscription ที่ต้องการ / เลือก Cost Analysis และสุดท้ายคือเลือก Tag ที่ต้องการตามรูปตัวอย่าง

    การใช้ Tag ในการแบ่งกลุ่มค่าใช้จ่ายของ Resource#1
    การใช้ Tag ในการแบ่งกลุ่มค่าใช้จ่ายของ Resource#1
    การใช้ Tag ในการแบ่งกลุ่มค่าใช้จ่ายของ Resource#2
    การใช้ Tag ในการแบ่งกลุ่มค่าใช้จ่ายของ Resource#2
    การใช้ Tag ในการแบ่งกลุ่มค่าใช้จ่ายของ Resource#3
    การใช้ Tag ในการแบ่งกลุ่มค่าใช้จ่ายของ Resource#3
    การใช้ Tag ในการแบ่งกลุ่มค่าใช้จ่ายของ Resource#4
    การใช้ Tag ในการแบ่งกลุ่มค่าใช้จ่ายของ Resource#4

    การใช้ Tag นั้นก็มีประโยชน์มากทีเดียวครับ ลองไปใช้กันดูนะครับ 🙂

    ข้อมูลเพิ่มเติม

    • Use tags to organize your Azure resources
    • Tag support for Azure resources

    Share this:

    • Tweet

    Like this:

    Like Loading...

    Related

    • TAGS
    • Azure Portal
    • Cost Analysis
    • logical group
    • metadata
    • Subscription
    • Tag
    • Taxonomy
    Facebook
    LINE
    Twitter
    Google+
    Pinterest
    WhatsApp
    Linkedin
    Email
    Print
      Previous articleเลือกแบบไหนระหว่าง Office 365 F1 และ E1
      Next articleการจัดการ Office 365 App Password
      Thanyapon Sananakin
      http://www.mvpskill.com
      Thanyapon Sananakin | MVP Microsoft Azure

      RELATED ARTICLESMORE FROM AUTHOR

      รู้จักและใช้งาน Power Apps Collection จัดการง่ายดุจพลิกฝ่ามือ

      New Power Apps Barcode Reader Control

      รวมรวม Deck และชมย้อนหลังงาน Global Azure Bootcamp 2023

      ค้นหาในเวป mvpskill

      New Articles

      copilot2

      เตรียมพร้อมใช้งาน Copilot for Microsoft 365

      Kumton Suttiraksiri - January 24, 2024
      0
      Microsoft Copilot for Microsoft 365 คือเครื่องมือสำหรับเพิ่มประสิทธิภาพที่ใช้ประโยชน์จาก AI และผผสมข้อมูลที่เราจัดเก็บใน Microsoft 365 ผ่าน Microsoft Graph และ Microsoft 365 Apps โดยใช้ Large language model (LLMs) มีการทำงานร่วมกับ Microsoft...

      รู้จักและใช้งาน Power Apps Collection จัดการง่ายดุจพลิกฝ่ามือ

      June 6, 2023

      New Power Apps Barcode Reader Control

      May 30, 2023

      รวมรวม Deck และชมย้อนหลังงาน Global Azure Bootcamp 2023

      May 18, 2023

      Evaluate Azure Stack HCI #2/10 “Deploy the Azure VM”

      April 22, 2023

      Monthly Archives

      Tags

      ARM Azure azure powershell azure update Charity Cloud Duangkaew Rujirawanich Exchange Flows Free E-book Office 365 for Power User; Office365 Global Microsoft 365 Developer Bootcamp json M365 Update Microsoft 365 Microsoft Teams mvpskill Mvpskill Saturday O365 Office365 Office 365 Office 365 Admin Office 365. O365 Tips Office 365;OneDrive for Business;SharePoint Online OneDrive for Business owa PowerApps Power Apps; Power Platform; Power Automate PowerBI Power Platform Powershell resource manager sharepoint Sharepoint 2013 SharePoint Online SPO TeamsTricks;microsoft Teams TeamsTricks;Teams for Admin TeamsTricks;Teams for User Template VM Windows 10 Windows server 2016 ดวงแก้ว รุจิรวนิช บทความ Remote Desktop Services เรื่อง RemoteAPP

      EDITOR PICKS

      copilot2

      เตรียมพร้อมใช้งาน Copilot for Microsoft 365

      January 24, 2024

      รู้จักและใช้งาน Power Apps Collection จัดการง่ายดุจพลิกฝ่ามือ

      June 6, 2023

      New Power Apps Barcode Reader Control

      May 30, 2023

      POPULAR POSTS

      แจกไฟล์ MS Word สำหรับทำซองผ้าป่า และใบฏีกา

      March 25, 2018

      ปัญหา windows 10 update แล้ว Font ไทยพังพินาศ

      September 1, 2016

      รู้จักกับ Active Directory และการติดตั้ง Domain Controller บน Windows 2008R2

      October 1, 2012

      POPULAR CATEGORY

      • Featured Posts304
      • Microsoft 365282
      • Tips & Technics122
      • Azure81
      • MVPSkill Events74
      • SharePoint & OneDrive72
      • Microsoft Teams70
      • Windows Server58
      • Windows Client55
      ABOUT US
      mvpskill.com | IT Professionals Community กลุ่มคนที่มีความเชี่ยวชาญและหลงใหลใน Microsoft Infrastructure เรารวมตัวกันเพื่อแบ่งปันความรุ้ความชำนาญให้กับพี่น้องร่วมอาชีพ เนื้อหาทั้งหมดไม่ว่าจะเป็น Knowledge Base, VDO, Ebook ทุกอย่างจะฟรี และฟรีตลอดไปครับ เนื้อหาและกิจกรรมงานสัมมนาที่เกิดขึ้นในสังคมแห่งนี้เกิดจากอาสาสมัคร ที่ไม่แสวงหาผลกำไรใด ๆ ทั้งสิ้น เราทำด้วยแรงกาย แรงใจ และแรงเงิน ที่พอจะมีส่วนตัวหรือได้รับการสนับสนุนจากองค์กรที่เห็นประโยชน์ของกิจกรรม หากปณิธานไม่ร่วงโรยไปตามกาลเวลา เราอยากจะไปให้ถึงการเป็นองค์การไม่แสวงหาผลกำไร (nonprofit organisation :NPO) ขอให้มีความสุขกับการแบ่งปันครับ
      FOLLOW US
      • Home
      • Featured Posts
        • AllProduct Update

          รู้จักและใช้งาน Power Apps Collection จัดการง่ายดุจพลิกฝ่ามือ

          New Power Apps Barcode Reader Control

          รวมรวม Deck และชมย้อนหลังงาน Global Azure Bootcamp 2023

          Azure Multi Cloud

          รวมลิงค์งาน Azure Multicloud วันที่ 8 ตุลาคม 2022

      • MVPSkill Events
        • รวมรวม Deck และชมย้อนหลังงาน Global Azure Bootcamp 2023

          MVPSkill Charity Meetup 2021 – Meeting 08 Azure Security & compliance

          MVPSkill Charity Meetup 2021 – Meeting 07 Azure Backup / Azure…

          MVPSkill Charity Meetup 2021 – Meeting 06 Azure App Services (PaaS)

          MVPSkill Charity Meetup 2021 – Meeting 05 Azure Virtual Machine (IaaS)

      • MVPSkill Saturday
      • Azure
        • รวมรวม Deck และชมย้อนหลังงาน Global Azure Bootcamp 2023

          Evaluate Azure Stack HCI #2/10 “Deploy the Azure VM”

          Evaluate Azure Stack HCI #1/10 “Introduction”

          MVPSkill Charity Meetup 2021 – Meeting 08 Azure Security & compliance

          MVPSkill Charity Meetup 2021 – Meeting 07 Azure Backup / Azure…

      • Microsoft 365
        • All5 นาทีกับ MVP 365CopilotExchange&OutlookMicrosoft 365 AdminMicrosoft 365 ComplianceMicrosoft 365 LifeMicrosoft 365 SecurityMicrosoft OfficeMicrosoft TeamsSharePoint & OneDriveSkype for BusinessYammer
          copilot2

          เตรียมพร้อมใช้งาน Copilot for Microsoft 365

          รู้จักและใช้งาน Power Apps Collection จัดการง่ายดุจพลิกฝ่ามือ

          New Power Apps Barcode Reader Control

          ซ่อน SharePoint List จาก User มือซน

      • Windows Client
        • AllWindows Security

          [Tips] แก้ปัญหา Font ตัวเล็กใน Edge แบบถาวร

          Windows 10 Privacy settings

          Windows 10 มี Mode แสงสว่างหน้าจอสำหรับทำงานกลางคืน “Night Light”

          Windows 10 Timeline ความส่วนตัวที่น่ากลัว

      • Windows Server
        • AllActive Directory & Group PolicyWindows Server 2012

          MVPSkill Charity Meetup 2021 – Microsoft Azure

          How to use Best Practices Analyzer in Windows Server 2012 R2

          การกำหนด Quotas โดยใช้ File Server Resource Manager (FSRM)

          รวมคำสั่งใช้ในการจัดการ Windows Server management – Keyboard Shortcuts and Commands

      • System Center
        • EMS ตอนที่ 1 ภาพรวมของ Enterprise Mobility Suite

          MDT 2013 Update 1 ออกแล้ว

          Upgrade SC 2012 SP1 Operations Manager to SC 2012 R2

          SC 2012 R2 : Operations Manager AD Monitoring Review#1

          SC2012 R2 : Operations Manager สีเทาแห่งการนิ่งเฉย

      • Tips & Technics
        • รู้จักและใช้งาน Power Apps Collection จัดการง่ายดุจพลิกฝ่ามือ

          New Power Apps Barcode Reader Control

          ซ่อน SharePoint List จาก User มือซน

          วิธีเอาชนะข้อจํากัด 500 รายการใน Power Apps

          สร้าง QR Code Reader ด้วย Power Apps

      • Tools
        • การใช้งาน Collection ใน Power Apps

          PowerApps EP.2

          SharePoint Online Management Shell

          จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #5

          SharePoint Online Management Shell

          จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #1

          Visual Studio Code Power Shell Extension

          PowerShell w/ Visual Studio Code

      • PowerShell
        • SharePoint Online Management Shell

          จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #6

          SharePoint Online Management Shell

          จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #5

          SharePoint Online Management Shell

          จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #4

          SharePoint Online Management Shell

          จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #3

          SharePoint Online Management Shell

          จัดการ SharePoint Online ให้อยู่หมัดด้วย Management Shell #2

      • นอกเรื่อง IT Pro
        • AllCertification & ExamDownload E-BookFree TrainingMVP LifeVDO Learning

          [Review] การสอบ Microsoft Certification จากที่บ้าน

          video

          มาแล้วดูย้อนหลัง MVPSkill Saturday : EP_24 15 February 2563- Microsoft 365 Products Update + DEMO 

          video

          มาแล้วดูย้อนหลัง MVPSkill Saturday : EP_23 8 February 2563- Microsoft Azure Products Update + DEMO 

          [สรุปงาน] งานสัมนา Power Platform ว่าด้วยการนำ Power BI / Power Apps /…

      • About Us
      © ข้อมูลภายในเว็บ mvpskill.com เป็นลิขสิทธิืของผู้เขียนบทความนั้นๆ
       

      Loading Comments...
       

      You must be logged in to post a comment.

        %d bloggers like this: