Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for Serverless Containers
    • You called a Serverless Container, but got the Code 502 Message Error during function invocation
    • Resolving the "Service account is not available" error
    • How to set up a static IP address

In this article:

  • Scenario 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 November 27, 2023
  • Scenario description
  • Solution

How to set up a static IP address

Scenario descriptionScenario description

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

SolutionSolution

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

As an alternative solution, you can use Compute Cloud. Create in it a VM instance with a static IP address, install the runtime environment for your programming language, and start executing the function code in it. We provide more details here and there.

Note

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

Read more in our documentation:

  • Linking a domain to the gateway
  • Calling a function via a gateway
  • Calling a container via a gateway

Was the article helpful?

Previous
Resolving the "Service account is not available" error
Next
All solutions for SmartCaptcha
© 2025 Direct Cursus Technology L.L.C.