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, and CLI.
Navigate to Products and select Databases.
Select the target database.
Navigate to Settings, and select Datacenter Location.
Select a Data Center, and click Change Location.
List all the databases by sending a GET
request to the List Managed Databases endpoint and note the target database's ID.
$ curl "https://api.vultr.com/v2/databases" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a PUT
request to the Update Managed Database endpoint to change the datacenter location.
$ 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"
}'
List all databases and note the target database's ID.
$ vultr-cli database list --summarize
Change the datacenter location.
$ vultr-cli database update <database-id> --region="blr"
Run vultr-cli database update --help
to view all options.