This topic describes a basic approach and options for a logical Cloud Assembly tagging strategy. You can use these examples as a starting point for an actual deployment, or you can devise a different strategy that better suits your needs.
Typically, the cloud administrator is the primary individual responsible for creating and maintaining tags.
This topic refers to the WordPress use case described elsewhere in the Cloud Assembly documentation to illustrate how tags can be added to some key items. It also describes possible alternatives and extensions to the tagging examples that appear in the WordPress use case.
See Tutorial: Setting up and testing multi-cloud infrastructure and deployments in Cloud Assembly for more information about the WordPress use case.
The WordPress use case describes how to place tags on cloud zones and storage and network profiles. These profiles are like organized packages of resources. Tags placed on profiles apply to all items within the profile. You can also create and place tags on storage resources and individual network items as well as on compute resources, but these tags apply only to the specific resources on which they are placed. When setting up tags, it is usually best to begin by tagging compute resources, and then you can add tags to profiles and cloud zones later. Also, you use these tags to filter the list of compute resources for a cloud zone.
For example, while you can place tags on storage profiles as shown in this use case, you can also place tags on individual storage policies, data stores, and storage accounts. Tags on these resources enable you to exercise finer control over how storage resources are deployed. During processing in preparation for deployment, these tags are resolved as a next level of processing after the profile tags.
As an example of how you might configure a typical customer scenario, you could place a tag of region: eastern
on a network profile. This tag would apply to all resources within that profile. Then you could place a tag of networktype:pci
on a pci network resource within the profile. A cloud template with constraints of eastern and pci would create deployments that use this pci network for the eastern region.