Floating License Server: How Floating Licenses Work, Cloud vs On-Premise
What a floating license server does, how checkout, heartbeat and check-in share concurrent seats, and when to choose a cloud-hosted or on-premise floating license server.
A floating license server is the service that hands out a fixed number of concurrent seats to whichever installations ask first. Your app checks out a seat when work starts, keeps it alive with a heartbeat, and returns it when work stops. If every seat is taken, the next user waits. The customer pays for how many people use the software at the same time, not for how many machines it is installed on.
This guide explains how floating licenses work under the hood, what a good floating license server has to get right (race-free seat counting, crashed clients, revocation), and how to choose between a cloud-hosted and an on-premise floating license server. It ends with a checklist and a working example for PermitCore. If you only need the short definition, start with what is a floating license?
Floating, concurrent and network licenses: one model, three names
“Floating license”, “concurrent license” and “network license” describe the same idea: a pool of seats shared by a larger group of users. A design studio might install a CAD tool on 12 workstations but buy 3 seats because no more than three people use it at once. The fourth person to open the app is told that all seats are in use until someone closes it or a seat times out. The concurrent license glossary entry covers the vocabulary: seats, leases, heartbeats and check-in.
The alternative is a node-locked license, where a key is bound to specific devices and stays bound until it is deactivated. Node-locked fits one person on one laptop. Floating fits shared workstations, labs, classrooms, shift work and teams who use a tool a few hours a week. Many vendors sell both for the same product. The node-locked vs floating comparison goes through the trade-offs side by side.
| Node-locked | Floating (concurrent) | |
|---|---|---|
| What is limited | Devices that hold an activation | Devices using the software right now |
| Client calls | Activate, validate, deactivate | Checkout, heartbeat, check-in |
| Needs the server while working | No, with signed offline proof | Yes, to renew the seat lease |
| Typical buyer | Individual or small team | Department, lab, studio, enterprise |
How a floating license server works: checkout, heartbeat, check-in
Every floating license system, whatever it is called, runs the same lease loop:
- Checkout. When protected work starts, the app sends the license key and a stable device identifier. The server counts active sessions for that license. If a seat is free, it creates a session and returns a session token with an expiry deadline. If not, it refuses, and the app shows a clear “all seats in use” message instead of failing silently.
- Heartbeat. While the app is in use, it renews the lease before the deadline. Each renewal is also a chance for the server to re-check the license: has it expired, been revoked, or lost its floating entitlement?
- Check-in. When work stops, the app returns the seat so someone else can use it straight away, instead of waiting for the lease to run out.
Here is that loop against the PermitCore REST API. The SDKs wrap the same three calls.
# 1. Checkout: reserve a seat for this device
curl -X POST https://api.permitcore.dev/api/v1/float/checkout \
-H "Content-Type: application/json" \
-d '{"licenseKey":"PERMIT-XXXX-XXXX-XXXX-XXXX","deviceId":"stable-device-id","deviceName":"Workstation-04"}'
# -> {"success":true,"sessionToken":"…","expiresAt":"…","message":"Checkout successful."}
# 2. Heartbeat: renew before expiresAt (normally every 4 minutes)
curl -X POST https://api.permitcore.dev/api/v1/float/heartbeat \
-H "Content-Type: application/json" \
-d '{"sessionToken":"<sessionToken>"}'
# 3. Check-in: return the seat when work stops (HTTP 204 confirms release)
curl -X POST https://api.permitcore.dev/api/v1/float/checkin \
-H "Content-Type: application/json" \
-d '{"sessionToken":"<sessionToken>"}'A successful checkout returns success: true, a secret sessionToken and an expiresAt deadline. An unsuccessful one grants nothing and carries a message such as “All 3 concurrent seats are in use.” Keep the session token out of URLs and logs; it is the credential for that seat.
The part that is easy to get wrong: two checkouts at the same moment
A naive server counts active sessions, compares the number with the seat limit and then inserts a new session. If two machines call checkout in the same few milliseconds, both can read “2 of 3 in use” and both get a seat. The license now has four sessions. A correct floating license server makes the count and the insert atomic. PermitCore takes a short per-license lock, re-counts inside it, and only then creates the session. A busy lock returns a retryable “server is busy” response rather than overselling.
The server also checks two limits, not one: the seat count set on the license, and the floating seat cap of your current PermitCore plan. If a plan changes, the lower cap applies even to licenses created earlier. Floating seats are counted separately from node-locked activation limits.
Crashed clients, sleeping laptops and lease length
If an app crashes, loses power or a laptop lid closes, it never checks in. Without a timeout that seat would be lost forever. Floating license servers solve this with leases: a seat only stays reserved while heartbeats keep arriving. Once the deadline passes, the session stops authorizing use and the seat becomes available again. Some vendors call these abandoned sessions “zombie” seats.
Lease length is a trade-off. A long lease survives flaky Wi-Fi but keeps a crashed seat locked for longer. A short lease frees seats quickly but sends more traffic and is less forgiving on bad connections. In PermitCore each grant lasts up to fifteen minutes, capped at the license’s own access deadline including any applicable grace, and apps normally send a heartbeat every four minutes. Schedule the next heartbeat from the returned expiresAt rather than from a fixed timer, and stop protected work when a renewal is denied or the deadline passes.
Revocation follows the same rhythm. Servers do not push a “stop” message to every running app; the next heartbeat is refused, and the app ends the session. With a few minutes between heartbeats, a revoked or refunded license stops working within one lease period.
Cloud vs on-premise floating license server
The biggest architectural decision is where the license server runs. There are two broad options, and the market currently offers both. Cryptlex, for example, sells hosted floating licenses and an on-premise server, LexFloatServer, which gained multi-product support in its November 2026 release.
| Cloud (hosted) floating server | On-premise floating server | |
|---|---|---|
| Where it runs | The licensing provider’s infrastructure | Inside the end customer’s network |
| Who installs and updates it | The provider | The customer’s IT team, with your support |
| Network the app needs | Outbound HTTPS to the internet | Reachability to the local server only |
| Seat visibility for you | Live, in your dashboard | Usually on the customer’s server; reported back if it syncs |
| Changes to seats or plans | Take effect on the next heartbeat | Depend on the server syncing or a new license file |
| Best fit | Most desktop, engineering and team software sold online | Air-gapped, classified or tightly firewalled sites |
When a cloud floating server is the right default
Most customers’ machines already reach the internet. A hosted server means nothing for them to install, no version drift between sites, and seat changes, renewals and revocations apply everywhere at once. You see who holds which seat without asking the customer to export logs. Support is simpler because there is one server to reason about, not one per customer.
When customers will ask for an on-premise server
Some buyers cannot send any traffic outside their network: defence suppliers, labs with isolated research networks, factories with segmented operational technology, or public-sector sites with strict procurement rules. For them, an on-premise floating server is a requirement, not a preference. It comes with costs that are easy to underestimate: installation guides, firewall rules, a service that someone must keep running and patched, and support tickets when the customer’s server is down and nobody can work.
A third option: run the whole licensing stack yourself
Some vendors want control over where the licensing service runs without asking each customer to operate a server. PermitCore’s Enterprise plan includes a self-hosted deployment: the same API, Admin and Public images that run the hosted service, deployed with Docker Compose on infrastructure you control, with the same floating checkout, heartbeat and check-in endpoints and the same nine SDKs. The hosted service runs in Germany; see EU-hosted licensing for what that covers.
Floating licenses on virtual machines, VDI and containers
Floating licensing is popular for virtual desktops because users move between machines. It still depends on device identity. If every cloned VM reports the same device ID, the server sees one device renewing one session, not ten users. Give each intended concurrent user or desktop its own provisioned identity, and do not copy session tokens between machines. The VM licensing guide covers clones, moves and VDI pools in detail.
The same applies to several processes on one computer. Checkout for the same license and device ID renews the existing session, so separate app processes on one device need one coordinated lifecycle rather than competing heartbeats.
Floating seats and offline work
A floating seat is a lease from a server, so it is only as available as that server is reachable. That is by design: the server is what stops a sixth person using five seats. For users who regularly work disconnected, such as field engineers, a node-locked license with signed offline proof is usually the better model. Many vendors sell a floating pool for the office and node-locked seats for travelling staff on the same product. See offline grace mode and the offline licensing docs for how signed offline validation works.
Pricing floating licenses
One floating seat can serve several people across a working week, so it is normally priced higher than a single node-locked seat. Sell seats as “concurrent users”, show customers their live seat usage, and make the upgrade path obvious when they regularly hit the limit. Publish what happens when all seats are taken, so a refused checkout reads as a capacity question, not a bug.
In PermitCore, floating licensing is included from the Starter plan (up to 5 concurrent seats per license) and has no plan-level seat cap on Professional and Enterprise; a license can still have its own cap. See pricing for the current plans.
Implementing floating licensing with PermitCore
- In the admin panel, go to Licenses → Create, turn on Floating / Concurrent License and set Max Concurrent Sessions.
- Distribute the key as usual, by hand or automatically through your Store after a verified Stripe or Paddle payment.
- In your app, call checkout before protected work, renew before
expiresAt, and await check-in when work stops. All nine official SDKs expose these operations; in .NET they areCheckoutAsync,HeartbeatAsyncandTryCheckinAsync. - Watch active sessions per license in the admin panel, or list them through the authenticated sessions endpoint.
Show the .NET session lifecycle
This helper manages a floating lease. Before calling it, validate the key for your application using expectedProductId and provide the application version when using version rules; see license validation. Checkout itself does not carry those validation fields.
using System;
using System.Threading;
using System.Threading.Tasks;
using PermitCore;
namespace PermitCore.Examples;
public static class FloatingLeaseLifecycle
{
public static async Task RunAsync(PermitCoreClient client, string licenseKey,
Func<CancellationToken, Task> protectedWork, CancellationToken stop = default,
TimeSpan? heartbeatInterval = null)
{
var interval = heartbeatInterval ?? TimeSpan.FromMinutes(4);
if (interval <= TimeSpan.Zero || interval > TimeSpan.FromMinutes(4))
throw new ArgumentOutOfRangeException(nameof(heartbeatInterval));
var seat = await client.CheckoutAsync(licenseKey, ct: stop);
if (!seat.Success || string.IsNullOrWhiteSpace(seat.SessionToken))
throw new InvalidOperationException("No floating seat was granted.");
var token = seat.SessionToken;
using var lease = CancellationTokenSource.CreateLinkedTokenSource(stop);
Task? work = null;
try
{
var remaining = Remaining(seat);
lease.CancelAfter(remaining);
work = protectedWork(lease.Token);
while (!work.IsCompleted)
{
var pause = Task.Delay(remaining / 2 < interval ? remaining / 2 : interval, lease.Token);
if (await Task.WhenAny(work, pause) == work) break;
await pause;
var renewed = await client.HeartbeatAsync(token, lease.Token);
remaining = Remaining(renewed);
lease.Token.ThrowIfCancellationRequested();
lease.CancelAfter(remaining);
}
await work;
}
finally
{
lease.Cancel();
try
{
if (work is not null) await work;
}
catch (OperationCanceledException) when (lease.IsCancellationRequested) { }
finally
{
using var cleanup = new CancellationTokenSource(TimeSpan.FromSeconds(5));
if (!await client.TryCheckinAsync(token, cleanup.Token))
Console.Error.WriteLine("Seat return unconfirmed; the last granted deadline still applies.");
}
}
}
private static TimeSpan Remaining(FloatingSession session)
{
if (!session.Success || !session.ExpiresAt.HasValue)
throw new InvalidOperationException("Floating access could not be renewed.");
var remaining = session.ExpiresAt.Value.ToUniversalTime() - DateTime.UtcNow;
if (remaining <= TimeSpan.Zero)
throw new InvalidOperationException("The floating session deadline has passed.");
return remaining;
}
}Pass your application's work as protectedWork and use its cancellation token in every protected operation. Cancellation is cooperative: the helper cannot stop code that ignores that token. It waits for work to stop before returning the seat. A failed checkin is reported as unconfirmed.
The full request and response reference is in the floating licenses documentation.
Floating license server checklist
- Seat counting is atomic, so simultaneous checkouts cannot exceed the limit.
- Leases expire on their own, so crashed clients release their seats.
- Heartbeats re-check expiry, revocation and plan limits.
- The app stops protected work when renewal is denied or the deadline passes.
- Check-in is awaited on exit, and a lost response is treated as unconfirmed.
- Each VM, desktop or user that should hold its own seat has its own device identity.
- The “all seats in use” message tells the user what to do next.
- You can see who holds which seat right now.
- Disconnected users have a node-locked option with signed offline proof.
Floating licensing is one of the fastest ways to sell to teams without forcing them to buy a seat for every machine. Get the lease loop right, pick the server placement your customers actually need, and the model largely runs itself. See floating licenses in PermitCore or compare plans.
Build your first licensed product without building a license server.
Create a free PermitCore account, issue a test license, and validate it from your application.