Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • 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
© 2025 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for Serverless Containers
    • Resolving the `Code 502 Message Error during function invocation` error
    • Resolving the `Service account is not available` error
    • Resolving the `user container exec format error` error
    • Resolving the `No space left on device` error
    • How to set up a static IP address

In this article:

  • Case description
  • Solution
  1. Serverless Containers
  2. How to set up a static IP address

How to set up a static IP address

Written by
Yandex Cloud
Updated at December 17, 2025
  • Case description
  • Solution

How to set up a static IP address

Case descriptionCase description

You need to set up a static IP address for a function or Serverless Containers.

SolutionSolution

Assigning a static IP address to a cloud function is not supported yet. The function may run on resources with different addresses each time, so you cannot assign it a specific address.

As an alternative, you can use Yandex Compute Cloud. Create in it a VM instance with a static IP address, install the runtime environment for your programming language, and run the function code in it. For more information, see here and there.

Note

You can also use the API gateway to call the function via a custom domain.

Learn more in our guides:

  • Associating a domain with the gateway
  • Calling a function via a gateway
  • Calling a container via a gateway

Was the article helpful?

Previous
Resolving the `No space left on device` error
Next
All solutions for SmartCaptcha
© 2025 Direct Cursus Technology L.L.C.