A white background with a few lines on it

Stateful or stateless VDIs: which is best for you?

Simon Edward • 16 October 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 representing 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.

 

These days, the majority of enterprises hold huge quantities of data. Find out how big clouds
by Simon Edward 26 February 2025
These days, the majority of enterprises hold huge quantities of data. Find out how big clouds can help.
What are cloud APIs and how can they help your business bloom? Find out in our jargon-free guide.
by Simon Edward 24 February 2025
What are cloud APIs and how can they help your business bloom? Find out in our jargon-free guide.
Cloud computing costs are set to rise in 2025. Are you paying too much? Join us as we explore
by Simon Edward 22 February 2025
Cloud computing costs are set to rise in 2025. Are you paying too much? Join us as we explore the facts.
How can NSX Application Platform (NAPP) help you improve your security posture? Find out
by Simon Edward 17 February 2025
How can NSX Application Platform (NAPP) help you improve your security posture? Find out in our guide.
Ireland's cloud industry is booming. Join us as we celebrate 6 of the innovators who made it happen.
by Simon Edward 14 February 2025
Ireland's cloud industry is booming. Join us as we celebrate 6 of the innovators who made it happen.
Cloud costs have a way of snowballing. Find out how to manage them in more complex environments.
by Simon Edward 11 February 2025
Cloud costs have a way of snowballing. Find out how to manage them in more complex environments.
Consumers and enterprises rely on the cloud for storage. But how does it work? Get to grips with the
by Simon Edward 7 February 2025
Consumers and enterprises rely on the cloud for storage. But how does it work? Get to grips with the basics.
How can you manage the security and compliance of your cloud workloads? Find out how a CSPM can help
by Simon Edward 4 February 2025
How can you manage the security and compliance of your cloud workloads? Find out how a CSPM can help.
What do Reddit users want to know about VMware NSX? Get the questions – and answers – in our article
by Simon Edward 27 January 2025
What do Reddit users want to know about VMware NSX? Get the questions – and answers – in our article.
by Simon Edward 24 January 2025
Recently, Broadcom has told enterprises that private clouds are the way to go. Find out why in our article. 
More posts
Share by:
Consent Preferences Ascend tracking code -->
                                        ___    ,'""""'.
                                    ,"""   """"'      `.
                                   ,'        _.         `._
                                  ,'       ,'              `"""'.
                                 ,'    .-""`.    ,-'            `.
                                ,'    (        ,'                :
                              ,'     ,'           __,            `.
                        ,""""'     .' ;-.    ,  ,'  \             `"""".
                      ,'           `-(   `._(_,'     )_                `.
                     ,'         ,---. \ @ ;   \ @ _,'                   `.
                ,-""'         ,'      ,--'-    `;'                       `.
               ,'            ,'      (      `. ,'                          `.
               ;            ,'        \    _,','                            `.
              ,'            ;          `--'  ,'                              `.
             ,'             ;          __    (                    ,           `.
             ;              `____...  `My    `.                  ,'           ,'
             ;    ...----'''' )  _.-  .Digital `.                ,'    ,'    ,'
_....----''' '.        _..--"_.-:.-' .'Hero    `.             ,''.   ,' `--'
              `"     _.-'' .-'`-.:..___...--' `-._      ,-"'   `-'
        _.--'       _.-'    .'   .' .'               `"""""
  __.-''        _.-'     .-'   .'  /
 '          _.-' .-'  .-'        .'
        _.-'  .-'  .-' .'  .'   /
    _.-'      .-'   .-'  .'   .'
_.-'       .-'    .'   .'    /
       _.-'    .-'   .'    .'
    .-'            .'
⠀⠀⠀⠀⠀⠀⠀Hello there!

Thanks for checking out Ascend Cloud Solutions source code — you're a curious one, aren't you? 😊  
If you're looking for help with your own **digital marketing** — be it a stunning website, powerful SEO, or effective Google Ads — look no further. Our team at **My Digital Hero** would love to help.

Contact us anytime at **hello@mydigitalhero.co.uk**, and let's chat about how we can work together to bring your vision to life.

All the best,  
**Simon**  
Director of My Digital Hero⠀⠀⠀⠀⠀⠀
    
Stay Awesome and Get To The Cloud!