CASE STUDY

VPN Service with Temporal Orchestration

Scalable system with Telegram bot, automatic config generation, and full billing.

About the Project

Centralized VPN access management service with microservice architecture. Provides full automation of the user subscription lifecycle: from payment via Telegram bot to configuration generation (WireGuard/OpenVPN) and automatic expiration handling. Temporal orchestrator ensures reliability of all business processes.

Solution Architecture

Backend Services (Go)

Set of microservices for managing users, tariffs, servers, and locations. Implements gRPC API.


Go 1.24
gRPC
GORM
MySQL
JWT
Orchestration (Temporal)

Management of long-running transactions: subscription activation, recurrent payments, server configuration management.


Go SDK
Temporal
Distributed Transactions
Sagas
Telegram Bot Interface

Main entry point for users. Allows purchasing subscriptions, receiving configs, and managing settings.


go-telegram/bot
WebHooks
Interactive Menu

Key Features

  • Reliable Workflows

    Temporal ensures that a paid subscription is activated even in case of partial service failure.

  • Scalability

    Easy addition of new VPN servers in different locations without service interruption.

  • Full Automation

    Key generation, instruction sending, and access control without operator involvement.

50,000+ Active Tunnels


Zero-Touch Configuration


Uptime: 99.9%

Want the Same Result for Your Business?

Let's discuss your project and identify key growth points.
Discuss My Project