Deleting a server is permanent. The server, its disk and all of its snapshots are removed, and its IP addresses go back to the pool. There is no undo and no recycle bin, so save what you need before you start.
Before you delete
- Copy your data off the server. Snapshots do not help here: they are deleted with the server (Back up your data off the server).
- Update your DNS. Records that point at the server's IP addresses will soon point at addresses that are no longer yours.
- Decide about floating IPs. A floating IP attached to the server is detached, but it stays reserved on your account at $2.00 a month. Attach it to another server or release it on the Floating IPs page (Reserve and assign floating IPs).
- Check how billing ends. Hourly billing stops at deletion. A prepaid term (1, 3, 6 or 12 months) is not refunded automatically: see Getting money back below.
Delete the server
- Open Servers, click the server, then open the Delete tab.
- Read the notice. It tells you how billing ends for this server. On an hourly server: "Billing stops now; the last partial hour is charged." On a prepaid server: "The prepaid term is not refunded automatically. Within 14 days of your first top-up, support refunds the unused days of the term on request; after that, a started term is not refunded (see the refund policy)."
- Type the server's name exactly as shown.
- Click Delete server forever.
You are taken back to Servers, where a message confirms the server is being deleted. Its badge reads Deleting until the removal is done, then it leaves the list. Auto-renew is switched off at once, so a prepaid server cannot renew while it is being removed.
To see deleted servers again for reference, click Show deleted servers at the bottom of the Servers list.
What stays on your account
Firewalls, SSH keys, startup scripts and floating IPs stay, ready for your next server. Invoices, transactions and the activity log keep their records of the deleted server.
Messages you may see
- "Type the server name exactly to confirm deletion." The name did not match. Copy it from the page title.
- "This server is already being deleted." Nothing more to do.
You can delete a server in any state, including Suspended. A server suspended for billing that is not brought back is deleted automatically when its grace period ends (When your balance runs out).
Getting money back
Deleting a server never refunds anything by itself. What you can get back depends on timing:
- Within 14 days of your first top-up, support refunds your unused balance on request. The unused days of a prepaid term count as unused balance, so you pay only for the time you used.
- After that, a term that has started is not refunded. Unused balance can still be refunded on request when you stop using CloudSat.
Top-up bonuses, promo credit, referral rewards and SLA credits are deducted from any refund. To ask, open a ticket from Support, choose Refund request as the category, and give a wallet address for the coin you paid with (Request a refund, refund policy).
Through the API
curl -s -X DELETE https://cloudsat.io/api/v1/servers/srv_7kq2m9xw \
-H "Authorization: Bearer $CLOUDSAT_TOKEN"
The call needs a read and write token. It answers with a task ID you can follow until the deletion is done (API reference).