Learn how to restart your Vultr Optimized Cloud Compute instance through the Customer Portal or API.
Restarting an instance performs a hard reboot, stopping all running processes before starting them again. It does not affect the instance's data or file system and allows application updates or configuration changes that require a reboot to take effect.
Follow this guide to restart a Vultr Optimized Cloud Compute instance using the Vultr Customer Portal, API, or CLI.
Send a GET
request to the List Instances endpoint and note your target instance's ID.
$ curl "https://api.vultr.com/v2/instances" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a POST
request to the Reboot Instances endpoint to restart the instance.
$ curl "https://api.vultr.com/v2/instances/reboot" \
-X POST \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"instance_ids" : [
"instance_id"
]
}'
List all available instances and note your target instance's ID.
$ vultr-cli instance list
Restart the instance.
$ vultr-cli instance restart <instance_id>
No comments yet.