Miget is now Lyngbak. Same platform, same plans, same API.Why the name →

Startups get $300 or more in Lyngbak credits.Apply →

Moving production infrastructure? We migrate it for you, free.Talk to us →

PricingEnterpriseDashboard
Start for Free
← All templates

MySQL InnoDB Cluster

Native MySQL HA via Group Replication - 3 nodes, automatic primary election and failover.

3.3 GiB

4 services, 30 GB disk

$26.50/mo

flat resource

$0.037/h

Usage Billing

What is MySQL InnoDB Cluster?

MySQL InnoDB Cluster is the native MySQL high-availability stack, built on Group Replication: a group of nodes that replicate synchronously, elect a primary automatically, and fail over without manual intervention. This template runs three nodes and a one-shot init that configures the recovery accounts and forms the group.

Group Replication is the fiddliest topology in this catalogue - it depends on stable inter-node addressing (each node’s group address, the seeds list, and the IP allowlist) and is sensitive to node-identity changes. The nodes are configured with the loose- option prefix so they boot cleanly before the plugin loads, and the init is idempotent. It was smoke-tested locally to a three-member ONLINE group.

This template ships no MySQL Router (its 8.4 image is not published on Docker Hub), so apps connect to a node directly or you add a Router alongside. For simpler synchronous HA, percona-xtradb-cluster and mariadb-galera are easier to operate.

What you get

  • Native MySQL Group Replication (the InnoDB Cluster engine)
  • Automatic primary election and failover
  • 3 nodes + a one-shot group-forming init
  • Single-primary mode (one writer, two in sync)
  • All internal-only; no Router bundled (connect direct)
  • GPLv2

How it runs on Lyngbak

ServiceRolePublic
mysql-gr-1/2/3Group Replication members (:3306)no (internal)
mysql-initforms the group once, then exitsno

Before you deploy

  • MYSQL_ROOT_PASSWORD

    root password (same on all nodes)

  • MYSQL_REPLICATION_PASSWORD

    Group Replication recovery account

Sizing and billing

1 GiB per node minimum; raise for write throughput. Experimental: Group Replication needs stable addressing and careful operation - PXC or Galera are simpler if you just want synchronous HA.

Hobby resource$26.50/mo2 vCPU, 2 GiB + 1.5 GiB RAM add-on, 60 GiB disk, shared CPU
Pro resource$38/mo1 vCPU, 2 GiB + 2 GiB RAM add-on, 30 GiB disk incl. add-on, dedicated CPU
Usage Billing, shared CPU$0.037/h1.5 vCPU, 3 GiB reserved. $27/mo for a full month, billed by the second.
Usage Billing, dedicated CPU$0.14/h3 vCPU, 6 GiB reserved. $102/mo for a full month, billed by the second.

A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 29.3 GiB of volumes cost $0.15 per GiB a month ($4.40/mo) for as long as they exist. One workspace can use both. See pricing

Compared with the managed service

ServicePlanPriceIncludes
AWS RDSMulti-AZ$30/mostandby instance roughly doubles the bill, smallest size

Managed MySQL HA bills the standby instance and per AZ; the 3-node group here is one stack, billed for the compute it reserves. Prices from each vendor's pricing page, June 2026.

Run it locally first

The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.

Questions

How is this different from Percona XtraDB Cluster?

Both give synchronous, automatic-failover HA. This uses MySQL’s own Group Replication (the InnoDB Cluster engine) in single-primary mode; PXC and mariadb-galera use Galera multi-primary. Group Replication is the native MySQL stack but the most operationally sensitive of the three.

Why no MySQL Router?

The MySQL Router 8.4 image is not published on Docker Hub, so this template omits it - apps connect to a node directly (discover the primary from performance_schema.replication_group_members) or you run a Router alongside. The group itself provides the HA.

Why experimental?

Group Replication depends on stable inter-node addresses and is sensitive to identity changes on a per-pod platform. It is wired with the loose- option prefix and an idempotent init, and was smoke-tested to a 3-member ONLINE group, but it needs more operational care than the other HA templates.

More in Databases

ClickHouse Cluster

3-node ClickHouse cluster - one shard, three replicas, embedded Keeper. Real replicated OLAP without ZooKeeper pods.

Open the template →

MariaDB

The community MySQL fork, as a single self-hosted node - drop-in compatible.

Open the template →

MariaDB Galera

3-node synchronous multi-primary MySQL-family HA on the official image - every node writes, any node can die.

Open the template →
MySQL InnoDB Cluster (Group Replication) on Lyngbak | Lyngbak (formerly Miget)