NineLabNineLab.ru
CasesPrices
Contacts
CASE STUDY

VPN service with billing and config automation

Telegram bot, subscriptions, WireGuard/OpenVPN, and automatic access revocation — no manual provisioning.

About the Project

Centralized VPN access management on Go. Full subscription lifecycle: payment in a Telegram bot, WireGuard/OpenVPN config generation, recurring charges, and expiry handling. Background workers and idempotent jobs activate and revoke access without an operator.

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
Subscriptions & background jobs

Activation, renewals, access revocation, and config sync across nodes via queues and idempotent workers.


Go workers
Redis
MySQL
Idempotent jobs
Cron / schedulers
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 activation

    A paid subscription is driven to config delivery with retries — a partial outage does not drop the payment.

  • 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.

3,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