Quick start: your first instance
Welcome to Gigahost. This page goes from nothing to an SSH session on your
first instance, in the browser, or with the
ghost command-line client on an x86-64 Linux machine. Each step links to the
page that explains it in full.
In the browser
Section titled “In the browser”The website needs nothing installed: it makes your account key, activates the account and rents the instance.
-
Creating your account
The Create an account page (
/account/new) makes your account key in the browser. Keeping theaccount.seedit downloads, or its line in a password manager, keeps the account: Gigahost cannot reconstruct the key, and whoever holds it controls the account. The same file works withghostlater, whichghost key importputs in place. Creating your account key -
Activating it
Sign up with GitHub makes the account, with the trial credit while trials are open and your GitHub account qualifies; or an MMX deposit to the address the page shows, with your deposit memo, activates the account once it is confirmed. Either way, the page logs you in when the account is made. Activating in the browser
-
Renting an instance
The Capacity page lists the offerings. An offering’s page rents it with an image and your SSH public key, and the instance’s page shows its address once it runs. Finding and renting an instance
-
Connecting
ssh root@ADDRESSLog in as
root. For an instance with a Shared IP, the instance’s page shows the SSH command to use instead, such asssh -p 1020 root@203.0.113.7. Connect with SSH -
Logging in again later
Log in with your account key, on the Log in page, takes the
account.seedfile or its line. Logging in with the account key
With ghost
Section titled “With ghost”-
Installing
ghostcurl -fsSL https://api.gigahost.cloud/install/ghost.sh | shghost --versionghost --versionprints the installed release. The script needscurl,jq, andopenssl. It installsghostas~/.local/bin/ghostand tells you if~/.local/binis not on yourPATH. Install -
Creating your account key
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 -
Funding your 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 signup --githubmakes an account by signing in with GitHub, with a trial credit while trials are open and your GitHub account qualifies, and replaces steps 3 and 4. Without the credit, the account starts with a $0 balance until a deposit adds funds. Sign up with GitHub -
Activating 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, you can wait briefly and runghost account activateagain. A retry is safe. Activate the account -
Saving your SSH public key
ghost account ssh-keys add --label laptop --file ~/.ssh/id_ed25519.pubThe command takes the public key, the
.pubfile. Every new instance gets the saved keys. SSH keys -
Finding an offering and an image
ghost catalog offerings --min-vcpu 2ghost catalog imagesThe next step needs 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. Finding and renting an instance -
Creating 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 -
Connecting
ssh root@ADDRESSLog in as
root. The image’s usual default user, such asubuntuordebian, is not set up. For an instance with a Shared IP, step 7 ends with the SSH command to use instead, such asssh -p 1020 root@203.0.113.7. Connect with SSH -
Logging in to the website
ghost account loginThe returned
login_urlexpires, so it is best opened soon. The website shows your instance under Instances. Log in to the website
Next steps
Section titled “Next steps”- Backing up the instance, hosted off the host or local on it.
- Choosing its network: Dedicated IP or Shared IP, gateways, ports and bandwidth.
- Managing it: power, console, reinstall and upgrade.
- When you no longer need it, deleting the instance stops the charges. A stopped instance is still billed.
Providing capacity
Section titled “Providing capacity”To host instances for others, see Becoming a provider.