# Launch a Windows Server instance (Preview)

Launch Windows Server 2025 from the Preview image, connect over SSH with your key pair, and what the Preview does not do yet.

**Important:**
Windows Server is a **Preview**. The image is the **evaluation edition** of Windows Server 2025
Standard (Desktop Experience): use it to try things out, not for production. An evaluation
installation runs for 180 days.

Windows Server instances run on Deutsche Cloud's own hosts, whatever provider your other instances
use. An instance type you name becomes the smallest size class with at least its vCPUs and memory
(`s-4` by default). When no host has room, the launch is refused with `409` "Windows Server
(Preview) runs on our own hosts only, and none has room for this size right now."

The instance joins your organization's network on those hosts, not a VPC: naming a VPC, subnet or
zone is refused with `400`, and security groups do not apply (its placement tag says so).

## Prerequisites

- Permission for `ec2:RunInstances`.
- A key pair: you sign in as `Administrator` with it over SSH.

## Launch it

### Console

1. Open **Compute → Instances** and choose **Launch instance**.
2. Under **Image**, for **Boot image**, choose **Windows Server 2025** (marked **Preview**). The
   form shows what the evaluation image is for.
3. Choose an instance type with at least 4 vCPUs and 8 GiB of memory and your key pair, remove the
   security groups, then choose **Launch instance**.

### CLI

```sh
dcloud ec2 instances run --region-id de1 --size-class s-4 \
  --image-id 2000002025 --name win-01 \
  --ssh-key-pair-id key-pair-uuid
```

The image's id is `2000002025`; `dcloud ec2 catalog images` lists it with `"preview": true` and
its note.

## Connect

The first start takes about a minute longer than a Linux instance: Windows grows its system drive
to the instance's disk, starts OpenSSH Server with your key pair's public key for `Administrator`,
and gives `Administrator` a random password that nobody knows. Then, from a machine in the same
network (another of your instances on our hosts):

```sh
ssh Administrator@100.80.1.10
```

The shell is PowerShell 7. To use Remote Desktop, set a password in that session
(`net user Administrator *`) and allow Remote Desktop.

## What the Preview does not do yet

- **A public address.** The instance has an address in your organization's network on our hosts
  only; it cannot be reached from the internet yet.
- **User data** is refused with `400` "Windows Server (Preview) does not run user data yet".
- **Connect** (browser shell), the instance identity (`ews-instance`) and **Keep OS patched** are
  Linux-only. Windows Update is on; you install updates yourself.
- The cloud is not used as overflow: Windows runs on Deutsche Cloud's own hosts only.
- The image also carries the tools of the Windows CI runners (see
  [Run Windows jobs](/docs/ci/guide/run-windows-jobs)): PowerShell 7, Git, .NET, Visual Studio
  Build Tools, Rust, Go, Node, Python and more.
