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
    • 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.
Yandex Cloud Functions
  • Comparison with other Yandex Cloud services
    • Overview
    • Function
    • Invoking a function
    • Asynchronous function invocation
    • Long-lived functions
    • Function termination notifications
    • Networking
    • Mounting external resources to a function file system
    • Builder
    • Dead Letter Queue
    • Function logs
    • Backups
    • Quotas and limits
  • Tools
  • Pricing policy
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ
  1. Concepts
  2. Networking

Networking in Cloud Functions

Written by
Yandex Cloud
Updated at April 24, 2025

By default, the function is launched in the isolated IPv4 network with the enabled NAT gateway. For this reason, only public IPv4 addresses are available.

User networkUser network

If necessary, you can specify a cloud network in the function settings. In this case, the function will have access to the internet and user resources in the specified network, such as databases and VMs.

A cloud network must meet the following conditions:

  • Has subnets in all availability zones.
  • Has at least one resource with an IP address in the specified cloud network.

Note

If the network does not meet the conditions above, the service does not guarantee its operation.

If the user specifies a network in the function settings, this will create a service subnet with addresses from the 198.19.0.0/16 range for each availability zone. Once run, the function will be assigned an IP address from the respective subnet and will have access to all network resources.

Note

You can only specify a single network for functions, containers, and API gateways that reside in the same cloud.

Networking between two functions, as well as between functions and user resources, is limited:

  • Outbound connections over TCP, UDP, and ICMP are supported. For example, a function may access a Compute Cloud VM or Managed Service for YDB database in the user network.
  • Inbound connections are not supported. For example, there is no way to access internal function components over the network even if you know the IP address of its instance.

It may take longer than usual to run a new instance of the function whose settings specify the network. Regardless of the settings, any function is called only via the public API. More about function calls.

To delete the network specified in the function, delete all the functions, containers, and API gateways it was set in and wait from 15 minutes to 24 hours.

Was the article helpful?

Previous
Function termination notifications
Next
Overview
© 2025 Direct Cursus Technology L.L.C.