How to Add Custom Tags Using CLI for Azure and AWS

Overview

Starting with release Avi Vantage 18.2.2, custom tags are supported for Azure and AWS cloud. These tags are useful in grouping and managing resources for easier management.

Azure tags: Tags enable key:value pairs to be created and assigned to resources in Azure. For more information on Azure tags, refer to Azure Tags.

AWS Tags: To help manage instances, images, and other Amazon EC2 resources, you can optionally assign your own metadata to each resource in the form of tags. For more information on AWS tags, refer to AWS Tags.

Configuring Custom Tags Using Avi CLI

Use the custom_tag tag_key <tag key name> tag_val <tag value> command under the configure serviceenginegroup <name of se group> mode to configure custom tags.

Login to the Avi CLI and execute the following commands from the shell mode.


[admin:10-1-1-1]: > configure serviceenginegroup <name of se group>
[admin:10-1-1-1]: serviceenginegroup> custom_tag tag_key <tag key name> tag_val <tag value>
[admin:10-1-1-1]: serviceenginegroup > save
[admin:10-1-1-1]: cloud > save

Additional Information

How to Access and Use Quagga Shell using Avi CLI https://avinetworks.com/docs/18.2/