Below is an example of a typical VDI (Virtual Desktop Infrastructure) and RDP (Remote Desktop Protocol) stack when both the “VDI” (the virtual desktop hosting environment) and the “server” (the management and session delivery component) reside on a single physical machine. Keep in mind that in production environments these roles are usually spread out for scalability, fault tolerance, and security, but for a lab, development, or small deployment you might combine them.
1. Physical Host and Hypervisor
-
Physical Hardware:
A server with sufficient CPU, memory, storage, and network bandwidth to host multiple virtual desktops and system services.
-
Hypervisor:
- Type-1 Hypervisor (Bare-Metal): When running a full virtualization solution (like Microsoft Hyper-V, VMware ESXi, or Citrix Hypervisor), the hypervisor runs directly on the hardware.
- Integrated Options: In smaller setups or when using a role-based operating system (like Windows Server with Remote Desktop Services), you might use a “hypervisor-like” environment where roles coexist on one OS.
2. Host Operating System and Virtualization Roles
-
Host Operating System:
Typically a server OS (e.g., Windows Server) that supports virtualization roles and additional services.
- If using Windows Server, you may install the Hyper-V role to provide virtualization.
-
Virtualization Hosts/Guest VMs:
You create guest VMs that contain the user’s desktop environment. These images could be:
- Full desktop images (for persistent VDI)
- Pooled images (for non-persistent, stateless sessions)
Each guest VM will have a VDI agent or Desktop Agent installed so that the management infrastructure can handle sessions and apply policies.
3. Remote Desktop Services (RDS) Components
Since VDI in this context leverages RDP for session delivery, the typical RDS roles you would install on the same machine include:
-
Remote Desktop Session Host (RDSH):
Hosts the virtual desktop sessions, allowing multiple users to connect (especially in pooled VDI or session-based desktops).
-
Remote Desktop Connection Broker (RD Connection Broker):
Manages user session connection and load balancing.
- In a one-box deployment, the RD Connection Broker helps the server decide which VM (or session) to connect the user to.
-
Remote Desktop Web Access (RD Web Access):
Provides a web portal where users can log in and select their available desktops. This is optional in smaller deployments but useful for web-based access.
-
Remote Desktop Gateway (RD Gateway):
Secures remote connections over HTTPS (RDP encapsulated in TLS) so that users can connect through a firewall safely. Again, useful in production but sometimes omitted in lab environments.
4. Remote Desktop Protocol (RDP) Stack
-
RDP Protocol:
The backbone of remote access. RDP carries:
- Display Data: Renders the user’s desktop on the client device.
- Input Data: Transfers keyboard/mouse inputs from the client to the host.
- Peripheral Redirection: Provides audio, clipboard, printer, and USB redirection so that local devices can be used in the remote session.
-
Security Enhancements:
Use of encryption, Network Level Authentication (NLA), and possibly multi-factor authentication (MFA) in production setups to secure the RDP connection.
5. Management, Policies, and User Profile Services
-
Active Directory (AD):
Generally, user authentication and authorization are managed via AD. Even on a single machine, you might have a local AD DS (Directory Services) installation or connect to an external one.
-
Group Policy Objects (GPOs):
To ensure consistent configuration and security settings across the desktop sessions.
-
User Profile Management:
Depending on your needs, solutions like Roaming Profiles or FSLogix may be deployed to manage user settings and data across sessions.
-
Monitoring and Logging:
Tools such as Windows Event Logs, System Center, or third-party monitoring solutions help track session performance, resource usage, and potential security events.
6. Workflow Overview
- User Initiation: The user connects using an RDP client (or via the RD Web Access portal).
- Authentication: Credentials are verified (typically against AD).
- Connection Assignment: The RD Connection Broker assigns the user to their existing session or creates a new VM/session on the host.
- Session Delivery: The RDP protocol establishes a secure channel to the session, delivering the desktop’s graphics and accepting user inputs.
- Session Management: The host OS, through the RDS roles, manages resources, maintains logs, and applies policies as needed.
Summary
In a combined (one-box) VDI/RDP stack, all roles—from the hypervisor to the RDS components and management services—are installed on a single physical server. This consolidated setup might look like:
- Hardware → Hypervisor (or virtualization role via Windows Server) → Virtual Desktop Guest Images (with VDI Agent) → RDSH/Connection Broker/Web Access/Gateway → User RDP Clients
This compact architecture is excellent for testing, labs, or small deployments, but remember that scalability and security considerations usually drive organizations to separate these roles in production environments.
This should give you a solid overview of what a typical VDI/RDP stack looks like in a “single machine” scenario.