Build Your Own Private Cloud Workspace with KASM Workspaces
Learn to build your own private cloud workspace with KASM Workspaces in a few easy steps, leveraging Ubuntu Server, a custom domain, and Let's Encrypt for a secure, browser-based remote access solution.

Tired of clunky RDP/VNC? Build a private, browser-based cloud workspace at home with KASM Workspaces. Access personalized desktops and apps from anywhere, securely. This guide walks you through setup, transforming how you work remotely.
What You'll Accomplish:
- Set up KASM Workspaces on an Ubuntu VM.
- Secure your server with a custom domain and Let's Encrypt TLS certificate.
- Configure persistent user profiles to save settings and files.
- Create a versatile, private cloud workspace accessible from any device.
Why KASM Workspaces? Unlike RDP/VNC connecting to a remote machine, KASM is a remote app publishing platform. You log into a clean web portal, launching disposable environments, full desktops, or individual apps. It feels like a private launcher, not just remote access, and is free for private use.
Prerequisites and Requirements
Before starting, ensure you have:
Software/OS:
- Ubuntu Server 24.04 LTS or Debian 12: Fresh, minimal install.
- Domain Name: Registered domain with a public subdomain (e.g.,
kasm.yourdomain.com) pointing to your server's public IP. Cloudflare for DNS is recommended.
Hardware (KASM server):
- CPU: Min 2 cores/2 vCPUs (4 cores/4 vCPUs recommended).
- RAM: Min 8GB (32GB+ recommended – critical for workspace performance).
- Storage: OS + 50GB min (OS + 200GB+ recommended – workspaces grow).
- Network: Local or public access (no CGNAT). A VPS is an option.
Network Configuration:
- Open Ports: Ensure these are open/forwarded to your KASM server:
22(SSH)80(HTTP - for Let's Encrypt)443(HTTPS - for KASM web interface)
Step-by-Step Installation
1. Prepare Your Ubuntu Server
Set up basic security and network configuration.
-
Update and Upgrade: bash sudo apt update && sudo apt upgrade -y
-
Install Tools and Firewall: bash sudo apt install curl ufw -y
-
Configure UFW Firewall: bash sudo ufw allow OpenSSH sudo ufw allow 80/tcp sudo ufw allow 443/tcp sudo ufw enable
2. Install KASM Workspaces
Use the KASM installer script for quick setup.
-
Download and Extract Installer: bash cd /tmp curl -O https://kasm-static-content.s3.amazonaws.com/kasm_release_1.18.1.tar.gz tar -xf kasm_release_1.18.1.tar.gz
(Check KASM docs for latest version.)
-
Run Installation Script: bash sudo bash kasm_release/install.sh
Important: Copy the default
admin@kasm.localanduser@kasm.localcredentials. Access KASM athttps://kasm.yourdomain.com. Expect a self-signed certificate warning initially.
3. Secure KASM with Let's Encrypt
Install a free TLS certificate to remove browser warnings.
-
Stop KASM Service: bash sudo /opt/kasm/1.18.1/bin/stop
(Adjust version if needed.)
-
Install Certbot and Request Certificate: bash sudo apt install certbot -y sudo certbot certonly --standalone -d kasm.ggcontentlabs.com
Replace
kasm.ggcontentlabs.comwith your subdomain. -
Replace Certificates and Start KASM: Configure KASM to use Certbot-generated certificates (e.g.,
fullchain.pem,privkey.pemfrom/etc/letsencrypt/live/your.domain/), replacing KASM's default files. bash sudo /opt/kasm/1.18.1/bin/startRefresh your browser; the warning should be gone.
4. Configure Persistent Profiles
Save your work between sessions by enabling persistent profiles.
-
Log into KASM admin panel.
-
Create Profile Storage on Server: bash sudo mkdir -p /mnt/kasm_profiles/
Ensure KASM has write permissions.
-
Configure within KASM: In the admin panel, assign
/mnt/kasm_profiles/{user_id}to workspaces for dedicated user storage.
Important Note: KASM persistent profiles are not backups. Regularly back up /mnt/kasm_profiles/ to prevent data loss.
Key Security and Maintenance Practices
Maintain your KASM server diligently.
- User Security: Create a strong new admin account, disable the default
admin@kasm.local. Enable Multi-Factor Authentication (MFA). - Regular Updates: Keep your Ubuntu server, KASM, and workspace registries updated.
- Monitor Disk Space: Workspaces consume significant disk space. Monitor regularly to prevent server failure.
Conclusion
KASM Workspaces can become a robust daily-use private cloud. While not a full PC replacement or for simple SSH, its browser-based access, HTTPS, and isolated environments are invaluable. It enables secure browsing, testing, and tool access from anywhere without exposing homelab servers to RDP/VNC risks. KASM is a highly practical self-hosted productivity project.
FAQ
Q: Do I need a super powerful server to run KASM Workspaces?
A: Not necessarily. Minimums are 2 cores/2 vCPUs and 8GB RAM, with RAM being critical for performance. Recommended specs are 4 cores/4 vCPUs and 32GB+ RAM.
Q: Are persistent profiles the same as backups for my data?
A: No. Persistent profiles save settings and files between sessions but don't protect against server failure. You must implement your own backup solution for the /mnt/kasm_profiles/ path.
Q: Why should I use KASM instead of just RDP or VNC to access my home PC?
A: KASM provides a clean, browser-based portal for launching fresh desktops or apps, reducing direct exposure of your home PC. It offers enhanced security and a more flexible, less clunky experience, especially on mobile.
Related articles
Achieve Unbreakable 3D Prints: Understanding the New Computational
Learn how a new computational model will revolutionize FFF 3D printing by solving weak interlayer bonding, leading to significantly stronger, more reliable parts with automated optimization.
Discover Krafton's New Games & Global Strategy from Gamescom 2026
Learn about Krafton's five new game announcements and their global franchise plans revealed at Gamescom 2026, covering diverse genres and innovative gameplay.
ai: Musk’s faster path to more gas turbines comes with pollution
Elon Musk's SpaceX is building a secret Texas foundry to produce gas turbine blades, aiming to accelerate AI data center power by 18 months. This addresses a critical energy bottleneck, but faces environmental backlash over pollution and health risks from gas turbines.
How to Enhance Your Plex Server: Unlock Advanced Features with 3
Discover how three powerful third-party Plex add-ons—Tautulli, Plezy, and Seerr—can unlock advanced features for your media server that even Plex Pass doesn't provide, enhancing monitoring, streaming, and content requests.
Reimagining Classic IM: Exploring Open OSCAR Server in Go
Open OSCAR Server is an open-source, Go-based instant messaging server compatible with classic AIM and ICQ clients. It enables developers and enthusiasts to self-host a private IM server, reviving the functionality of these legacy platforms. The project boasts broad client compatibility, detailed protocol implementations, and a management API for administration.
Android Auto Troubleshooting: Your Go-To Fix Guide
Quick Verdict: Your Essential Guide to a Smooth Ride Android Auto, when it works, seamlessly integrates your smartphone into your car's infotainment system, putting navigation, messages, and media right at your





