Restarting an instance performs a hard reboot and stops all running processes on your server before starting them again. Restarting does not alter the instance data or file system and enables the application of updates or configuration changes that require a reboot.
Follow this guide to restart a Vultr Cloud Compute instance using the Vultr Customer Portal, API, or CLI.
Navigate to Products and click Compute.
Click your target Cloud Compute instance to open its management page.
Click Server Restart on the top-right navigation menu to restart your server.
Click Restart Server in the confirmation prompt to apply changes.
Send a GET
request to the List Instances endpoint and note the target instance's ID in your output.
$ 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 instances in your Vultr account and note the target instance's ID.
$ vultr-cli instance list
Restart the instance.
$ vultr-cli instance restart <instance_id>