Attach tags using a service-specific tagging command.
Section: Common Cross-Service Recipes
Create tags on a resource
bash
bash
aws ec2 create-tags --resources i-0123456789abcdef0 --tags Key=Name,Value=web-01 Key=Env,Value=prodExplanation
Many AWS services expose service-specific tagging commands or APIs.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Common Cross-Service Recipes