11.5 Resource Groups & Tagging

What are tags

  • Key-value pairs attached to AWS resources, e.g. EC2 instances.

  • Metadata

  • Tags can sometimes be inherited

    • Auto-scaling, CloudFormation and Elastic Beanstalk can create other resources.

What are Resource Groups

  • Resource Groups make it easy to group your resources using the tags that are assigned to them. You can group resources that share one or more tags.

  • Resource groups contain information such as:

    • Region

    • Name

    • Health Checks

  • Specific information

    • For EC2 - public & private IP addresses

    • For ELB - port configurations

    • For RDS - database engine typs, etc.

Steps - Resources Groups

  • Create an EC2 instance, give tags "Name - Developers" and "Developers - TeamA" to it.

  • Go to Resource Groups

  • Give it a group name, tags (Name - Developers, Developers - Team A), click save.

  • Now, this resource group is bringing all of instances which has tags "Name - Developers, Developers - TeamA" across all regions into this group.

  • Click "Go", you can launch the instances in this group.

  • You can add columns to see more tags of a group or an instance.

  • Go to Tag Editor, you can edit all of your tags, and see all of your instances, and change their tags.

Highly recommend you to use Resources Groups and Tags to manage your resources on AWS.

Last updated

Was this helpful?