Skip to main content
Apidly Cloud
Cookie policy

Analytics and ad cookies stay off unless you accept. Cookie policy

We would like to use Google Analytics and Microsoft Clarity to understand how the public pages are used, including page views and session recordings, and the Reddit Pixel to measure whether our ads on Reddit lead to visits and sign-ups. You choose here whether they are on. Rejecting changes nothing about how the site works.

Start, stop and restart

Control the state of your server, and what each state costs.

Last updated November 24, 20267 min read
View as Markdown

Open Servers, then a server. Use the buttons at the top, the Actions menu in the list, or the Settings tab.

States and charges

State Compute Disk storage
Provisioning No No
Starting, Stopping No Yes
Running, Restarting Yes Yes
Stopped No Yes
Error No Yes
Stopped for balance No Yes
Destroyed No No

Compute and storage are charged by the second. Your server's prices are shown on its Overview tab.

Stop

Stop ends the compute charge and keeps the disk. Running processes end. A stopped server still costs disk storage.

Start

Start brings a stopped server back. It can take a few minutes, and compute billing resumes. The GPU may be in use by someone else in the meantime. If so, the server shows an error. See If a server fails to start.

Restart

Restart reboots the server and ends running processes. The disk is kept. Use it when a process hangs.

Through the API: POST /api/v1/servers/{id}/restart; in the CLI: apidly restart ID [ID...].

Stop or restart several at once

In the server list, tick the servers and select Stop selected or Restart selected. To act on a group, select its tag in the tag row above the list (see Tags) and then Select all.

The CLI takes several IDs: apidly stop ID1 ID2, apidly restart ID1 ID2, apidly destroy ID1 ID2.

Through the API, POST /api/v1/servers/bulk with action (start, stop, restart or destroy) and serverIds (up to 100) acts on all of them in one call, which counts as one write against the key's rate limit. Each server gets the same checks as a call for it alone and its own result (ok, or the error it would have answered); the others still change. Send force: true to stop, restart or delete servers with an unfinished copy or backup. The CLI has apidly servers bulk stop ID1 ID2 [--force], the SDKs servers.bulkAction(...) (JavaScript) and servers.bulk_action(...) (Python).

Launch a copy

To run the same setup again, open the server, Settings, Launch a copy. The copy gets the plan, template, disk size, SSH keys, environment variables and secret values, ports, pricing (on-demand or interruptible) and tags of the original, and the label " copy". It is a new request: today's price, your balance and, for a new account, our review apply as they do for any server. The original is not touched.

Not copied: an attached volume (a volume belongs to one server at a time), automation rules such as an automatic stop (set them again on the copy), and the files on the disk. The browser terminal and the self-stop key come with their own new credentials.

A request that failed or that you cancelled has Launch again in the request list: a new request with the same settings. Through the API: POST /api/v1/servers/{id}/clone and POST /api/v1/deployments/{id}/launch-again, both with an optional label. The CLI: apidly clone ID and apidly deployments again ID.

Servers that a serverless endpoint or a server group started are not copied this way: change the endpoint or the group. A member whose role covers only their own servers can copy only servers they launched.

To keep the settings in a file instead, open the server, Settings, Download launch file. The file is the request that POST /api/v1/servers accepts: plan, template, disk size, SSH keys, variables, hardware needs, fallback plans, pricing, tags and repeating automation rules. Secret values are never written into it; the names to send again are shown when you download it. Launch from it with apidly deploy -f FILE.json --env NAME=VALUE. The CLI writes one with apidly servers export ID -f FILE.json, the API with GET /api/v1/servers/{id}/launch-file. See Launch file for what the file holds and how to use it in CI.

Destroy

Open the server, go to Settings, and use Destroy server in the Danger zone. Type the server name to confirm. Everything on the disk is deleted and cannot be recovered, and all charges for the server stop. Only owners and admins can destroy servers. Copy your data first. See Moving files.

Servers stopped because the balance ran out

If your balance reaches zero and the grace period ends, running servers are stopped. Their disks are kept until the delete date shown in the banner. Add credit, then select Start on each server. If the balance stays at zero, these servers are deleted on that date. See Billing and balance.

Rental period ending

Every host is rented for a limited time, and the server page shows Available until with the end date. In the last 72 hours a banner says so. We also email the organization owner, add an in-app notice and send a server.rental_ending webhook 7 days, 72 hours and 24 hours before the end.

At the end date the platform stops the server, which shows as stopped with the reason "rental period ended". Its disk is deleted about 48 hours later. You are not charged for compute after the end date, and the server cannot be started again. Before the end date, copy what you need to storage or to another server (see Moving files), then deploy a new server. Serverless endpoint workers are replaced automatically one hour before their host's rental period ends.

Rename

Select Rename next to the server name. A name has 1 to 60 characters. The server is not affected.

Note

A note is your own free text on a server: what it is for, who owns it, what not to delete. It has up to 2,000 characters of plain text (line breaks are kept; it is never shown as HTML).

  • Console: open the server and select Add a note (or Edit note). In the server list, the first line of the note shows under the server ID; hover it for the whole note.
  • API: PATCH /api/v1/servers/{id} with note (null or "" clears it). GET /api/v1/servers/{id} and the list return note.
  • CLI: apidly servers note ID "text", or apidly servers note ID --clear. apidly servers show ID prints it.
  • SDKs and MCP: servers.setNote(id, text) (JavaScript), servers.set_note(id, text) (Python); the MCP tool get_server returns it.

Members who can manage servers can change the note; everyone who can see the server can read it. The note is kept by Apidly only: it is never sent to the host and is not part of webhook payloads. The activity log records that the note changed, not its text.

Tags

Tags group servers: by project, team, environment or cost centre. A server can have up to 10 tags. A tag has 1 to 32 characters: lower-case letters, digits and - _ . :, starting with a letter or digit (for example team-a, env:prod). Capital letters are turned into lower case.

  • At launch: the review step of the deploy wizard has a Tags field. The API takes tags in the request, and the CLI takes --tag.
  • Later: open the server, Settings, Tags. Through the API use PATCH /api/v1/servers/{id} with tags (replaces the list), addTags or removeTags; the CLI has apidly servers tag ID --add a --remove b.
  • Many at once: in the server list, tick the servers and select Edit tags to add or remove tags on all of them. A server that cannot take the change (already at 10 tags) is skipped and counted in the message; the others change. Through the API use POST /api/v1/servers/tags with serverIds (up to 100), addTags and removeTags; the CLI takes several IDs: apidly servers tag ID1 ID2 --add team-a.
  • Find servers: in the server list, select one or more tags in the tag row to show only servers that carry all of them, then Select all to stop or restart that group. The API list takes ?tag=team-a,batch, the CLI apidly servers --tag team-a.
  • Search: the search box of the server list finds text in a server's name, ID, GPU model, note or tags (any part, capitals ignored). The API list takes ?q=llama, the CLI apidly servers --search llama.
  • Reports: Billing → Usage groups spend by tag, and the detailed usage CSV export has a tags column (tags joined with ;). See Export your usage.
  • Webhook payloads for server events carry tags.

Tags are your own labels and are kept by Apidly only. They do not change how a server runs or what it costs.

Who can do what

Members can start, stop and restart servers. Owners and admins can also destroy them. See Teams and roles.

Interrupted servers

An interruptible server can be paused when demand for its machine rises. It then shows Interrupted, keeps its disk and is not charged for compute, but it does not resume by itself: select Start when you are ready. See Interruptible servers.

Ready to try it?

Create a free account and add credit when you want to start a server. The smallest top-up is $10.

Create a free account

Was this helpful?

Still stuck? Contact us