Tags are a critical component of Cloud Assembly that drive the placement of deployments through matching of capabilities and constraints. You must understand and implement tags effectively to make optimal use of Cloud Assembly.
Fundamentally, tags are labels that you add to Cloud Assembly items. You can create any tags that are appropriate for your organization and implementation. Tags function as much more than labels though, because they control how and where Cloud Assembly uses resources and infrastructure to build deployable services. Tags also support governance within Cloud Assembly.
Structurally, tags must follow the
name:value pair convention, but otherwise their construction is largely free form. Throughout Cloud Assembly, all tags appear the same, and tag functionality is determined by context.
For example, tags on infrastructure resources function primarily as capability tags because Cloud Assembly uses them to match resources with deployments. Secondarily, they also identify the resources.
The primary function of tags within Cloud Assembly is to configure deployments using capabilities and constraints. Capability tags placed on cloud zones, network and storage profiles, and individual infrastructure resources define desired capabilities for deployments. Constraint tags that cloud administrators place on projects enable them to exercise a form of governance over those projects. These constraint tags are added to other constraints expressed in blueprints.
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 that you are setting up cloud zones and you have many compute resources available. If you have tagged your compute resources appropriately, you can use the search function on the Compute tab of the Cloud Zone page to filter the resources that are associated 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 might also contain external tags. These tags are imported automatically from cloud accounts that you associate with a Cloud Assembly instance. These tags might 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, the Manage Tags page is the only page on which you can view and identify external tags.
To minimize confusion, before creating tags in Cloud Assembly, 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.