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
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
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. Long-lived containers

Long-lived containers

Written by
Yandex Cloud
Updated at October 21, 2024

A long-lived container is one with a timeout of over ten minutes in its revision settings. For the maximum possible timeout value, see Limits.

Note

This feature is in the Preview stage. To get access, contact tech support or your account manager.

Forced termination of a long-lived container instanceForced termination of a long-lived container instance

In some cases, Serverless Containers may forcibly terminate a long-lived container instance processing a call before the timeout specified in the container revision settings is reached.

In such cases, the Docker image code will receive a notification about the upcoming forced termination of the container instance. Such a notification is sent to the container ten minutes before the actual forced termination.

Once the notification about the upcoming forced termination of the container instance is sent:

  • The container instance has up to ten minutes to complete processing the current calls.
  • The container instance will no longer be receiving new calls.
  • The container instance will be forcibly stopped as soon as it completes processing all the current calls or after ten minutes, whichever comes first.

Warning

If there are less than ten minutes left before the timeout specified in the container revision settings expires, no notification about the forced termination of the container instance will be sent to the Docker image code.

Was the article helpful?

Previous
Mounting external resources to a container file system
Next
Container termination notifications
Yandex project
© 2025 Yandex.Cloud LLC