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 Managed Service for YDB
  • Getting started
    • All tutorials
    • Deploying a web application
    • Connecting to YDB from a Yandex Cloud Functions Python function
    • Connecting to a YDB database from a Yandex Cloud Functions Node.js function
    • Building a skill for Alice and a website with authorization
    • Migrating a database from Yandex Managed Service for MySQL® using Yandex Data Transfer
    • Delivering data from YDB to Yandex Managed Service for Apache Kafka® using Yandex Data Transfer
    • Delivering data from YDB to Yandex Data Streams using Yandex Data Transfer
    • Loading data from Yandex Object Storage to YDB using Yandex Data Transfer
    • Loading data from YDB to Yandex Object Storage using Yandex Data Transfer
    • Loading data from YDB to Yandex Managed Service for ClickHouse® using Yandex Data Transfer
    • Migrating data from Yandex Managed Service for OpenSearch to YDB using Yandex Data Transfer
    • Building a CI/CD pipeline in GitLab with serverless products
    • Delivering data from Yandex Managed Service for PostgreSQL to Yandex Managed Service for YDB using Yandex Data Transfer
    • Streaming Yandex Cloud Postbox events to Yandex Data Streams and analyzing them using Yandex DataLens
    • Delivering data from Yandex Managed Service for Apache Kafka® to Data Streams using Yandex Data Transfer
    • Delivering data from Yandex Managed Service for Apache Kafka® using Yandex Data Transfer
    • Saving a data stream from Data Streams to Managed Service for ClickHouse®
    • Delivering data from a Data Streams queue to Managed Service for Apache Kafka® using Data Transfer
    • Delivering data from a Data Streams queue to Managed Service for YDB using Data Transfer
    • MySQL® change data capture and delivery to YDS
    • PostgreSQL change data capture and delivery to YDS
    • Interactive debugging of functions in Cloud Functions
    • Locking Terraform states using Managed Service for YDB
    • Developing a custom integration in API Gateway
    • Developing CRUD APIs for a movie service
    • Building an interactive serverless application using WebSocket
      • Overview
      • Management console
      • Terraform
    • Yandex Cloud Postbox integration with external systems via webhooks
  • Access management
  • Monitoring metrics
  • Audit Trails events
  • FAQ
  • Public materials
  1. Tutorials
  2. URL shortener
  3. Overview

URL shortener

Written by
Yandex Cloud
Updated at May 29, 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 then deploy your infrastructure using the Yandex Cloud Terraform provider.

Was the article helpful?

Previous
Building an interactive serverless application using WebSocket
Next
Management console
© 2026 Direct Cursus Technology L.L.C.