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 Serverless Containers
  • Comparison with other Yandex Cloud services
    • Overview
    • Container
    • Invoking a container
    • Runtime environment
    • Networking
    • Mounting external resources to a container file system
    • Long-lived containers
    • Container termination notifications
    • Dead Letter Queue
    • Container logs
    • Backups
    • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  • FAQ
  1. Concepts
  2. Networking

Networking in Serverless Containers

Written by
Yandex Cloud
Updated at April 24, 2025

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

User networkUser network

If necessary, you can specify a cloud network in container settings. In this case, it 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 container settings, this will create a service subnet with addresses from the 198.19.0.0/16 range for each availability zone. Once run, the container 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 containers and between containers and user resources is limited:

  • Outbound connections over TCP, UDP, and ICMP are supported. For example, a container 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 the application port inside a container even if you know the IP address of a container instance.

It may take longer than usual to run a new instance of the container whose settings specify the network. Regardless of the settings, any container is only invoked via a public API. Learn more about invoking a container.

To delete the network specified in the container, 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
Runtime environment
Next
Mounting external resources to a container file system
© 2025 Direct Cursus Technology L.L.C.