Why teams move Loki from simple scalable to HA monolithic
If your self-hosted Loki cluster runs in simple scalable mode, you need a plan to move before Loki 4.0 removes that mode. The Loki documentation says simple scalable deployment is being deprecated and will be removed with the 4.0 release, so the move is a scheduled change, not an optional upgrade. The good news is that the move is a topology change rather than a data conversion. Both simple scalable and HA monolithic mode keep compressed chunks and TSDB indexes in object storage, so your existing data stays where it is and stays readable. The effort depends on your cluster size, how many read and write replicas you run, and how your gateway routes traffic to them. Confirm those details against your own environment before you estimate the work.
HA monolithic mode is the intended smaller-footprint replacement. Every instance runs the same binary with -target=all, so the read, write and backend roles collapse into one process type that you scale by adding identical replicas. Teams with modest log volumes often find that the simpler layout is easier to operate, but you should size it against your actual ingestion and query load instead of assuming it will fit. Ask your team to answer three questions early: how much of your current capacity is used by the read and write paths separately, whether you run rulers that need their own bucket, and whether your gateway can switch backends without a client-visible outage. The answers decide whether HA monolithic is the right target at all.
The Loki documentation describes the path from simple scalable to HA monolithic as zero downtime. That claim depends on running the new instances alongside the old ones, sharing the same object storage configuration, and moving traffic through the gateway in steps you can reverse. It also depends on memberlist ring membership being set up correctly, so the new instances join the ring and serve traffic before the old ones are retired. Read the Loki guide for migrating from SSD to HA monolithic before you plan the cutover, and treat its steps as the baseline your runbook must confirm in a non-production copy of your cluster.
What maps cleanly and what needs a decision
This table compares the main capabilities of a simple scalable Loki cluster with their HA monolithic equivalents. Unchanged items need no action, config edits are mechanical but must be made on every instance, and decision rows need a choice documented before cutover. Start with the decision rows, because they determine how the new cluster is shaped.
| Capability | Simple scalable today | HA monolithic and migration note |
|---|---|---|
| Chunk and index storage | Shared object storage for chunks and TSDB indexes | Unchanged. Both modes use the same object store, so no data conversion is needed (confirm bucket and credentials are reachable from every instance) |
| TSDB index | TSDB index with existing period_config | Unchanged. Keep the same schema and period definitions so old data remains readable |
| Retention settings | Compactor retention applied to the backend target | Config edit. Move the compactor settings into the single process config on every instance, and make sure only one instance runs compaction at a time |
| Tenant IDs and X-Scope-OrgID | auth_enabled with the header set by clients or the proxy | Unchanged for clients. Confirm auth_enabled matches the old value so tenant data stays addressable |
| Authentication proxy | Authenticating reverse proxy in front of the gateway | Config edit. Point the proxy at the new load balancer or gateway address; Loki itself still has no built-in authentication |
| Grafana data source | Data source URL pointing at the read path | Config edit. Update the URL to the new endpoint and confirm the tenant header is still sent |
| Ruler placement | Ruler runs on the backend target with its own storage config | Decision needed. Choose whether rulers run on every instance or are isolated, and provide a separate bucket for ruler data if used |
| Ring and membership | Ring state managed by separate component groups | Config edit. Replace component ring settings with memberlist for ring state across all instances |
| Read and write paths | Separate read, write and backend targets scaled independently | Decision needed. Every instance runs target all, so sizing and query concurrency limits must be reviewed for the combined load |
| Query frontend settings | Dedicated query frontend and querier components | Decision needed. Confirm how queries are scheduled and limited in a single target, and set limits before cutover |
Documented migration path and the config you touch
The official SSD to HA monolithic guide sets the order of work, and the deployment modes reference explains the target and ring settings it depends on. The cards below cover the sources to read first and the config areas to review before any instance changes.
Start with the official migration guide
The Loki documentation has a dedicated guide for moving from simple scalable to highly available monolithic mode with zero downtime. It states that both modes use object storage for chunks and TSDB indexes, so the migration is a deployment change rather than a data change. Read it against your exact Loki version before you draft a plan, and confirm that its steps match the release you run.
SSD to HA guideTarget all on every instance
In HA monolithic mode, every Loki instance runs with target all, so each replica handles writes, reads, compaction and ruler work. This is the main change from simple scalable, where separate read, write and backend targets run as distinct groups. Check how your current deployment sets the target flag in each component, then confirm the exact value and flag form for your version in the deployment modes reference.
Deployment modes referenceMemberlist ring state
HA monolithic mode uses memberlist for ring state, so instances find each other and share ring membership without a separate key-value store. Review the ring kvstore block in your current configuration, because simple scalable setups may point the ring at a different backend. Confirm the memberlist join addresses and the ring replication settings against the version you run before you change any instance.
Shared object storage configuration
Chunks and TSDB indexes must stay on the same shared object store that simple scalable already uses, so the storage block should be identical across every new instance. Compare bucket names, endpoints, credentials and the period_config entries line by line. Any difference can make a new instance read a different data layout, so treat this block as the one that must not drift.
Loki storage docsSeparate ruler bucket
If you run the ruler, HA monolithic mode expects a separate bucket for ruler data, distinct from chunk storage. Check whether your simple scalable setup already has one, and whether rule files and alerting state live in that bucket. Ask your platform team to confirm the bucket name, access policy and lifecycle rules, because a missing or shared ruler bucket is easy to overlook during planning.
Confirm keys against your version
Config keys and flag names change between Loki releases, so treat any key named in a plan as a starting point until you check it in the docs for your version. Compare the migration guide, the configuration reference for your release and your current file side by side. Record each key you change and its source in the change ticket so reviewers can trace every edit back to the official text.
How the zero-downtime cutover runs behind the gateway
The sequence moves read and write traffic from simple scalable to HA monolithic Loki in stages, with both topologies reading the same object storage and a rollback point kept until the old components are removed.
Inventory the current simple scalable setup
Your platform engineers record the existing Loki configuration, including the object store settings, the schema and period_config entries, the compactor and retention settings, the auth_enabled value, and the gateway routes that send traffic to the read and write paths. They also capture the bucket layout and any separate ruler bucket. The step is done when every setting that the new instances must match is written down and reviewed by the owners of storage and access control. Confirm exact config keys against the official migration guide before editing anything.
Validate a non-production copy
Your team starts a copy of the simple scalable deployment in a non-production environment that points at a copy or test prefix of the same bucket layout. DeployOpen can run this validation with your engineers if the scope includes it. Bring up the HA monolithic configuration against that copy, confirm it starts with -target=all and joins memberlist, and run a set of representative queries and writes for each tenant. The step is done when the results match what production returns and any config drift is fixed in the written runbook.
Start HA monolithic instances on memberlist
In production, the platform team starts the HA monolithic instances alongside the existing simple scalable components. Each instance runs with the all target and uses the same shared object storage for chunks and TSDB indexes. Memberlist forms the ring among the new instances, and the team checks ring membership and health on each one before any traffic is sent to them. The step is done when every instance reports healthy in the ring and no existing read or write path has changed.
Shift write traffic in stages
The team changes the gateway so a small share of write requests reaches the HA monolithic instances while the rest continue to the simple scalable write component. Both topologies write to the same object storage, so no data conversion is needed. The team watches ingestion errors, distributor and ingester health, and per-tenant limit warnings for the agreed observation window. The step is done when write behavior matches the baseline for every tenant and the share is increased to all writes.
Run both topologies in parallel and verify queries
With writes on the new instances, the team routes read traffic through the gateway in stages while both topologies read the same storage. For each tenant, they compare query results and latency for a fixed set of LogQL queries, and confirm that X-Scope-OrgID headers still reach the correct tenant. Authentication through the reverse proxy is checked on every route. The step is done when query output matches across both topologies for every tenant and the owners of each tenant sign off.
Hold a rollback point before decommissioning
Before removing anything, the team keeps the simple scalable read, write and backend components deployed but no longer receiving traffic, and records the gateway configuration that would restore the old routes. The parallel run continues for a period the owners agree in advance, and the team confirms that retention and compaction still behave correctly on the shared storage. The step is done when the rollback route has been tested once and the change owners approve decommissioning in writing.
Decommission the simple scalable components
Once the rollback point is approved, the team scales down and removes the simple scalable read, write and backend components, and deletes their obsolete gateway routes and configuration. Storage is left in place, since both modes use the same object storage and indexes. The team checks that ingestion, queries and compaction run without errors on the HA monolithic instances, and updates the runbook and monitoring to reflect the new topology. The step is done when no traffic reaches the removed components and the monitoring baseline is re-established.
How both topologies share storage during the cutover
The cutover starts with an authenticating reverse proxy in front of a gateway that routes traffic to the existing simple scalable write, read and backend components. Both topologies read and write the same object storage bucket for chunks and TSDB indexes, so no data is copied or converted. HA monolithic instances, each running -target=all, join a memberlist ring and use a separate bucket only if rulers are used. Check that the ring is healthy and that writes and queries succeed on both paths before shifting traffic.
Both topologies reading and writing one shared object storage bucket during cutover.
What drives the effort and duration of this move
This table compares the factors that raise or lower the effort of moving a simple scalable Loki cluster to HA monolithic mode, and what to ask a partner to quote for each. Read each row against your own log volume, tenant layout and dashboards. The main takeaway is that data movement is not the hard part; the work sits in topology, endpoints and the people who operate the cluster.
| Driver | Effect on effort | What to ask a partner to quote |
|---|---|---|
| Ingest volume against monolithic sizing | Raises effort when daily volume approaches the monolithic guidance of about 20 GB per day, because the target footprint may need more instances and testing | Sizing assessment of current daily ingest, the instance count and resources proposed, and a load test plan before cutover |
| Number of tenants and their limits | Raises effort with each tenant that has custom limits, retention rules or auth headers, since each must be carried into the new configuration and verified | Inventory of tenant IDs, per-tenant limits and retention settings, and how each will be validated after the move |
| Rulers and recording rules | Raises effort when rulers are in use, because ruler data needs its own bucket and rule evaluation must be confirmed on the new instances | Confirmation of ruler storage layout, rule count, and the steps to verify alerts fire and recording rules write as before |
| Gateway and authentication proxy complexity | Raises effort when the gateway routes to several component endpoints or enforces tenant headers in custom ways, since routing must change in one controlled step | Mapping of current gateway routes to the single HA monolithic endpoint, the cutover runbook, and rollback steps |
| Client and dashboard dependencies on component endpoints | Raises effort when agents, dashboards, alerts or scripts call read, write or backend addresses directly rather than through the gateway | Inventory of every client, data source and script that references a component address, with the change list for each |
| Observability of the new topology | Raises effort when monitoring, dashboards and alert rules are built around separate read and write component metrics that will no longer exist in the same form | Plan for replacing component-level dashboards and alerts, and the metrics used to confirm ingestion and query health after cutover |
| Team Loki operating experience | Lowers effort when the team already runs Loki and understands memberlist and object storage; raises it when operators are new to single-binary operation | Scope split between partner work and knowledge transfer, plus the runbooks and training the partner will deliver |
What usually goes wrong during the move and how to prevent it
The risks below cluster around three moments: sizing the new instances, bringing the ring up, and switching traffic. Each one is easy to avoid if you check it before the cutover rather than discovering it during an incident. Work through them in order and record the result of each check.
Undersized monolithic instances
Every HA monolithic instance runs all components, so it carries the write path, query path and compactor work that were split across targets in simple scalable mode. Teams often size each instance from the old read or write pod requests and miss the combined load. Measure peak ingest and query concurrency on the current cluster, then size instances against that peak with headroom. Confirm the sizing with a load test that replays production traffic before any agent points at the new instances.
Migration guideMemberlist ring membership errors
HA monolithic instances find each other through memberlist, so a wrong join address, a blocked gossip port or inconsistent ring settings leaves instances running but not forming one ring. Writes may then land on instances that cannot see the replicas they need. Confirm that every instance has the same memberlist join configuration and that the gossip port is open between all nodes. Check the ring status page on each instance and confirm that every member is listed as active before routing traffic to it.
Cutting traffic before verification
Switching agents or the gateway before both topologies have read the same bucket can hide a data or configuration fault until it is too late to roll back cleanly. Both modes use the same object storage for chunks and TSDB indexes, which makes side-by-side verification practical. Run a set of known LogQL queries against the simple scalable read path and the new HA monolithic instances, and compare counts and results for the same time ranges. Do not change the gateway route until the results match.
Loki storage docsForgetting the ruler bucket
HA monolithic mode needs a separate bucket for ruler data if rulers are used. A team that migrates the chunk bucket and forgets the ruler configuration can lose recording and alerting rules or leave them evaluating against the wrong storage. List every ruler rule group and its storage location in the current cluster before the move. Configure the separate ruler bucket on the new instances, copy or recreate the rule groups, and confirm that the rules evaluate on the new deployment.
Dashboards and agents pinned to old endpoints
Grafana data sources, dashboards, alert contacts and shippers often point at simple scalable read or write service addresses. After the cutover those endpoints may disappear or stop serving the expected paths, and the failure shows up as empty panels or dropped logs. Inventory every data source URL, agent output and integration that references the current endpoints. Repoint them to the gateway address in a staged order, and keep the old endpoints answering until the inventory is fully switched.
Decommissioning before the rollback window closes
Removing simple scalable components too early removes the fallback path if the HA monolithic cluster fails under real load. Keep the simple scalable deployment running, and its write and read paths reachable, until the new cluster has carried production traffic through its normal peaks. Agree the length of that window with the operations owner before the cutover, and write down the steps that return traffic to simple scalable. Decommission only after the window closes and the rollback steps have been tested.
Questions buyers ask before moving Loki to HA monolithic
What does a move from simple scalable to HA monolithic cost, and what drives it?
The cost is mostly the effort of planning, configuring and proving the cutover, plus the compute you run afterward. The work is paid for once, while the running infrastructure recurs. The main drivers are how many Loki components you run today, whether you use rulers and therefore need a separate bucket for ruler data, how much traffic you ingest and query, how many tenants and retention rules you maintain, and how mature your gateway and authentication setup already is. Ask any quote to break out discovery, configuration, cutover testing, rollback preparation and handover as separate line items, and to state which parts recur, such as a retainer for upgrades or monitoring. DeployOpen does not publish a price list, so a quote follows from a written scope.
How long does a simple scalable to HA monolithic migration take?
Duration depends on the number of environments, the size of the cluster, the state of your current configuration and how many approvals a change window needs. The cutover itself is designed to run without downtime, so the calendar time is usually spent on inventory, a side-by-side test and agreed maintenance windows for the gateway change. Ask for a timeline that lists each phase and the gate that must pass before the next one starts. Any duration in a proposal should be tied to that written scope rather than presented as a fixed promise.
Do we have to convert our stored log data to move to HA monolithic?
No. The Loki documentation for migrating from simple scalable to highly available monolithic mode states that both modes store chunks and TSDB indexes in object storage, so no data conversion is required. The change is in how the Loki processes are started and how they find each other. Each instance runs with the all target, shared object storage is kept, and memberlist manages ring state. Before cutover, confirm that your storage configuration and index schema match what the guide expects, because any difference in those settings is what would force a data step.
What must our team provide before the migration starts?
The team should provide a few things that only your organization holds:
- Read access to the current Loki configuration, Helm values or unit files, and the object storage buckets and their lifecycle settings
- Recent ingestion and query volumes, plus any sizing data for CPU, memory and disk on the current nodes
- Maintenance windows for the gateway change and an agreed rollback window
- A named owner for the reverse proxy or gateway and a named owner for authentication, since Loki has no built-in authentication layer
- A contact who can approve tenant or retention changes and a contact for dashboard and alert owners who will validate results
Missing owners usually delay the work more than any technical step.
Can our own team migrate Loki to HA monolithic without a partner?
Yes, a capable platform team can do it, provided it has someone who understands Loki's configuration, object storage access, and the gateway that fronts the cluster. The guide describes the documented path, so the question is capacity and risk tolerance. Consider whether your team can run a side-by-side test, stage the cutover behind the gateway, and keep a tested rollback ready during the window. A partner is useful when those skills or hours are scarce, or when you want an independent reviewer for the change plan.
Is a fixed-scope engagement available for this migration?
Yes. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. For this migration, the written scope would normally cover the current-state review, the target HA monolithic configuration, the shared storage and memberlist setup, the cutover plan behind the gateway, validation steps and handover documentation. Ongoing support, upgrades and monitoring can be added as a retainer, which is a separate agreement from the migration itself.
What goes wrong during a cutover, and how do we check for it?
The most common problems are a mismatch in object storage settings between old and new processes, a ring that does not form because memberlist traffic is blocked, and a gateway that routes some requests to instances that are not yet healthy. Ask for explicit checks: confirm ring membership before routing traffic, run test queries and writes against the new path, and compare query results and ingestion rates with the current cluster. Keep the old deployment available until these checks pass, and confirm which ruler bucket applies if rulers are in use.
What to confirm with your own environment before you start
Before you schedule the cutover, confirm the exact Loki version you run today and compare it with the latest release listed in the official sources, which is v3.7.8 at the time of writing. Check the release notes between your version and the target before you change topology, because the HA monolithic path is only as safe as the version you start from. Also record your actual daily ingest rather than the figure from the original sizing. Monolithic mode is documented for up to about 20 GB of logs per day, so a cluster that has grown past that range needs a sizing decision before the move, not after it. Pull the ingest rate from your own dashboards or from the distributor and ingester metrics, and note the peak, not only the average.
Next, check whether auth_enabled is set to true in your Loki configuration and which X-Scope-OrgID values your clients send. If tenants are in use, the HA monolithic instances must keep the same tenant model, limits and any per-tenant retention overrides. Inventory your retention settings as well: confirm whether retention_enabled is set, whether retention is global, per tenant or per stream selector, and which rules are in force. Retention is applied by the compactor, so the compactor's view of the shared bucket decides what is deleted during and after the move. If you use rulers, confirm whether they write to a separate bucket, because the topic's ring and storage layout depends on it.
Finally, map every client that writes to or queries the simple scalable endpoints. Include Grafana data sources, Alloy or Promtail pipelines, OpenTelemetry Collector exporters, Fluent Bit and Fluentd outputs, scripts, alerting integrations and anything behind your authenticating reverse proxy. Each of these may hold a hard-coded write or read path, and the gateway cutover only works if they all resolve to the same entry point. Confirm the behavior of your ingress and gateway configuration, the health checks used by your load balancer and any version-specific settings in the official documentation at the Loki SSD to HA monolithic migration guide rather than assuming they carry over. Record your findings in writing so the rollback plan reflects the environment you actually operate.
How DeployOpen works on this
DeployOpen scopes the move from simple scalable to HA monolithic Loki in writing before any change is made, then builds and verifies it in your own infrastructure. Our work covers the target topology, the shared object storage, the memberlist ring and the gateway cutover, with documentation your operators can run after handover.
How we scope
- Inventory the current simple scalable write, read and backend targets, their storage configuration and the gateway in front of them.
- Confirm log volume, tenant layout, ruler usage and whether a separate bucket for ruler data is required in the HA design.
- Agree the written scope, deliverables and timeline with you before work starts, since most engagements are fixed-scope.
How we build
- Stand up the HA monolithic instances running with the all target alongside the existing deployment against the same object storage.
- Configure memberlist ring membership and verify that every instance joins the ring and serves reads and writes correctly.
- Test the gateway cutover in a non-production environment, then document the rollback steps before switching production traffic.
How we hand over
- Deliver the configuration, runbook for the cutover and rollback, and a record of the verification checks that were run.
- Walk your platform and operations teams through the HA monolithic layout, including how instances are added, restarted and monitored.
- Document how the old simple scalable components are scaled down and retired once the new deployment has been confirmed.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after the move is complete.
- Retainers can cover Loki version upgrades, configuration reviews and monitoring of the HA monolithic cluster over time.
- Ask us to confirm the support boundaries, response expectations and upgrade path in the written quote before signing.

