ZATSDocs

Servers

Buy a Linux server with ZEC from Ironwood, then connect to it over SSH with your key.

A server from ZATS Market is a virtual Linux server of your own. You give no email and no name for it. You pay with ZEC from your account's Ironwood pool, and a swap turns the ZEC into bitcoin to pay the provider's invoice.

What you get with a server

A server purchase gives you a virtual server that you reach over SSH as its admin user.

  • Its own IPv4 address and IPv6 address.
  • A plan with a size (vCPU, RAM, and disk) and a location.
  • The operating system that you choose from the provider's list.
  • A length of one to six months, paid ahead.

The server stops when its time runs out, and the provider may delete it a week later. The app does not renew a server.

Before you buy a server

To buy a server, you need:

  • An account in ZATS Market, unlocked in this browser. See your account.
  • Enough ZEC in Ironwood for the server and the network fee. To add ZEC, make a deposit.
  • Your country, so that the provider charges the right VAT. You can leave it out.
  • Your own SSH public key, if you want to use one. Otherwise the app makes a key pair for you.

Ironwood is the shielded pool that your account pays from. The app sends one payment from Ironwood at a time, so an earlier payment must settle first.

Buy a server

Choose a plan, a length, and a system

Open Explore and select Servers, or go to app.zats.market/servers. Under Plan, choose a plan. The line under the row shows its size and location.

Under Length, choose the number of months. The row lists only the lengths that the chosen plan can be paid for. Under System, choose the operating system to install.

Give your country and your SSH key

Under Your country, choose your country for VAT, or keep Not given. Under SSH key, keep Make one for me, or select Use my own and paste your public key.

Review and pay for the server

Check the price with VAT and the ZEC that you pay with the network fee. Type your password, then select Pay.

The app shows the server price in euros, with VAT, and the amount in ZEC. The first time you buy, the button can show Setting up your account at the provider. The app sets up your provider account, and you give no email and no name.

VAT and your country

The server provider charges VAT by the country that you declare. Inside the EU, it charges your country's rate. Outside the EU, it charges none. With no country given, it charges Irish VAT.

The price in the app includes the VAT for the country that you choose. The provider's terms ask for an accurate country.

SSH keys for your server

The server lets in one SSH key, which you choose before you pay.

  • Make one for me is the default. The app makes a key pair in this browser when you pay. It keeps the private key sealed under your account, and you download the key from the server's tracker.
  • Use my own takes your public key: one line that starts with ssh-ed25519, ssh-rsa, or ecdsa-sha2. The app refuses any other text before you pay.

After you pay for a server

After you pay, the app opens the tracker: the panel that follows the purchase to its end. Each step shows what it waits for and how long it usually takes.

StepWhat happens
Paid from IronwoodYour browser proves the payment and sends the ZEC to the swap.
Swapped into bitcoinThe swap takes the ZEC and pays the provider's bitcoin invoice to the satoshi.
Payment confirmedThe provider counts the bitcoin once a bitcoin block includes it.
Server runningThe provider starts the server and gives it its address.

You can close the page. The swap and the provider carry on, and the server shows on the tracker when you open your account again. The tracker links the ZEC payment to an explorer, and the bitcoin transaction once the swap sends it.

Connect to your server

The tracker shows Your server once it runs: the Address, the IPv6 address, the User, and a Connect command with Copy. It shows the Host key fingerprints once the server boots for the first time.

Keep the private key

The private key is the only way into the server. Keep a copy, and share it with nobody.

To connect with a key that the app made:

  1. Select Download key. The file is named zats-server-<id>.key.
  2. In a terminal, run chmod 600 on the file.
  3. Copy the Connect command from the tracker, and run it.
  4. On the first connection, compare the fingerprint that ssh shows with the Host key on the tracker. Answer yes only if they match.

In a terminal, the two commands look like this, with the values of your server:

chmod 600 zats-server-<id>.key
ssh -i zats-server-<id>.key <user>@<address>

With your own key, the command is ssh <user>@<address>. The server lets in the public key that you gave when you ordered it.

To reach the server by a name, buy a domain and add an A record with the server's address. See domains.

Find your server later

Every server that you buy stays in the app, under your account. The app asks you to unlock the account first.

  • My items lists the servers that your account bought, except failed and refunded purchases. On a phone, the tab is Items.
  • Transactions lists every purchase with its status, refunds included. On a phone, the tab is Activity.

Each row opens the server's tracker, with the access details. The tracker also lists the facts: plan and size, location, system, length, the paid-until date, price, VAT, ZEC paid, network fee, and order. For the tracker and both lists, see paying and following a purchase.

What ZATS holds for a server

ZATS holds no money for a server. Your ZEC leaves Ironwood for the swap, and the swap pays the provider's own bitcoin invoice. The price is the provider's, and ZATS adds nothing.

  • The ZEC amount includes the cost of the swap into bitcoin.
  • The swap takes ZEC at a transparent address, so this payment's amount is public on the Zcash chain.
  • The app makes one provider account for each account in ZATS Market, from its recovery phrase. The same recovery phrase always leads to the same provider account and its servers.
  • Payments are final. The provider credits what arrives, so a swap that lands short buys a little less time.

If a server purchase fails

The app says what happened, and whether any ZEC left your account.

Status or messageWhat it means
Nothing was paid.The purchase stopped before any ZEC left Ironwood. The message says why: for example, a key, a country, or a plan that the provider refused.
The provider has not confirmed your account yetThe provider is still setting up your provider account. Try again in a moment. Nothing was paid.
An earlier payment from Ironwood is still settlingThe app sends one payment from Ironwood at a time. Try again in a few minutes.
Refunded to IronwoodThe swap could not finish and sent the ZEC back to Ironwood. Nothing reached the provider.
Payment stoppedThe Zcash network refused the payment, and nothing left your account. Or the swap stopped, and it returns the ZEC to Ironwood. Keep the purchase: its payment traces the refund.

On this page