Self-hosted alternative to AVD per-user access pricing: when it makes sense
A software vendor whose customers reach Windows applications through Azure Virtual Desktop may find that per-user access costs rise with every customer seat added. Apache Guacamole can front the same applications on the vendor's own infrastructure, and the trade is licensing simplicity against operating effort: you stop paying Microsoft for access rights per user, but you take on hosting, patching, capacity planning and support for the gateway and the session hosts behind it. The move makes sense when the cost curve, a data location requirement or a need for direct control over the access path outweighs that effort. Before you decide, confirm the current AVD access tiers, what they include and exclude, and the eligible licenses your customers and your own staff hold, because the sources behind this page do not price AVD tiers and Microsoft's terms change. Check them directly in Microsoft's current licensing documentation and with your Microsoft account team.
The constraint usually falls into one of three groups: pricing that scales with customer growth, data that customers or regulators require to stay in a specific location, or a need to control the session path, logging and tenancy boundaries yourself. Each one suggests a different first check. For pricing, build a model with your actual user counts, concurrency patterns and the Azure compute, storage and network charges that sit beside the access rights. For data location, map where application data, session recordings and profile data would sit under each option, and ask whether your customers' contracts or security reviews accept Azure regions. For control, decide who owns the gateway, the identity integration and the audit trail. Guacamole's authentication extensions, including LDAP, OpenID Connect and SAML, and its session recording player are relevant here, but you must test them against your own identity provider and retention rules.
Plan a pilot before committing. Pick one application group, one customer cohort and a fixed success check, such as successful sign-in through your identity provider, session recording retained for the required period and a documented restore of the session hosts. Record the operating hours the pilot consumes, since that effort is the cost you are trading for licensing simplicity. If the pilot shows the staffing and patching load is acceptable, the move becomes a migration project covered by the related pages on this topic. If it does not, the pilot still gives you a clear comparison for renewal discussions with Microsoft.
What a remote access delivery model must satisfy
A vendor that streams Windows apps to customers takes on the remote access controls its customers will ask about, whichever platform delivers the sessions. The four cards below cover threat modeling, session monitoring, multi-factor authentication and tool inventory, and each one shapes the Guacamole design and the operating work that comes with it.
Threat-model every remote access component
NIST SP 800-46 Rev. 2 expects every part of a remote access path to be secured against threats identified through a threat model. For a vendor, that path includes the Guacamole web tier, the guacd daemon, the connection broker, the session hosts, the database behind the connection definitions, and the reverse proxy in front of them. Write the model before go-live, name the trust boundary between your network and the customer's, and review it when you add a protocol or a new customer tenant. Ask your assessor which components they expect in the model.
NIST SP 800-46 textMonitor and control remote sessions
NIST SP 800-171 requirement 3.1.12, mirrored in CMMC Level 2 practice AC.L2-3.1.12, calls for monitoring and controlling remote access sessions. In a delivery model, this means recording who opened which published app, when, from which address, and what they did before the session ended, and being able to end a session on demand. Guacamole's session recording player extension can capture session activity, but you still need to decide retention, who can review recordings, and how customer-facing logs are separated from your own administrative logs. Confirm these with the customer's compliance team before you promise them.
Require MFA for remote network access
CIS Controls v8.1 Safeguard 6.4 asks for multi-factor authentication on remote network access and sits in Implementation Group 1, so it applies to organizations of any size. CIS maps it to PCI DSS v4.0 requirement 8.4.3. Guacamole supports Duo and TOTP extensions, and its SSO extensions (OpenID Connect, SAML, LDAP) can hand authentication to an identity provider that already enforces MFA. The check to run is whether MFA applies to every path into a session, including service accounts and break-glass logins, and whether customer users can bypass it through a direct RDP or SSH route.
Inventory and allowlist remote access tools
CISA, NSA and MS-ISAC advisory AA23-025A recommends auditing which remote access tools are in use and authorized, and using application allowlisting to block portable versions of unauthorized remote monitoring and management software. Attackers have used legitimate tools such as ScreenConnect and AnyDesk as a backdoor. In a vendor setting, list every remote tool your staff, your customers' administrators and your support engineers may use, approve the set in writing, and enforce it on the endpoints that connect to your Guacamole gateway. Recheck the list after each new integration or support tool.
CISA advisory AA23-025AWhat the AVD Apps and Desktops and apps tiers cover and exclude
The apps-only entitlement is the narrower of the two models. It fits scenarios where customers open individual published applications and do not need a complete Windows desktop. For a software vendor, the first question is whether your customers need one or two line-of-business applications streamed to them, or a full desktop. Confirm in Microsoft's current licensing documentation which user populations the apps-only right covers and whether it is measured per user or per device.
- Published apps only: Users reach specific applications, not the Windows shell, taskbar or file system of a full session.
- Application groups: Access is usually organized around the application groups you publish, so map each customer tenant to the apps it may use.
- Customer-side eligibility: Confirm whether your customers' end users need their own eligible Microsoft licenses or whether the vendor arrangement covers them.
- Session and host rules: Check any restrictions on concurrent sessions, multi-session hosts or how application streaming is counted.
Before you commit, ask Microsoft or your licensing reseller to confirm the apps-only entitlement against your exact delivery model, in writing.
The desktop tier gives users a complete Windows session, with the shell, installed applications and the ability to run software that has not been published individually. It is the right reference point when your customers' workflows depend on a whole desktop, including applications that cannot be streamed on their own. The license question changes with it, because more of the Windows environment is now delivered to the user, so more of the licensing terms apply to the session itself.
- Full session: Users get a desktop experience, so confirm which Windows and application components are included in the entitlement.
- Session host model: Confirm whether the desktop right assumes multi-session Windows hosts, Windows Server session hosts or single-session machines.
- Application coverage: Third-party software inside the desktop may carry its own license terms that the desktop entitlement does not cover.
- Profile and data handling: Check how user profile data is held and whether the entitlement assumes any particular storage approach.
When you compare tiers, ask for the desktop entitlement as a separate line item from apps-only access, so you can see which rights you are paying for.
Whichever tier you choose, some Windows and Microsoft 365 licensing remains with the organization that operates the hosts and with the users who sign in. The access tier does not replace these obligations. Moving from AVD to self-hosted Guacamole on your own virtualization layer changes who runs the hosts, but it does not remove the need to hold valid operating system and application rights for the software those hosts run.
- Operating system on hosts: Confirm which Windows edition and license model apply to each host you run, including whether Windows Server session hosts need RDS client access licenses.
- Microsoft 365 for users: Confirm which Microsoft 365 or Office rights your customers' users need when they run Microsoft applications inside the session.
- Third-party application licenses: Each delivered application may have per-user, per-device or server-based terms that you must confirm separately.
- Ownership of the license: Clarify whether you hold the licenses as the vendor or whether each customer must hold its own.
Ask your licensing advisor to map each host image and each delivered application to a specific license basis before you plan the migration.
A per-user access charge is one component of running a delivered desktop or app. It generally does not cover the Azure infrastructure that runs the sessions, so you should expect separate consumption charges for compute, storage and network traffic. Ask Microsoft for the current billing terms that apply to each of these items, because they are metered independently and move with usage, region and host size.
- Compute: Azure virtual machines that act as session hosts are billed separately from the access right.
- Storage: Managed disks, profile storage and any file share used for user data carry their own charges.
- Networking and egress: Traffic between Azure, your customers and any gateway may be billed by volume.
- Management and monitoring: Confirm whether any control plane, logging or backup service adds a fee beyond the access entitlement.
Before comparing totals, ask for an estimate built from your expected session counts, host sizes and regions, so the access charge is not read as your full Azure bill.
Which open-source options fit a self-hosted app delivery model
This table compares Apache Guacamole and the Windows or Linux host models it needs behind it, with RustDesk shown only for unattended support. Read each row to see how the option meets app delivery requirements, where it falls short, and what your team must confirm before choosing a design.
| Option | How it meets the requirement | Trade-offs | What to confirm |
|---|---|---|---|
| Apache Guacamole (gateway) | Apache-2.0 clientless gateway that publishes RDP, VNC and SSH connections to any HTML5 browser, so customers need no client install | Brokers connections only. It does not provide Windows desktops, app pools or multi-session hosts, so you must supply the host layer | Confirm the Apache-2.0 terms fit your redistribution model and that your chosen version (1.6.0 or later) meets your patch policy |
| Guacamole authentication extensions | LDAP or Active Directory, OpenID Connect, SAML, Duo and TOTP extensions cover per-customer sign-in and MFA | Each identity source and MFA method adds configuration and testing; extension behavior varies by identity provider | Confirm which IdP your customers use and test MFA enrollment, lockout and session timeout end to end |
| Single-session Windows VMs on Proxmox VE or OpenStack | One VM per customer or per app group, reached through Guacamole over RDP, so each tenant's data and apps stay isolated | Highest isolation but lowest density; you pay for Windows licenses and compute for every concurrent session | Confirm the Windows licensing terms your vendor agreement allows for hosting third-party users |
| Windows Server session hosts with RDS CALs | Multi-session Windows Server behind Guacamole, which can serve several users per host | Requires RDS CALs and session-level isolation planning; application compatibility with multi-user installs must be tested | Confirm RDS CAL counts, licensing for external users, and whether each app supports multiple concurrent sessions |
| Linux desktops or app hosts | Lower-cost hosts for apps that have Linux builds or run under Wine-style compatibility layers | Many Windows-only commercial apps will not run, and compatibility testing can be extensive | Confirm each app's supported platform with its vendor before committing to this model |
| RustDesk (unattended support only) | Self-hosted remote support and unattended access to a specific machine when a support engineer needs control | Designed for support sessions, not for publishing individual apps to many customers; the AGPL-3.0 server terms also apply | Use only for support workflows; confirm AGPL-3.0 obligations with counsel before modifying the server |
| Host layer gap (any model) | Guacamole does not supply Windows multi-session desktops, autoscaling or a session broker for app groups | You must build or buy the broker, image pipeline, patching and autoscale logic yourself | Ask your implementation partner to confirm the host model, broker approach and who operates each layer |
| Session monitoring | Guacamole's session recording player extension supports audit of who accessed which session | Recording storage grows with usage and needs retention and access controls | Confirm recording retention, storage location and who can review recordings |
How a customer's browser reaches Windows apps through Guacamole on your infrastructure
The flow starts in the customer's browser, which connects over HTTPS to a reverse proxy that terminates TLS and forwards to the Guacamole web application, a Java service that handles sign-in through SSO and MFA and reads user and connection records from a database backend. The web application passes the Guacamole protocol to the guacd daemon, which loads the RDP client plugin and opens the session to Windows session hosts. Check the trust boundary between your network and the vendor-operated session hosts, and confirm where the session recording extension writes its files.
Request path from customer browser to Windows session hosts through your Guacamole stack.
How to deploy Guacamole for customer app access
This sequence takes a software vendor from an inventory of customer-facing Windows apps to a self-hosted Guacamole gateway that serves each customer through its own connection group, with SSO, MFA and session records in place before a pilot customer moves over.
Inventory apps, customers and identity sources
The vendor's product or engineering lead lists every Windows app streamed today, the licensing terms each customer has, and the identity source each customer uses for sign-in, such as Active Directory, LDAP, SAML or OpenID Connect. Map which apps each customer needs and which customers share a session host. The step is complete when you have a written table of apps, customers and identity sources that a reviewer can check against your current AVD configuration.
Choose native or Docker installation
Your platform engineering team decides between a native installation of Guacamole on Linux and the containerized Docker installation, both covered in the Guacamole manual. Choose based on your existing operations skills, patching process and backup tooling. The step closes with a documented decision, a hardened host or container image, and a test instance reachable only from your management network.
Configure the database authentication backend
Guacamole stores connections, users and permissions in a database. The manual documents MariaDB or MySQL, PostgreSQL and SQL Server backends. Your database administrator creates the schema, restricts the database account to the Guacamole service, and enables encrypted connections and regular backups. The step is done when a test user can log in and see a test connection, and the database backup restores into a scratch instance.
Connect SSO and MFA extensions
Install the authentication extensions that match each customer's identity source, such as the LDAP or Active Directory extension, the SAML or OpenID Connect extension, and the Duo or TOTP extension for multi-factor authentication. Test each path with a non-production account and confirm that disabling a user at the identity provider blocks access in Guacamole. The step closes with a test matrix showing sign-in, MFA prompt and deprovisioning results for every identity source in your inventory.
Publish per-customer connection groups
Create one connection group per customer, add the RDP connections to the session hosts assigned to that customer, and grant permissions only to that customer's users. Keep customer data and sessions separated and document the naming and permission model. Confirm that a user from one customer cannot see another customer's connections. The step is complete when an access review of the permission model matches the agreed customer scope.
Enable session recording and audit logging
Enable the session recording capability in the Guacamole manual, store recordings in a location with restricted access and a retention rule your legal team has approved, and confirm that the recording player works for a sample session. Check that authentication and connection events reach your central log store. The step closes when a recorded test session can be found, played back and linked to the user account that started it.
Run a pilot customer in parallel
Move one willing customer onto the Guacamole path while the AVD path stays live for everyone else. Compare session quality, application behavior, sign-in success and support tickets over an agreed period. Agree the exit criteria and the rollback steps in writing before the pilot starts. The step is complete when the pilot customer signs off the results and the rollback has been rehearsed.
Confirm Windows licensing before cutover
The vendor decides where the session hosts run, whether on its own infrastructure, in a customer environment or in a cloud account. Before cutover, the vendor must confirm with Microsoft or its licensing advisor which Windows and RDS licenses each host model requires, because the answer changes with the hosting model. The step is done when a signed licensing record exists for each host model and the cutover plan lists the license evidence to keep.
What changes in licensing and operations when you own the delivery layer
Owning the delivery layer moves costs from a per-user access charge to a set of recurring operating costs you carry yourself. Under AVD per-user access pricing, Microsoft bills access rights and Azure bills the compute, storage and network that session hosts consume. Once you deliver apps through Apache Guacamole on your own infrastructure, the gateway, the session hosts, the hypervisor, the certificates, the backups and the on-call rotation become your line items. Windows Server or Windows licensing for session hosts also moves into your own agreements, so confirm with your Microsoft licensing advisor which edition, multi-session rights and CAL or subscription model apply to the customer-facing apps you intend to stream. Multi-session Windows Enterprise is exclusive to Azure Virtual Desktop, so your own session hosts will need another model.
Effort rises with the number of customers you serve, the number of applications published, how many identity providers you federate with, and how much audit evidence your customers request. Each additional tenant adds connection groups, SSO configuration, access reviews and session recording retention decisions. Each published app adds image maintenance and compatibility testing. The Guacamole extensions for SAML, OpenID Connect and LDAP make federation manageable, but every tenant still needs its own validation and documented ownership. Effort falls when you fix the scope in writing before work starts, standardize on a containerized Guacamole deployment with documented Docker configuration, and keep a single golden image pipeline for session hosts. Ask any implementation partner to price the setup against a defined list of tenants, apps and identity sources, and to state what is one-time and what recurs.
Evidence customers and auditors ask for
Customers running security reviews and auditors assessing your controls will ask how users reach the Guacamole gateway, what they can do once connected, and whether the stack is patched and inventoried. The cards below list the records that answer those questions. DeployOpen prepares this evidence, but independent auditors and certification bodies issue any assessment or certification.
Access control and MFA exports
Export the authentication configuration from the Guacamole deployment: which identity provider or extension is active (LDAP, OpenID Connect, SAML, Duo or TOTP), the MFA policy applied to every connection path, and the user-to-connection-group mapping. Reviewers check that multi-factor authentication covers all remote network access, not only the web login, which relates to CIS Controls v8.1 Safeguard 6.4. Confirm that administrator accounts follow the same rules and that the export is taken from the running configuration, not from a planning document.
Guacamole manualSession logs and recordings
Keep records of who connected, to which host, when, and from which address, and enable the session recording player extension where sessions carry customer data. These records support NIST SP 800-171 requirement 3.1.12 (AC.L2-3.1.12), which calls for monitoring and controlling remote access sessions. Ask customers and assessors how long logs and recordings are retained, where they are stored, who can read them, and whether they are protected from edits by the users they record.
Inventory of remote access tools
Maintain a current list of every remote access and remote management tool in use across your estate, with its owner, purpose and approval status. CISA, NSA and MS-ISAC advisory AA23-025A recommends this audit and recommends application allowlisting to block unauthorized remote monitoring and management software, including portable versions. Include the Guacamole gateway, any RustDesk or other support tools, and the endpoints where they run, so reviewers can see that unapproved tools are absent.
Advisory AA23-025AThreat model for the remote access path
Document the threat model for the path from the user's browser through the Guacamole web application, guacd and the target desktop, following NIST SP 800-46 Rev. 2, which expects every component of remote access to be secured against threats identified through threat modeling. Cover the tunnel, the gateway, the credential store, the session recording store and the Windows session hosts. Record the controls mapped to each threat and the residual risk accepted by the owner, and review the model after any architecture change.
NIST SP 800-46 Rev. 2Version and patch records
Record the deployed Guacamole version, which is 1.6.0 released on June 22, 2025, along with the guacd build, the protocol plugins, the Java runtime, the database backend (MariaDB or MySQL, PostgreSQL or SQL Server), the reverse proxy, the operating system and the container images if you use Docker. Keep dated patch logs and a process showing how Apache Guacamole security announcements are tracked and applied. Ask assessors whether they expect a software bill of materials and how component ownership is assigned.
Questions vendors ask before moving app delivery off AVD
What drives the total cost of moving app delivery off AVD?
The total depends on which components you keep and which you replace, and on how many concurrent sessions and hosts you need. Cost falls into four groups: compute and storage for session hosts on your own virtualization layer, the Guacamole gateway and its database and identity components, Windows licensing for the session hosts, and the staff time to build, patch and monitor the stack. Compute and storage are mostly one-time hardware purchases plus recurring power and data center costs, while staff time and Windows subscriptions recur. Ask any provider for a quote that lists each component separately, with the assumed session count, peak concurrency and hours of support included.
How long does a pilot usually take before cutting over customers?
A pilot length depends on how many applications you stream, how many identity sources you connect, and whether your session hosts are already built. A small pilot usually covers one or two applications, one customer tenant and a single session host pool, so the work is mostly gateway setup, SSO testing and image validation. Before you commit to a date, confirm with the implementation partner which items are in scope, who signs off on each stage, and what counts as a completed pilot. Timelines should appear in the written scope, not in a verbal estimate.
What does our own team need to provide during an engagement?
Your team typically provides application installers and licenses, the target identity provider configuration, network and firewall change approvals, and a named owner for acceptance testing. Vendors cannot test customer-facing access without these inputs, so they often become the critical path. Ask the partner to list every input and dependency in the written scope, with an owner on your side for each one.
Can an internal team run a Guacamole-based app delivery stack alone?
An internal team can run it alone if it has skills in Linux server administration, reverse proxy and TLS management, database operations, identity federation and Windows session host management. Apache Guacamole is licensed under the Apache License, Version 2.0, and version 1.6.0 was released on June 22, 2025, so upgrades should be planned against that release line. Guacamole's web application is written in Java and relies on the guacd daemon for protocol connections, so troubleshooting often crosses both components. Assess whether you have on-call coverage for these layers before deciding to run the stack in-house, and consider a retainer for upgrades and patching if you do not.
How do Windows licensing obligations change when we move session hosts?
Windows licensing changes because the multi-session model you used on AVD is tied to Azure, so self-hosted delivery needs another licensing model. Options generally include Windows Server session hosts with RDS client access licenses, single-session Windows virtual machines, or Linux desktops for some applications. Confirm the terms with Microsoft or your licensing advisor before you size hardware, because the eligible license set depends on how you deliver apps and who uses them. Include these subscriptions as recurring cost lines in your quote comparison.
How are customer SSO and MFA wired into Guacamole?
Guacamole supports several extensions for authentication, including LDAP and Active Directory, OpenID Connect, SAML, CAS, smart card single sign-on, Duo and TOTP. The usual pattern is to federate each customer's identity provider through SAML or OpenID Connect and enforce multi-factor authentication at the identity layer, so the gateway accepts only authenticated sessions. CIS Controls v8.1 Safeguard 6.4 calls for multi-factor authentication for remote network access, and that expectation should be written into your access design. Ask whether the partner will test each customer tenant's login, session expiry and account lockout behavior before go-live.
What happens to session recordings and audit data?
Guacamole includes a session recording player extension, so recordings can be stored on your infrastructure rather than with a third-party service. You must decide where recordings are kept, how long they are retained, who can view them and how customers can request them under their contracts. NIST SP 800-171 requirement 3.1.12 calls for monitoring and controlling remote access sessions, so recordings and logs often support that control. Confirm storage location, retention periods, access controls and deletion procedures in the written scope, and check whether your customers' data processing terms require notice before recording.
How do we get a fixed-scope quote for this work?
Start by writing down the applications, customer tenants, identity providers, session host counts and compliance requirements in scope. DeployOpen does not publish a price list. Instead, most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and a quote follows from that written scope. Ask any provider for a breakdown of one-time build work, recurring support or retainer costs and any items excluded from the price. Share the same scope document with each bidder so the quotes can be compared fairly.
How to move customer app access without a service gap
The safest way to move customer app access is to run Guacamole beside AVD rather than switching everyone at once. Stand up the self-hosted gateway in parallel, publish the same Windows applications through connection groups that mirror your existing application groups, and point one customer group at it first. Keep that group's AVD assignments in place until the new path has carried real sessions. Before you start, work through the exit inventory described in the plan for an AVD exit: host pools, application groups, images, profile storage and the licenses that entitle each customer's users. Those records tell you which customers can move together and which application dependencies must be rebuilt before any cutover date is set.
Each pilot group should pass explicit checks before the next group moves. Confirm that multi-factor authentication is enforced on the Guacamole path, using one of the extensions the Guacamole manual documents, such as Duo, TOTP or an SSO integration, and test it from the networks your customers actually use. Confirm that session activity is logged, and enable the session recording player extension where your customer contracts or security reviews call for it. Remote access sessions should be monitored and controlled in line with the expectations in NIST SP 800-171 Rev. 2, so treat the logging check as a gate, not a nice-to-have. Only after a group has run cleanly should you remove its AVD assignments, and keep the old host pools in a stopped state for a rollback window you define with your own change process.
Notice periods are a contractual matter, and you must confirm them with Microsoft before you plan any cutover. The terms that govern your AVD subscription, licensing and any customer-facing commitments determine how much time you have to move, whether you can reduce capacity mid-term, and what happens to committed spend. Ask your Microsoft account team or reseller to confirm these in writing, and check your customer agreements for any service availability or notice obligations of your own. Do not set customer dates until both sets of notice terms are understood, because a cutover that outruns a notice obligation creates a service gap that no technical plan can fix.
How DeployOpen works on this
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For teams moving SaaS app delivery off AVD per-user access pricing, the work starts with a written scope that fixes which applications, identity controls and licensing questions are covered before any build begins.
How we scope
- Agree in writing which published apps, user groups and session types move to Guacamole
- Record the licensing and entitlement questions your counsel and Microsoft account team must answer
- Set the identity, MFA and session recording requirements that the gateway must meet before go-live
How we build
- Deploy Guacamole and guacd in your cloud accounts, data centers or air-gapped network
- Connect SSO through LDAP, OpenID Connect or SAML, with MFA through Duo or TOTP
- Test access controls, session logging and exposure of the gateway before users connect
How we hand over
- Deliver architecture, configuration and runbook documents for your operations staff
- Provide evidence of access control and session monitoring for your compliance reviewers
- Walk your team through backup, upgrades and decommissioning of the Azure resources
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover
- Retest the gateway after Guacamole version upgrades, such as moving between releases
- Ask any support provider to confirm response terms in writing before you sign

