Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Using 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 explore tag restrictions and best practices for tagging strategies. You will also get experience with the Tag Editor, AWS resource group basics, and leveraging automation through the use of tags.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 15m
Published
Clock icon Oct 05, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Set Up AWS Config

    • Navigate to AWS Config, and use 1-click setup to set it up.
  2. Challenge

    Tag an AMI and EC2 Instance

    • Navigate to EC2.
    • Select any of the instances and create an AMI image from the instance.
    • For the Image name, enter Base, and create the image.
    • Once the image status is Available, launch a new instance of type t3.micro, and name it My Test Server.
    • Assign the existing SecurityGroupWeb security group to the instance, and launch the instance.
  3. Challenge

    Tag Applications with the Tag Editor

    • Navigate to Resource Groups & Tag Editor > Tag Editor.
    • Filter by EC2 and S3.
    • Locate all resources related to Mod. 1 and moduleone. Add a new tag to the resources with a Tag Key called Module and a Tag Value called Starship Monitor.
    • Repeat the process for Mod. 2 and moduletwo resources. Create a new tag with a Tag Key called Module and a Tag Value called Warp Drive.
  4. Challenge

    Create Resource Groups and Use AWS Config Rules for Compliance

    • Create two resource groups.
    • For Module: Starship Monitor use the group name Starship-Monitor.
    • For Module: Warp Drive use the group name Warp-Drive.
    • Use AWS Config to set up a rule named approved-amis-by-id to check if instances are using an approved AMI. The AMI to check against is the AMI of the My Test Server instance.
    • Reboot all instances, and observe the results in AWS Config.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans