Ad space (banner)
AD

Got the fundamentals? A structured AWS course is a fast way to level up.

Find AWS courses on Udemy

Affiliate link. Costs you nothing extra.

☁️AWS Lessons
Lesson 32 / 41

What Is Tagging?

A tag is a key-value label you attach to a resource. Tags are how you keep track of what a resource is for once you have more than a handful.

Common tags are Name, Environment (production, staging), Owner and Project.

Running aws ec2 create-tags attaches a tag, after which the resource is identifiable by name rather than by a cryptic ID.

A common stumble is not tagging at all, then facing a bill with dozens of unlabelled instances and no idea which team owns which.

In real work, tags drive cost allocation reports, automation (such as "stop everything tagged dev at night"), and access control.

AWS
Try it (type this into the pseudo terminal)
aws ec2 create-tags --resources i-0123456789abcdef0 --tags Key=Name,Value=web-server

🧑‍💻 You can type this command into the AWS pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)