Categorize Lightsail resources with tags - Amazon Lightsail

Categorize Lightsail resources with tags

Use tags in Amazon Lightsail to categorize your resources by purpose, owner, environment, or other criteria. Tags can be added to resources at or after they are created. Follow these steps to add tags to a resource after it’s been created.

Note

For more information about tags, what resources can be tagged, and the restrictions, see Tags.

To add tags to a resource
  1. Sign in to the Lightsail console.

  2. In the left navigation pane, choose the tab for the resource type that you want to tag. For example, to add a tag to a DNS zone, choose the Networking tab. Or choose the Instances tab to add a tag to an instance.

    Note

    Instances, container services, CDN distributions, buckets, databases, disks, DNS zones, and load balancers can be tagged using the Lightsail console. However, more Lightsail resources can be tagged using the Lightsail API operations, or the AWS Command Line Interface (AWS CLI) or SDKs. For a full list of Lightsail resources that support tagging, see Tags.

  3. Choose the resource that you want to tag.

  4. On the management page for the resource that you selected, choose the Tags tab.

    Tags tab in the Lightsail console.
  5. Choose Manage tags.

  6. Use one of the following options, depending on the type of tag that you want to create—you can also edit tags that have already been added from this tab:

    • Create key-only tags

      1. Choose Add new tag.

      2. Enter a value for the Key for each tag that you want to create.

      3. Choose Save when you're done entering your tags, or choose Cancel to not add them.

        Key-only tags in the Lightsail console.
    • Create key-value tags

      1. Choose Add new tag.

      2. Enter a value for the Key and Value for each tag that you want to create.

      3. Choose Save when you're done entering your tags, or choose Cancel to not add them.

        Key-value tags in the Lightsail console.

Next steps

For more information about tasks that you can perform after adding tags to a resource, see the following guides: