Vultr DocsLatest Content


How to Add Tags on a Vultr Cloud Compute Instance

Updated on 11 September, 2025

A labeling system that helps organize and filter Vultr resources for easier management and identification.


Tagging allows you to assign specific labels, known as tags, to an instance for improved identification in your Vultr account. Tags consist of multiple characters that help identify, organize, and manage instances in your Vultr account.

Follow this guide to add tags on a Vultr Cloud Compute instance using the Vultr Customer Portal, API, CLI, or Terraform.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  • Terraform
  1. Navigate to Products and click Compute.
  2. Click your target Vultr Cloud Compute instance to open its management page.
  3. Navigate to the Tags tab.
  4. Enter a new tag in the Add Tag field and click Add to apply the new tag.
  1. Send a GET request to the List Instances endpoint and note your target instance's ID.

    console
    $ curl "https://api.vultr.com/v2/instances" \
      -X GET \
      -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a PATCH request to the Update Instance endpoint to add new tags to the instance.

    console
    $ curl "https://api.vultr.com/v2/instances/{instance-id}" \
      -X PATCH \
      -H "Authorization: Bearer ${VULTR_API_KEY}" \
      -H "Content-Type: application/json" \
      --data '{
        "tags" : ["tag1", "tag2"]
      }'
    
  1. List all available instances and note your target instance's ID.

    console
    $ vultr-cli instance list
    
  2. Add new tags to the instance.

    console
    $ vultr-cli instance tags <instance_id> --tags <tag1,tag2>
    
  1. Open your Terraform configuration for the existing Cloud Compute instance.

  2. Add or update the tags argument in the instance resource.

    terraform
    resource "vultr_instance" "cc" {
        # ...existing fields (region, plan, os_id, label, etc.)
    
        tags = ["production", "web-server"]
    }
    
  3. Apply the configuration and observe the following output:

    Apply complete! Resources: 0 added, 1 changed, 0 destroyed.

Comments