A developer building a location-based web app in Nizhny Novgorod migrated their infrastructure to a self-hosted Supabase instance within Yandex Cloud. The move was driven by the need to comply with Russian data storage regulations and to avoid dependencies on foreign services.

The application architecture now runs on a single virtual machine with 2 vCPU and 4 GB of RAM. Static files are served via Caddy, while media content is stored in an S3-compatible Object Storage. The developer implemented security measures including restricted port access and automated nightly database backups to a separate bucket.

To handle user authentication, the developer replaced SMS-based verification with a callback system via SMS.ru, where users call a toll-free number to confirm their identity. This method is supplemented by Yandex ID to provide a more convenient login option for users.

Content moderation is performed using Yandex AI Studio. The system evaluates user-generated text, photos, and videos based on confidence scores for categories like violence, spam, and illegal content. If the model's assessment is ambiguous or fails, the content is flagged for manual review.

The developer noted that infrastructure costs for the virtual machine amount to approximately 2 850 ₽ for three weeks. Lessons learned from the project include the importance of monitoring business metrics, such as the number of pending moderation tasks, rather than relying solely on server uptime.