Use an API Call to Stop a Cloud Server

Using the API to Shut Down a Rackspace Cloud VM

You might need to stop a cloud server for multiple reasons, including the following ones:

  • To test your disaster recovery procedures
  • To upgrade a server by creating a new server but leaving the old one in a stopped state
  • To determine whether the server is still actively in use
  • To assist with data recovery

You can use the Cloud Server Application Programmer Interface (API) by using a cURL®
command, a script, or the interactive website application, Pitchfork. To learn more about
Pitchfork, see Pitchfork - the Rackspace Cloud API web application to.

To use Pitchfork to stop a server, perform the following steps:

  1. Log in to Pitchfork and enter your credentials. If you don't know how to find
    your credentials, see View and reset your API key.
  2. Under Available Product, click Cloud Server.
  3. Scroll down to Stop Server in the Server Actions section.
  4. Click on Details.
  5. Insert the server instance UUID, which you can find in the Cloud Control Panel.
  6. Click Send API Call.

This command sends an API call that stops the server. The control panel will reflect this change in 3-5 minutes.

Note: Rackspace continues to bill the owner of the server continues even if a server
is stopped. To stop getting billed, delete the server.

To Start a Server in Stopped State

  1. Log in to the Cloud Control Panel.
  2. In the top navigation bar, click Select a Product > Rackspace Cloud.
  3. Select Servers > Cloud Servers.
  4. Click the action cog next to the server that you want to reboot and select Reboot.