createdby is a type of system tag that is provided by Alibaba Cloud and automatically added to resources. This type of tag is used to identify the creators of resources. createdby tags can help you analyze costs and bills and manage the costs of cloud resources in an efficient manner.

Format of createdby tags

Tag key or valueFormat
Tag keyacs:tag:createdby
Tag value
  • If the resource is created by using an Alibaba Cloud account, the tag value is in the customer:<AccountId> format. <AccountId> indicates the ID of the Alibaba Cloud account.
  • If the resource is created by using a RAM user, the tag value is in the sub:<RamUserId>:<RamUserName> format. <RamUserId> indicates the ID of the RAM user, and <RamUserName> indicates the username of the RAM user.
  • If the resource is created by using a RAM user and the RAM user assumes a RAM role by using a security Token Service (STS) token, the tag value is in the assumedRoleUser:<RamRoleName>:<RolePlayerId> format. <RamRoleName> indicates the name of the RAM role that is assumed by the RAM user, and <RolePlayerId> indicates the ID of the RAM user.

Use createdby tags

  1. Enable createdby tags on the Createdby Tag page of the Resource Management console.
    For more information, see Enable createdby tags.
  2. The system automatically adds createdby tags to newly created resources.
    The system automatically adds createdby tags to only resources that support createdby tags. For more information, see View the Alibaba Cloud services that support createdby tags.
  3. View createdby tags.
    For more information, see View createdby tags.

View the Alibaba Cloud services that support createdby tags

By using the console

  1. Log on to the Resource Management console.
  2. On the Tags page, click the Resource Tagging Capabilities tab.
  3. View the Alibaba Cloud services and resource types that support createdby tags.
    View createdby tags
    • In the CreatedBy Tag Bill Support column, you can check whether a resource type supports createdby tag-based cost allocation.
    • In the CreatedBy Tag Console Support column, you can check whether the createdby tags that are added to a type of resource are visible in the console of the service to which this type of resource belongs.

By calling an API

Call the ListSupportResourceTypes operation to view the Alibaba Cloud services and resource types that support createdby tags. You can determine the services and resource types based on the following values of the SupportCode parameter:

  • CREATED_BY_TAG_BILL_SUPPORT: indicates whether a resource type supports createdby tag-based cost allocation.
  • CREATED_BY_TAG_CONSOLE_SUPPORT: indicates whether the createdby tags that are added to a type of resource are visible in the console of the service to which this type of resource belongs.