# Servers and clusters on Akua

> How Minekube Cloud runs Minecraft servers - an Akua Cluster on our machines or yours, at four levels of control, with Packages and Installs for your server images - and how those servers join Connect networks and run Games bundles.

Minekube Cloud runs your Minecraft servers on the [Akua](https://akua.dev) platform. It is the hosting product of Minekube, next to Connect for networking and Games for code. A server on Minekube Cloud is an ordinary Minecraft server in a container, so it joins Connect networks and runs Games bundles like a server anywhere else.

## Clusters

A Cluster is a Kubernetes cluster that Akua manages for you or connects to.

- **A hosted Cluster:** Akua runs the control plane, and the servers are a free trial server that Akua orders, or your own Linux servers that you join to it.
- **An attached Cluster:** your existing Kubernetes cluster. You keep the control plane, nodes, storage and upgrades, and Akua's agent connects outward, so the cluster needs no inbound access.

You have admin access at every level: cluster-admin kubectl on a hosted Cluster, and the kubeconfig you already have on an attached one.

## Four levels of control

The levels differ in whose machines run your servers and how much Akua does for you. The same Package installs on each.

| Level | Your servers run on | Akua does |
| --- | --- | --- |
| **1: Free trial server** | A server Akua orders | Orders the server and runs the control plane |
| **2: Your Linux server** | Your server, joined with one command | Installs Kubernetes on it and runs the control plane |
| **3: Your Kubernetes cluster** | Your cluster, attached with all namespaces | Installs your Packages through its agent |
| **4: Raw control** | Your cluster, attached with selected namespaces | Installs only into the namespaces you list |

[Minekube Cloud](https://minekube.com/cloud/) describes each level and what it needs.

## Packages and Installs

- **A Package** is your server image as a versioned unit, with the settings server owners may change. Akua turns the settings into an install form.
- **An Install** is one Package installed on a Cluster, with its own settings and, with a volume, its own world. It moves to a new version of its Package only when its owner updates it.
- **A Product** shares a Package: one invite link gives every server owner their own Install, in their own Akua account.

## Joining Connect

A server on Minekube Cloud reaches players through Connect, so it needs no open port. Which Connect depends on the plugin in its image:

- **With the Connect plugin,** today's production Connect, the server gets its own `<endpoint>.play.minekube.net` address. Put the plugin on the proxy when several servers stand behind one.
- **With the Minekube plugin,** in preview, the server joins a [Minekube network](https://minekube.com/guide/networks/concepts/network) as a member. It shows an invite, or a token from its environment that a trust rule covers, such as a projected Kubernetes service account token on a cluster whose token issuer the Minekube API can check. See [Joining with consent](https://minekube.com/guide/networks/concepts/joining).

A server uses one of the two, never both: the Minekube plugin brings its own connector.

## Running Games bundles

A server whose image includes the Minekube plugin runs [Games bundles](https://minekube.com/games/concepts/bundle). When it is a member of a network, it installs the bundles of the network's [deployments](https://minekube.com/games/concepts/versions-and-deployments) that match its labels, and swaps them in while players stay connected. Labels from the invite or trust rule it joined with decide which deployments reach it.

Two kinds of update stay apart. A new version of your Package changes the server image and reaches an Install when its owner updates it. A new version of your bundles changes the code a running server loads, and reaches it through a deployment.

## Related

- [Minekube Cloud](https://minekube.com/cloud/): the levels in detail, and the path from a cluster to players.
- [Host your network](https://minekube.com/cloud/network): create a Cluster and install your servers.
- [Package your game](https://minekube.com/cloud/packaging): build the image and turn it into a Package.
