Deleting a static public IP address
Alert
Before deleting an address, you should release it by deleting the resource it's attached to.
You cannot restore an address after it is deleted.
Management console
CLI
To delete a static address:
- Open the Virtual Private Cloud section in the folder where you want to reserve the address.
- Go to the IP addresses tab.
- Click in the row of the address to delete.
- In the menu that opens, click Delete.
- In the window that opens, click Delete.
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 delete a static IP address:
-
See the description of the CLI delete address command:
yc vpc address delete --help
-
Get a list of addresses in the default folder:
yc vpc address list
Execution result:
+----------------------+------+----------------+----------+-------+ | ID | NAME | ADDRESS | RESERVED | USED | +----------------------+------+----------------+----------+-------+ | e9b6un9gkso6stdh6b3p | | 178.154.253.52 | true | false | +----------------------+------+----------------+----------+-------+
-
Delete the address by specifying its ID:
yc vpc address delete e9b6un9gkso6stdh6b3p