Quick start: your first instance
This page takes you from nothing to an SSH session on your first
instance, with the ghost command-line
client on an x86-64 Linux machine. Each step links to the page that explains
it in full.
-
Install
ghost.curl -fsSL https://api.gigahost.cloud/install/ghost.sh | shghost --versionghost --versionprints the installed release. The script needscurl,jq, andopenssl, and installsghostas~/.local/bin/ghost; it tells you if~/.local/binis not on yourPATH. Install -
Create the account key and back it up.
ghost key generateghost key inspectThe account key is your account: there is no email or password.
ghost key generatestores it as a seed file, by default~/.config/ghost/account.seed.ghost key inspectprints yourdeposit_memoamong the public identities. Accounts and security -
Fund the account.
ghost account activation-termsSend MMX to the returned address with your exact 16-character
deposit_memo, at least the returned minimum, and wait for the confirmations it names. Funding your account says what MMX is and how a deposit is credited.No MMX yet?
ghost account trialmakes an account with a trial credit by signing in with GitHub, and replaces steps 3 and 4. Start with a free trial -
Activate the account.
ghost account activateghost account showActivation gives the account its alias, such as
gh-k3m7p2qa, and credits your deposits;ghost account showthen shows the account. If the newest payment has not been recorded yet, wait briefly and runghost account activateagain; a retry is safe. Activate the account -
Save your SSH public key.
ghost account ssh-keys add --label laptop --file ~/.ssh/id_ed25519.pubPass the public key, the
.pubfile. Every new instance gets the saved keys. SSH keys -
Find an offering and an image.
ghost catalog offerings --min-vcpu 2ghost catalog imagesCopy an offering’s ID,
of2_and 22 more characters, and an image’s slug, such asdebian-13. The list shows each offering’s host mode (cloud_routedorhome_gateway), size, monthly price and traffic price. Find and rent an instance -
Create the instance.
ghost instance create --offering <OFFERING_ID> --image debian-13 --waitFor a
home_gatewayoffering add a gateway tier, such as--gateway-tier shared_bandwidth. Before it creates anything,ghostprints the creation fee, the balance hold and the prices. The command ends with a line on stderr such asinstance ID (HOSTNAME) is running at ADDRESS. Rent an instance -
Connect.
ssh root@ADDRESSLog in as
root: the image’s usual default user, such asubuntuordebian, is not set up. An instance with a Shared IP ends step 7 with the SSH command to use instead, such asssh -p 1020 root@203.0.113.7. Connect with SSH -
Log in to the website.
ghost account loginOpen the returned
login_urlbefore it expires. The website shows your instance under Instances. Log in to the website
Next steps
Section titled “Next steps”- Back up the instance, hosted off the host or local on it.
- Choose its network: Dedicated IP or Shared IP, gateways, ports and bandwidth.
- Manage it: power, console, reinstall and upgrade.
- When you no longer need it, delete the instance to stop paying: a stopped instance is still billed.
Provide capacity
Section titled “Provide capacity”Every account can host instances as well as rent them. The website’s
Provider page shows an account without hosts how to start, and
Provider › Add a host (/provider/hosts/new) has the steps that add a
host, from installing the agent through the enrollment token to setting what
it earns and opening it for rentals. Start with the
shared hypervisor setup, then choose the network
mode that matches the host:
- Home mode works behind NAT and does not require a dedicated public address or an inbound port.
- Cloud mode is for servers with additional public IPv4 addresses, which a router VM on the host routes to its instances.
The mode is selected when the host is enrolled. A role change requires a new host identity; the previous record is retained for tenant history.