Reserving a static public IP address
Written by
You can reserve a static public IP address to use for accessing cloud resources later.
Note
Pay attention to the pricing policy for inactive static public IPs.
Management console
CLI
To reserve a static public IP address:
- Go to the page of the folder where you want to reserve an IP and select Virtual Private Cloud.
- Select IP addresses.
- Click Reserve address.
- In the window that opens, select the availability zone where you want to reserve the address.
- Click Reserve address.
If you don't have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To reserve a static public IP address:
-
See the description of the CLI reserve address command:
yc vpc address create --help
-
Reserve the address by specifying the availability zone:
yc vpc address create --external-ipv4 zone=ru-central1-a
Execution result:
id: e9b6un9gkso6stdh6b3p folder_id: b1g7gvsi89m34pipa3ke created_at: "2021-01-19T17:52:42Z" external_ipv4_address: address: 178.154.253.52 zone_id: ru-central1-a requirements: {} reserved: true
The static public IP address is reserved.