How to Change Datacenter Locations for Vultr Managed Apache Kafka®

Updated on 11 September, 2025

Learn how to change the datacenter location for your Vultr Managed Apache Kafka® deployment


Vultr Managed Apache Kafka® enables customers to switch their Kafka database to any of Vultr’s 32 global data center locations. Users can easily select a new location to enhance performance and reduce latency based on their operational needs. This straightforward interface allows for seamless transitions between data centers, ensuring customers can optimize their data streaming capabilities and maintain efficient connectivity across regions.

Follow this guide to change datacenter locations for Vultr Managed Apache Kafka® using Vultr Customer Portal, API, CLI, or Terraform.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  • Terraform
  1. Navigate to Products and select Databases.
  2. Select the target database.
  3. Navigate to Settings, and select Datacenter Location.
  4. Select a Data Center, and click Change Location.
  1. List all the databases by sending a GET request to the List Managed Databases endpoint and note the target database's ID.

    console
    $ curl "https://api.vultr.com/v2/databases" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a PUT request to the Update Managed Database endpoint to change the datacenter location.

    console
    $ curl "https://api.vultr.com/v2/databases/<database-id>" \
        -X PUT \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{
            "region" : "blr"
    }'
    
  1. List all databases and note the target database's ID.

    console
    $ vultr-cli database list --summarize
    
  2. Change the datacenter location.

    console
    $ vultr-cli database update <database-id> --region="blr"
    

    Run vultr-cli database update --help to view all options.

  1. Open your Terraform configuration and locate the Managed Apache Kafka® resource.

  2. Update the region on your Kafka resource and apply.

    terraform
    resource "vultr_database" "kafka" {
        label                   = "kafka-cluster-1"
        database_engine         = "kafka"
        database_engine_version = "3.7"
        region                  = "blr"  # New region
        plan                    = "vultr-dbaas-business-3x-occ-so-2-200-4"
    }
    
  3. Apply and observe:

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

Comments

No comments yet.