Tags are a critical component of Cloud Assembly that drive the makeup of deployments through matching of capabilities and constraints. You must understand and implement tags effectively in order to make optimal use of Cloud Assembly.
Fundamentally, tags are labels that you add to Cloud Assembly items. Tags function as much more than labels though, because they control how and where resources and infrastructure are used to build deployable services.
Tags construction is largely free form, though tags do follow the
name:value pair convention. You can create any tags that are appropriate for your organization and implementation.
The primary function of tags within Cloud Assembly is to configure deployments. Tags placed on cloud zones, network and storage profiles and individual infrastructure resources define desired capabilities for deployments.
During provisioning, Cloud Assembly matches these capabilities with constraints, also expressed as tags, in blueprints to define deployment configuration. This tag based capability and constraint functionality serves as the foundation for deployment configuration in Cloud Assembly. For instance, you can use tags to make infrastructure available only on PCI resources in a particular region.
On a secondary level, tags also facilitate search and identification of storage and network items and other infrastructure resources.
For example, assume you are setting up cloud zones and you have many compute resources available. Assuming you have tagged your compute resources appropriately, you can use the search function on the Compute tab of the Cloud Zone page to locate the resources that you want to associate with that particular cloud zone.
Also, the Manage Tags page and resource configuration pages contain search functions that enable you to locate items by tag names. Using logical and human readable tags for these items is key to facilitating this search and identification function.
Cloud Assembly may also contain external tags. These are tags imported automatically from cloud accounts that you associate with a Cloud Assembly instance. These tags could be imported from vSphere, AWS, Azure or other external software products. When imported, these tags are available for use in the same manner as user created tags.
You can use the Manage Tags page in Cloud Assembly to monitor and manage your tags library. You can also create tags on this page. In addition, this is the only page on which you can view and identify external tags.
In order to minimize confusion, before creating tags in Cloud Assembly, you should devise an appropriate tag strategy and tagging conventions, so that all users who create and use tags understand what they mean and how they should be used. See Creating a Tagging Strategy.