Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • 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
© 2026 Direct Cursus Technology L.L.C.
Yandex Virtual Private Cloud
  • Getting started
    • All guides
      • Reserving a static public IP address
      • Reserving an internal IP address
      • Converting a dynamic public IP address to static
      • Converting a static public IP address to dynamic
      • Configuring deletion protection
      • Moving an address between folders
      • Getting IP address info
      • Deleting a static public IP address
      • Deleting an internal IP address
    • Enabling a software-accelerated network
    • Chart of network connections
    • Viewing operations with resources
  • DDoS Protection
  • Access management
  • Pricing policy
  • Terraform reference
  • Metrics Monitoring
  • Audit Trails events
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. IP address
  3. Converting a dynamic public IP address to static

Converting a dynamic public IP address to static

Written by
Yandex Cloud
Updated at August 6, 2026
View in Markdown

You can convert a dynamic public IP address to static. Static public IP addresses are reserved and remain attached to respective resources when VMs and network load balancers are stopped.

Note

Make sure to check out our pricing policy for inactive static public IP addresses.

Management console
CLI
API
  1. In the management console, select the folder containing the address.
  2. Navigate to Virtual Private Cloud.
  3. In the left-hand panel, select  Public IP addresses.
  4. Click in the row with the IP address and select Make static.
  5. In the window that opens, click Change.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  1. See the description of the CLI commands for updating the address attributes:

    yc vpc address update --help
    
  2. Get a list of addresses in the default folder:

    yc vpc address list
    

    Result:

    +----------------------+------+---------------+----------+------+
    |          ID          | NAME |    ADDRESS    | RESERVED | USED |
    +----------------------+------+---------------+----------+------+
    | e2l46k8conff******** |      | 84.201.177.41 | false    | true |
    +----------------------+------+---------------+----------+------+
    

    The false value of the reserved parameter for the IP address with the e2l46k8conff******** ID shows that this address is dynamic.

  3. Convert it to static by using the --reserved=true parameter and the address ID:

    yc vpc address update --reserved=true e2l46k8conff********
    

    Result:

    id: e2l46k8conff********
    folder_id: b1g7gvsi89m3********
    created_at: "2021-01-14T09:36:46Z"
    external_ipv4_address:
      address: 84.201.177.41
      zone_id: ru-central1-a
      requirements: {}
    reserved: true
    used: true
    

    Now that the reserved parameter is true, the IP address is static.

To change the type of a public IP address from dynamic to static, use the update REST API method for the Address resource or the AddressService/Update gRPC API call, and provide the following in the request:

  • ID of the IP address you want to convert to static in the addressId parameter.

    To get the address ID, use the list REST API method for the Address resource or the AddressService/List gRPC API call and provide the folder ID in the folderId parameter for the REST API or folder_id for the gRPC API.

    To learn how to find out the folder ID, see Getting the folder ID.

  • true in the reserved parameter.

  • Name of the reserved parameter in the updateMask parameter.

Warning

The API method will assign default values to all the parameters of the object you are modifying unless you explicitly provide them in your request. To avoid this, list the settings you want to change in the updateMask parameter as a single comma-separated string.

The number of static public IP addresses is limited. If the number allowed by the quota is not enough for you, contact support to have your quota increased.

Useful linksUseful links

  • Assigning a public IP address to a VM
  • Making a VM public IP address static
  • Adding another network interface to a virtual machine

Was the article helpful?

Previous
Reserving an internal IP address
Next
Converting a static public IP address to dynamic
© 2026 Direct Cursus Technology L.L.C.