Skip to main content
Ankra Cloud runs Windows servers from a Windows image you bring. You import your own Windows Server image as a custom image, create servers from it like from any other image, and connect with Remote Desktop, SSH or the serial console.
Bring your own licence. Ankra Cloud does not provide, sell or license Windows, and offers no Windows template. You are responsible for having a Windows licence that permits running Windows on Ankra Cloud. Ankra Cloud does not check it.

Before you start

  • An Ankra Cloud account, with the ankra-cloud CLI signed in or an API token from Settings in the Ankra Cloud console, exported as ANKRA_CLOUD_TOKEN.
  • A Windows Server image that meets the requirements below, as a qcow2, raw or single-file VMDK, at an https URL you control, and its SHA-256.
  • An RSA SSH key (ssh-rsa) among the server’s keys. Windows encrypts its first Admin password to an RSA key only, so a server with no RSA key gets no password.

What the image needs

A server boots your image as it is. These are what make it start, find its network and let you in: The image is as up to date as the media you built it from. Run Windows Update after the first boot, or rebuild your image regularly.

1. Import the image

guest_family: windows is what makes it a Windows image: servers from it start with Windows’ hypervisor enlightenments and a stable identity, and get the Remote Desktop and password features below. Left out, the image is imported as Linux. The import returns an operation. When it finishes, the image is online and listed among your custom images in the console. It counts against your storage quota and is billed at the snapshot price per GiB of its size and month. An image belongs to one zone; copy it to another with POST /v1/custom-images/{id}/copy. The URL rules, formats and size limits are those of any imported image.

2. Create the server

Create the server in the console, or with the CLI or API, with the image’s id as its template:
  • Plan. A Windows server needs at least 2 vCPUs and 4 GiB of memory. A smaller plan is refused, and the console marks it Too small for Windows.
  • Public IPv4. The console turns it on for a Windows image, so Remote Desktop works from networks that have no IPv6. It is a priced add-on and you can turn it off. Windows has no IPv4 translation of its own, so an IPv6-only Windows server reaches IPv4 sites only by name, through DNS64 and NAT64.
  • SSH keys. Include an RSA key. The console warns when none of the chosen keys is one.
First boot takes a few minutes while Windows applies the seed and restarts.

3. Read the Admin password

The server encrypts its first Admin password to its first RSA key and posts it once. Nothing on Ankra Cloud can decrypt it: you decrypt it with your private key.
  • Console. On the server’s Overview, the Connect with Remote Desktop panel has Get password. Paste your private key or read it from a file. It is used in your browser only and never sent.
  • CLI.
    A key with a passphrase also needs --passphrase-file.
  • API. GET /v1/servers/{id}/password returns the ciphertext with the fingerprints of the server’s RSA keys. It answers 404 until the server has posted a password.
A reboot keeps the password. A rebuild starts from a fresh disk, and the server posts a new one. Change the password in Windows whenever you like; Ankra Cloud keeps only the first one, encrypted. A server without an RSA key posts no password. Sign in over SSH with your key and set one with net user Admin <password> before you use Remote Desktop.

4. Connect

  • Remote Desktop. Connect to the server’s RDP address and sign in as Admin. The Connect with Remote Desktop panel shows it with Download .rdp file, and the API returns it as rdp_address. With a public IPv4 the address is <ipv4>:3389, reachable from any network as long as Remote Desktop is on in the image and no firewall blocks port 3389. Without one it is [<ipv6>]:3389, reachable from networks that have IPv6, or through a bastion.
  • SSH. With OpenSSH Server in the image, ssh Admin@<address> with one of the server’s keys.
  • Serial console. With Emergency Management Services on in the image, the server’s Console shows the Special Administration Console, a text console, not the Windows desktop. Type cmd, then ch -si 1, to open a command prompt. It works when the network does not.

Server identity and activation

Each Windows server has a firmware (SMBIOS) identity named after it: its system UUID and serial number are the server’s id, the manufacturer is Ankra and the product is Ankra Cloud Server. The identity stays the same across stop and start, moves between hosts and rebuilds, so Windows activation and software licensed to the machine see the same machine. Check it in PowerShell:

Virtual TPM

A server can have a virtual TPM 2.0, for measured boot and BitLocker. Choose it when you create the server, with tpm: tpm2 in POST /v1/servers, --tpm tpm2 on ankra-cloud servers create, or tpm in Terraform. It cannot be added later.
  • Its state is kept on a small storage of the server’s own, which the plan pays for, backups included. It is not listed among your storages or backups.
  • It moves and is backed up with the server under the boot storage’s backup rule, and is deleted with the server.
  • A rebuild clears it, so a rebuilt Windows finds none of the keys the old one sealed. Keep your BitLocker recovery key outside the server.
  • A server with a TPM never moves live: host maintenance moves it stopped, with its TPM state.

Limits

  • Ankra Cloud offers no Windows template and no licence-included Windows.
  • There is no graphical console: reach the desktop with Remote Desktop.
  • Secure Boot is not offered for Windows servers yet.
  • A Linux server cannot be rebuilt into Windows. Create a new server from the Windows image.

Troubleshooting