FFxF
net.ffxf/cloud
Create and manage VMs, managed databases, firewalls and load balancers in Montréal, Canada.
- add_ssh_key — Saves a public key on the account so new machines can be reached without a password. Scope: sshkeys.write.
- attach_firewall — From now on the machine refuses inbound traffic no rule of its firewalls opens; enforced within about ten seconds of the call. Up to 5 firewalls per machine, rules add up. Refused for a machine with n
- backup_database — Starts a differential backup within a minute, e.g. before a risky migration. Not available on a linked fork. Scope: backups.write.
- connect_vpc — Hot-adds a card on the private network and sets its address in the system, without a restart. configuration: manual means the address must be set by hand in the guest. Connecting again returns the sam
- create_database — Orders a managed database (PostgreSQL, MySQL, MariaDB or Valkey) in a private network, billed by the hour from now (the account needs 24 hours of credit), or by the month (730 hours) or the year (ten
- create_database_user — Creates a user with a generated password, returned here once (also readable with get_database_credentials); live within seconds. Up to 30 users. It connects only to its databases (every logical databa
- create_firewall — Creates a reusable set of inbound and outbound rules. Without rules it starts with SSH (TCP 22) and ping open from anywhere; pass rules: [] for none. Nothing is filtered until it is attached to a mach
- create_load_balancer — Orders a load balancer in a private network, billed by the hour from now (the account needs 24 hours of credit), or by the month (7.30 CAD) or the year (73 CAD) with billing. A monthly or yearly perio
- create_logical_database — Creates another database inside the managed database (like defaultdb), owned by the admin; up to 30. Not on Valkey (numbered databases, SELECT 0 to 15). Scope: databases.write.
- create_vm — Orders a machine and spends credit (hourly) or raises an invoice (monthly). Returns the machine and a provisioning action to poll with get_action. Retrying the same order is safe: it is deduplicated f
- create_vpc — Creates an isolated private network; ready when the call returns. The first usable address (.1) is reserved for the gateway. Scope: network.write.
- delete_database — DELETES the database and its data; billing stops. Ask the user first. confirm_name must be the database's exact name. Its backups stay 7 days (restore_database can bring it back meanwhile). Refused wh
- delete_database_user — Hands the user's objects to the admin, then drops the user. The admin (ffxfadmin, or default on Valkey) cannot be deleted. Scope: databases.write.
- delete_firewall — Deletes a firewall attached to no machine. Refused while it protects one: detach it first. Scope: network.write.
- delete_listener — Closes the port and removes its rules. Scope: network.write.
- delete_load_balancer — Deletes the load balancer, its address and its configuration; billing stops. Target machines are not touched. Ask the user first. Scope: vms.destroy.
- delete_logical_database — DROPS the logical database with everything in it (the backups keep it 7 days). Ask the user first. Scope: databases.write.
- delete_pool — Removes a pool, its targets and the rules leading to it. Scope: network.write.
- delete_ssh_key — Removes a key from the account. Machines already deployed with it keep it; only future deployments change. Scope: sshkeys.write.
- delete_vpc — Deletes an empty private network. Refused while a machine is still on it: disconnect or destroy those first. Ask the user first. Scope: network.write.
- destroy_vm — DESTROYS the machine and its disk, with no undo and no backup kept. With when=now on a monthly or yearly machine: the unused paid time, less the hours used at the hourly rate, returns as account credi
- detach_database_fork — Gives a linked fork its own copy of the data; the database is unavailable for about 30 seconds, then its backups start. Scope: vms.action.
- detach_firewall — Removes the firewall's rules from the machine; with no other firewall it accepts all inbound traffic again. Scope: network.write.
- disable_extension — Drops the extension without CASCADE: if objects depend on it, it stays and get_database shows why in warning. Scope: databases.write.
- disconnect_vpc — Removes the machine's private address and card, without a restart. Refused for the only network of a machine with no public address. Scope: network.write.
- enable_extension — PostgreSQL only. Enables an extension from get_database_options (vector for pgvector, postgis, pg_trgm…) in one logical database; installed on demand, live within a minute. Scope: databases.write.
- estimate_vm — Runs every check of create_vm and prices it, without creating anything: would_succeed, hourly rate, monthly price, credit required (unpaid traffic overage, traffic_debt, included). Call it before crea
- fork_database — Creates a NEW database, billed like any other, whose data is an instant copy of this one (for a test or staging copy), with the same users and passwords. It stays linked to its source for up to 7 days
- get_account — Credit balance, hourly burn rate and runway, quota and budget caps, and traffic: the account's traffic pool this month (used, allowance earned and projected, estimated overage). Scope: billing.read.
- get_action — Follows an asynchronous action (create, reinstall, power…). Poll until status leaves running; on error it carries the reason. Scope: vms.read.
- get_database — One database: status, connection (host, private ip, port, defaultdb and ffxfadmin; on Valkey no database and default), public access and sources, disk usage and cap, users with their databases (null:
- get_database_credentials — Every user with its password, databases and read_only, and its own connection_uri; ready-made connection strings for the admin (private network, and public when open). Treat the result as a secret: gi
- get_database_metrics — CPU, memory, connections and commits per minute (commands per minute on Valkey) over 1h (1-minute buckets), 24h (10 minutes) or 7d (1 hour); only buckets with samples. Scope: vms.read.
- get_database_options — What can be ordered: engines and versions, extensions, sizes with their hourly, monthly and yearly prices per region, and the price of disk beyond what a size includes. Call it before create_database
- get_firewall — One firewall: its rules and the machines it protects, with the status of each (applied, pending, error). Scope: vms.read.
- get_load_balancer — One load balancer in full: status, ipv4/ipv6 to put in DNS, pools with targets (health, sessions, response time), listeners with rules in evaluation order, certificates. Scope: vms.read.
- get_load_balancer_metrics — Requests by response class, connections, bytes in/out and peak sessions over 1h (1-minute buckets), 24h (15 minutes) or 7d (1 hour), plus totals. Scope: vms.read.
- get_runners — The runs-on labels with their vCPU, memory and price per minute, the account's concurrency (vCPU of jobs starting or running, and the cap), the linked GitHub organizations and accounts, this month's m
- get_slow_queries — The 20 queries with the most total time (pg_stat_statements, values replaced by $1, $2…; performance_schema on MySQL and MariaDB, values replaced by ?): calls, total and mean time, rows. A starting po
- get_vm — One machine: status, IPv4, IPv6 /64, specs, traffic (Internet only, this calendar month: used_gb, limit_gb, period_ends_at, and pool, the account's shared allowance), billing, suspension. Scope: vms.r
- get_vm_metrics — CPU, memory, disk and network as measured from outside the machine. Scope: vms.read.
- get_vm_network — IPv4 and IPv6 addresses of a machine with their reverse DNS, and its private networks. Scope: vms.read.
- get_vpc — One private network and the machines on it, with their private address. Scope: vms.read.
- list_database_backups — Completed backups (weekly full, daily differential; the transaction log is archived continuously) and the restore window: any minute in it can be restored with restore_database. On Valkey, snapshots (
- list_databases — The account's managed databases with their status, private and public addresses, disk, backups and billing (no passwords), plus the quota. Scope: vms.read.
- list_firewalls — The account's firewalls with their inbound rules and the machines they protect, plus the quota. Scope: vms.read.
- list_images — Operating systems and ready-to-use application images. The slug is what create_vm expects. Public, no key needed.
- list_load_balancers — The account's load balancers with their addresses, pools, targets and health, listeners and rules, certificates; plus the quota. Scope: vms.read.
- list_plans — Plans with their resources and prices (hourly and monthly, in CAD). Public, no key needed.
- list_regions — Where machines can run. Public, no key needed.