Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Functions
  • Comparing with other Yandex Cloud services
    • All tutorials
      • Deploying a web application
      • Developing a custom integration
        • Overview
        • Management console
        • Terraform
      • Creating an interactive serverless application using WebSocket
      • Creating a Node.js function using TypeScript
      • Connecting to a YDB database from a Python function
      • Connecting to a YDB database from a Node.js function
      • Canary release of a function in Cloud Functions
      • Interactive debugging of functions
  • Tools
  • Pricing policy
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ
  1. Tutorials
  2. Serverless-based backend
  3. URL shortener
  4. Overview

URL shortener

Written by
Yandex Cloud
Updated at May 26, 2026

This tool accepts user requests via a public API gateway: Yandex API Gateway. The user receives an HTML page with a URL input field from a hosting service. The Yandex Cloud Functions function sends the entered URL for storage to a Yandex Managed Service for YDB serverless database, shortens it, and returns it to the user. When the user follows the shortened URL, the function retrieves the full URL from the database and performs a redirect.

You can create the infrastructure for your URL shortener using one of these tools:

  • Management console: Create your URL shortener step by step in the Yandex Cloud management console.
  • Terraform: Streamline creating and managing your resources with the infrastructure as code (IaC) approach. Download a Terraform configuration example from the GitHub repository and deploy your infrastructure using the Yandex Cloud Terraform provider.

Was the article helpful?

Previous
Developing a custom integration
Next
Management console
© 2026 Direct Cursus Technology L.L.C.