Skip to content

Commit ecbc45f

Browse files
committed
instances: add compute units, add pricing tables for regular/coco, upgrade payg/cost checks and estimations, add cost to instance list cmd, fix addr delegation, and update with recent changes (rm superfluid + add displayable_amount)
1 parent 2f4cace commit ecbc45f

File tree

3 files changed

+192
-199
lines changed

3 files changed

+192
-199
lines changed

src/aleph_client/commands/help_strings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@
2222
ROOTFS = (
2323
"Hash of the rootfs to use for your instance. Defaults to Ubuntu 22. You can also create your own rootfs and pin it"
2424
)
25-
ROOTFS_SIZE = (
26-
"Size of the rootfs to use for your instance. If not set, content.size of the --rootfs store message will be used"
27-
)
25+
COMPUTE_UNITS = "Number of compute units to allocate. Compute units correspond to a tier that includes vcpus, memory, disk and gpu presets. For reference, run: `aleph pricing for --help`"
26+
ROOTFS_SIZE = "Rootfs size in MiB to allocate"
2827
VCPUS = "Number of virtual CPUs to allocate"
29-
MEMORY = "Maximum memory (RAM) allocation on VM in MiB"
28+
MEMORY = "Maximum memory (RAM) in MiB to allocate"
3029
TIMEOUT_SECONDS = "If vm is not called after [timeout_seconds] it will shutdown"
3130
SSH_PUBKEY_FILE = "Path to a public ssh key to be added to the instance"
3231
CRN_HASH = "Hash of the CRN to deploy to (only applicable for confidential and/or Pay-As-You-Go instances)"
@@ -51,6 +50,7 @@
5150
PAYMENT_CHAIN_USED = "Chain you are using to pay for your instance"
5251
ORIGIN_CHAIN = "Chain of origin of your private key (ensuring correct parsing)"
5352
ADDRESS_CHAIN = "Chain for the address"
53+
ADDRESS_PAYER = "Address of the payer. In order to delegate the payment, your account must be authorized beforehand to publish on the behalf of this address. See the docs for more info: https://docs.aleph.im/protocol/permissions/"
5454
CREATE_REPLACE = "Overwrites private key file if it already exists"
5555
CREATE_ACTIVE = "Loads the new private key after creation"
5656
PROMPT_CRN_URL = "URL of the CRN (Compute node) on which the instance is running"

0 commit comments

Comments
 (0)