Ascend Cloud Solutions logo in white

Stateful or stateless VDIs: which is best for you?

Simon Edward • Oct 16, 2023

Looking to make the move to a VDI but unsure whether to go for a stateful or stateless solution? Join us as we run through the pros and cons of each.


Looking to make the move to a VDI but unsure whether to go for a stateful or stateless solution? Join us as we run through the pros and cons of each.

Are you moving to a virtual desktop infrastructure (VDI)? Then you may find yourself at a fork in the road. There's a sign ahead of you: turn left for "stateful" or right for "stateless". Which turn do you take?


The difference is relatively easy to grasp – it's certainly not the most arcane aspect of present-day cloud technologies. With a stateful VDI, user information gets saved between sessions. With stateless, any changes made to the desktop are wiped clean.


The first VDIs were all stateful. Traditional PCs were shifted into data centres, creating one-to-one virtual machine (VM) copies. If a user customised the desktop, they could rest assured that the changes would persist, session after session.


In some contexts, this remains the most common form of VDIs. But it comes with a problem: it can be a nightmare to manage.


Stateless VDIs, by contrast, are born anew with every session. They're not unlike the virtual desktop equivalent of "incognito mode" on your browser: at the end of each session, the environment resets to its factory default.


With stateless VDI, engineers use something called a "golden image". This is the factory-default, off-the-hook virtual desktop. It includes the operating system and configuration settings. Rather than each user having a personalised desktop, stateless VDIs group or pool together VMs.


When you log in, a clone is "spun up" (as they say in the VDI world). This means that a VM gets pulled from the pool and assigned to a user. When the user is done, the VM is returned to the pool.


Before we look at the pros and cons of each, a word on terminology. Stateful and stateless VDIs are sometimes known as "persistent" and "non-persistent", respectively. For the purposes of this article, we'll just be using "stateful" and "stateless".


What are the advantages of stateful VDIs?


A key advantage of stateful VDIs is that they don't rock the boat. Your employees are used to stateful desktop environments.


Before businesses moved en masse to the cloud, desktops were local and tied to hardware. A staff member would log in each day, arrange their icons as they pleased and choose their own screensaver. Customisation is part of the comfort of using your own device.

Picture of a desktop

And even today, when so much corporate data and software resides in the cloud, people are used to statefulness. Cookies, history, remembered passwords – all of these are possible because of stateful browsers.


This way of working is convenient. It means you don't have to keep re-entering passwords, addresses and payment details. It also allows for algorithmic recommendations, which are now such a familiar part of online shopping.


For this reason, a stateful VDI is familiar, even homely, to workers in all industries. Your teams are more likely to be on board with a stateful VDI than with its stateless equivalent.


The main downside relates to administration. Customised VMs require more storage capacity and more management. It's far more complex than working with just a single golden image, as is the case with stateless solutions.


What are the advantages of stateless VDIs?


There are two main things that stateless offers and stateful doesn't.


The first is that it's cheaper and easier to maintain. Because stateless VDIs are built from golden images, they're easier to provision. IT can quickly spin up a desktop for any user who needs one.


The second is that they're highly secure. Cyber security is, of course, high up on every business's agenda – not least because of GDPR and other regulatory frameworks which mean that data breaches can be punished with fines.


Picture depicting GDPR

Most data breaches and denial-of-service attacks are possible only because of a stateful design. For a cyber criminal to succeed in wreaking havoc, they need a stable, persistent environment. To take an offline analogy, you can't case the joint if it keeps changing address.


So by wiping the slate clean after every session, you're ensuring that your desktop environments are super-secure. Devices are accessing storage only when in use – which is far more economical than all devices using it all the time. This slashes costs for shared storage. 


What's better, stateful or stateless VDIs?


As with many things in the cloud world, it all depends on who you are and what you need it for.


Let's say you have full-time staff who need to access their desktop on the reg. This could apply to software developers, healthcare staff, engineers, architects, lawyers or students. For these types of workers, stateful is your safest bet.


But there are other contexts in which users need access to simple applications and not much else. They don't need to personalise their work environment or have a persistent user history. This applies to call centres, data entry and customer self-service.


In these use cases, stateless is best.


What is VMware Horizon?


Here at Ascend Cloud Solutions, we're experts in VMware's suite of cloud-based virtualisation software. One of VMware's most exciting offerings is called Horizon. It allows technicians to administer stateless VDIs at lightning speed from a single console.


This has several advantages. First, you hand responsibility for infrastructure over to VMware.


Second, it provides a familiar and painless desktop UX, regardless of whether you're working from an on-premise server or a cloud environment.


On top of that, it's cheap, easy to maintain and highly secure – a far cry from the days when your IT technician would have to spend their working day helping individual users configure their devices.


The bottom line is that VMware Horizon provides your hybrid teams with secure, fast access to corporate data and software.


Each enterprise has its own requirements – and you may find that yours are best met by a stateful VDI. But if your priorities are simple provision and low costs, VMware Horizon could be the solution for you.


At Ascend Cloud Solutions, we provide
managed cloud migrations, cloud consultancy services and more. We're VMware experts with a proven track record of success. Interested in our services? Then get in touch today for a no-obligation consultation.

So you want to migrate to VMware Cloud on AWS but don't know how? Get to grips with the essentials.
By Simon Edward 26 Apr, 2024
So you want to migrate to VMware Cloud on AWS but don't know how? Get to grips with the essentials.
It's hard to keep data centres cool in tropical climates. Learn how a team in Singapore
By Simon Edward 22 Apr, 2024
It's hard to keep data centres cool in tropical climates. Learn how a team in Singapore is making a difference.
Find out how cloud migration is shaking things up for the better in the supply chain
By Simon Edward 19 Apr, 2024
Find out how cloud migration is shaking things up for the better in the supply chain and transportation sectors.
More and more firms are moving to a private cloud or back to an on-prem data centre. Find out why.
By Simon Edward 15 Apr, 2024
More and more firms are moving to a private cloud or back to an on-prem data centre. Find out why.
What is OpenStack and how it can help your business? Find out in our accessible guide to this IaaS
By Simon Edward 12 Apr, 2024
What is OpenStack and how it can help your business? Find out in our accessible guide to this IaaS solution.
Cloud gaming is beset by problems – but could it have a bright future? Join us as we explore
By Simon Edward 08 Apr, 2024
Cloud gaming is beset by problems – but could it have a bright future? Join us as we explore the topic.
VMware Partner Authorised Training Centre
By Simon Edward 05 Apr, 2024
Ascend Cloud Solutions offers lab hosting services to VATC (VMware educational providers). Find out more.
At the end of 2023, Broadcom acquired VMware. Learn what this could mean for the firm
By Simon Edward 05 Apr, 2024
At the end of 2023, Broadcom acquired VMware. Learn what this could mean for the firm and its customers.
What is the state of the cloud in Australia and how does it compare to other regions? Read all about
By Simon Edward 02 Apr, 2024
What is the state of the cloud in Australia and how does it compare to other regions? Read all about it.
External IT support can be invaluable to businesses. But should you choose a consultant or an MSP?
By Simon Edward 29 Mar, 2024
External IT support can be invaluable to businesses. But should you choose a consultant or an MSP?
More Posts
Share by: