bitburner.cloud.md

November 7, 2025 ยท View on GitHub

Home > bitburner > Cloud

Cloud interface

Cloud API

Signature:

export interface Cloud 

Methods

Method

Description

deleteServer(host)

Delete a cloud server.

getRamLimit()

Returns the maximum RAM that a cloud server can have.

getServerCost(ram)

Get cost of purchasing a cloud server.

getServerLimit()

Returns the maximum number of cloud servers you can purchase.

getServerNames(returnOpts)

Returns an array with the hostnames or IP addresses of all of the cloud servers you have purchased. Returns hostnames by default.

getServerUpgradeCost(host, ram)

Get cost of upgrading a cloud server to the given RAM.

purchaseServer(hostname, ram)

Purchase a cloud server.

renameServer(hostname, newName)

Rename a cloud server.

upgradeServer(host, ram)

Upgrade a cloud server's RAM.