Back

A secure doorto the officein any browser

Terralink lets company staff reach their work computers straight from the browser, with nothing to install. We built the platform from the ground up: the research, the interface, the architecture and the code. It runs on Next.js, Laravel and Apache Guacamole, on a multi-tier architecture on AWS.

Client
Terralink
Scope
UX/UI design, system architecture, development
Timeline
Nov 2024–Jun 2025, ongoing
Stack
Next.js, Laravel, Apache Guacamole, AWS
A Windows desktop open in the browser, next to a panel with the connection picker and a shared drive

Someone opens their work computer in a browser tab. No VPN client, no desktop app, nothing to install. And the company sees and controls every connection.

Terralink screens laid out as a mosaic: two-factor sign-in, the connections list, the admin panel and file transfer in a session

Context

A remote desktop that opens in a browser tab

Terralink lets a company's staff and contractors open a work computer straight in their browser. Someone signs in, picks a machine and works on a Windows desktop over RDP as if they were sitting in front of it.

Remote access raises the stakes, so the business needs security and oversight along with it. We built the platform from the ground up, from the research and the interface to the architecture and the code, and we are still building on it.

The brief

Client
Terralink
Users
Company staff and contractors
Access
Windows desktop over RDP, in the browser
Model
Many companies on one platform
Scope
UX/UI design, system architecture, development
Timeline
November 2024–June 2025, ongoing

Core

Apache Guacamole inside, a real product around it

At the centre of Terralink sits Apache Guacamole, an open gateway that turns remote-desktop protocols into a stream a browser can render. A Java servlet takes the browser connection, while a native daemon called guacd speaks RDP to the machine on the other end.

Guacamole does the hard translation. Our job was to build the product around it, the part that makes it a tool for a business rather than a lab experiment.

  • The account and company structure
  • Security and oversight
  • Dashboards and the everyday experience
A remote Windows session in the browser with the connection panel and a file window on the desktop

Session

A desktop that stops feeling remote

A remote desktop is only useful if it stops feeling remote. So the session carries what people expect from the computer in front of them.

The file browser in a remote session with folders, files and upload progress
  • A shared clipboard

    Copy and paste works between the user's own computer and the remote session.

  • Files over SFTP

    File transfer inside the session, with whole folders you can pull down as a zip.

  • Printing at home

    Hit print inside the remote Windows session and the dialog opens on your own computer, on your own printer.

Details like that are the difference between a demo and a tool people are happy to use all day.

Control

Three tiers of control and full oversight

Letting people into machines from anywhere raises the stakes, so security was never an afterthought. Terralink is multi-tenant, and control sits in three layers.

  1. 01

    From the platform owner down to the user

    The global administrator sets up companies and watches over the whole system. Each company has its own administrator, who runs its users, connections and permissions. A user reaches only what they have been granted.

    The user list in the admin panel with enrolment status and an actions menu
  2. 02

    Active sessions under control

    Administrators can watch active sessions and end any of them, and the user is told when an administrator has closed theirs. Overdue sessions close themselves at a set hour.

    The list of active sessions with an option to end selected ones, next to a live session
  3. 03

    Every connection in the logs

    Connections are logged, filterable and exportable. Scheduled email reports arrive in an administrator's inbox on their own. The system tells a real logout apart from a dropped connection, so the records stay honest.

    Connection logs with the dialog for setting up a recurring email report
  4. 04

    Sign-in with a second factor

    Sign-in is protected with two-factor authentication over TOTP, with password expiry and geo-fencing available on top. Onboarding a company comes with enrolment tracking and mandatory documents, and removing one means typing its name first.

    The user menu with connection history, clearing the TOTP secret and resending the enrolment invitation

Architecture

The architecture in three phases

Remote desktops are heavy work, and the load is lumpy: a quiet morning can turn into fifty people connecting at once. So the architecture splits the work up and lets each part scale on its own.

01Phase 1

Where it started

The first version of the architecture: the diagram we designed the platform around at the start of the project.

Architecture diagram, phase 1: a firewall, a load balancer and auto-scaling groups across three availability zones

02Phase 2

The platform takes shape

How the first version evolved during the build: the browser connects to the Guacamole tunnel, which checks session access, while Next.js talks to the Laravel backend.

Architecture diagram, phase 2: browser, Guacamole tunnel, guacd, the Laravel backend, Redis and PostgreSQL

03Phase 3

The final layout, optimised for cost

Phase 2 carried too many load balancers. In the final layout we also improved how the backend (API) and frontend tier and the Guacamole and servlet tier scale together.

Architecture diagram, phase 3: the Guacamole service in an auto-scaling group, the Terralink service with Next.js and Laravel, Redis and PostgreSQL

Load tests

We load-tested the part that had to hold

The riskiest piece of a system like this is the tunnel itself: the servlet and guacd carry every keystroke and every frame between the browser and the machine.

So before launch we pushed the tunnelling layer until we knew how it behaved under real load, rather than finding out in production. A good deal of why connections stay smooth on a busy day traces back to that work.

  • Tested before launch
  • The tunnel checked under real load
  • Smooth connections at peak
CloudWatch metrics: CPU utilisation of three instances during a load test

Under the hood

A lot of moving parts, deliberately

The platform has to stay quick and steady when everyone piles on at nine in the morning. These are the decisions that make that happen.

  • Every tier scales on its own

    Traffic arrives through a firewall and a load balancer, then fans out to independent auto-scaling groups. One runs the Next.js frontend and the Laravel API, another runs Guacamole with the servlet and guacd. The Windows terminal servers sit in their own groups and scale separately from everything else.

  • Data and sessions in their place

    PostgreSQL holds the accounts, the connections and the session history. Redis keeps sessions, tokens and cache in memory. A dedicated network load balancer spreads RDP traffic across the terminal servers, backed by shared file storage, an S3 bucket and an Active Directory domain controller.

  • Connection tokens instead of credentials

    The gateway that handles the desktop is a separate service from the Laravel backend that knows who the user is. When a signed-in user asks to connect, the backend issues a short-lived UUID token for that one session, and Guacamole honours it. The user never touches a credential for the target machine.

Platform stack

Next.js
Next.js
Laravel
Laravel
PostgreSQL
PostgreSQL
Redis
Redis
AWS
AWS

Timeline

Delivered in June 2025, still evolving

We delivered the platform between November 2024 and June 2025 and are still building on it.

  1. Nov 2024

    Kick-off and the first version of the architecture, the one we designed the platform around.

  2. Nov 2024–Jun 2025

    Development and the architecture in three phases.

  3. Feb 2025

    The first deployment to AWS and load tests of the tunnel, the servlet and guacd, before launch.

  4. Jun 2025

    The platform is delivered: remote access from the browser for many companies.

  5. Today

    We are working on remote streaming and the way users are handled in the dashboard.

Results

What came out of it

8

monthsfrom kick-off to a delivered platform (November 2024–June 2025)

3availability zones
where every tier of the platform scales on its own

Terralink turns any browser into a secure door to the office. The company has remote access its people find simple and its administrators can genuinely control, on an architecture built to stay fast as it grows.

Their level of courage and problem-solving mindset was impressive.

Prakhar Jalan

CEO at Terralink Cloud Solutions

Let's talk about your project idea!

Tell us about your project. We’ll help you plan the architecture, scope, and execution.

Get in touch

© Webalize 2026