- Lab
- A Cloud Guru
Creating AWS Tags and Resource Groups
To simplify the management of AWS resources such as EC2 instances, you can assign metadata using tags. Resource groups can then use these tags to automate tasks on large numbers of resources at one time. They serve as a unique identifier for custom automation, to break out cost reporting by department, and much more. In this hands-on lab, you will create a project-level tag and assign it to multiple resources at once, before creating a resource group based on the tag.
Path Info
Table of Contents
-
Challenge
Create and Assign Project-Level Tags to Resources
- Navigate to Resource Groups & Tag Editor > Tag Editor.
- In the Find resources to tag section, select us-east-1 as the region.
- In Resource types, select AWS::EC2::Instance and AWS::S3::Bucket.
- Use the Filter resources field to search for resources related to Star.
- Select all resources, then add a new tag with a** Tag Key** called Project and a Tag Value called Star.
- Repeat the process for Big. Create a new tag with a Tag Key called Project and a Tag Value called Big.
-
Challenge
Create Resource Groups from the Assigned Tags
- Navigate to** Resource Groups & Tag Editor** > Create Resource Group.
- Select Tag based.
- In the** Grouping criteria** section, ensure All supported resource types is selected.
- Under Tags, select Project, and in the value field, filter by the keyword Big.
- Select all resources displayed.
- Enter Big-Project-Resource-Group as the group name, and create the group.
- Repeat the same process for the Star project, filtering the tag value by the keyword Star and naming the group Star-Project-Resource-Group.
-
Challenge
Test Resource Groups through AWS CloudWatch
- Navigate to CloudWatch > Overview.
- Use the dropdown menu next to Filter by resource group to select either Big-Project-Resource-Group or Star-Project-Resource-Group.
- Review the resource-group-level statistics for the selected group.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.