Learn how to upgrade your Vultr server to a more powerful configuration with additional resources.
Managing Your Vultr Container Registry Plan enhances your storage capacity, access controls, and performance. By moving to a Premium, Business, or Enterprise plan, you can better meet your growing needs and take advantage of advanced features and improved capabilities. This upgrade ensures that your container registry can scale effectively with your requirements.
Follow this guide to upgrade your Vultr Container Registry plan on your Vultr account using the Vultr Customer Portal, API, CLI, or Terraform.
Navigate to Products and click Container Registry.
Click your target registry to open its management page.
Click Settings to open its settings page.
Select a plan in the Upgrade Plan section.
Click Update to apply the change.
Send a GET
request to the List Registry Plans endpoint and note the target plan key.
$ curl "https://api.vultr.com/v2/registry/plan/list" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a GET
request to the List Container Registries endpoint and note the target registry's ID.
$ curl "https://api.vultr.com/v2/registries" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a PUT
request to the Update Container Registry endpoint to upgrade the target registry plan.
$ curl "https://api.vultr.com/v2/registry/{registry-id}" \
-X PUT \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"plan" : "{upgraded-plan-key}"
}'
List all Vultr Container Registry plans and note the target plan.
$ vultr-cli container-registry plans
List all the available registries in your Vultr account and note the target registry's ID.
$ vultr-cli container-registry list
Upgrade the plan of your target registry.
$ vultr-cli container-registry update <registry-id> --plan "<upgraded-plan-key>"
Open your Terraform configuration where the Container Registry is defined.
Update the plan
attribute in your Container Registry resource to upgrade to your desired plan.
terraform {
required_providers {
vultr = {
source = "vultr/vultr"
version = "~> 2.27"
}
}
}
provider "vultr" {}
resource "vultr_container_registry" "registry" {
name = "container-registry"
region = "sjc"
plan = "business" # Updated from "start_up" to "business"
public = false
}
Apply the configuration and observe the following output:
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
No comments yet.