Enabling or disabling public IP addresses for Nebius AI virtual machines (VMs)
Enabling or disabling a public address when creating a VM
Management console
CLI
On the VM creation page, under Network settings, select or deselect the Public IP checkbox.
To enable a public address, in ncp compute instance create, add nat-ip-version=ipv4
to the --network-interface
parameter. For example:
ncp compute instance create \
--network-interface subnet-name=default-eu-north1-c,nat-ip-version=ipv4 \
...
See full instructions on how to create a VM in Compute Cloud documentation.
Enabling or disabling a public address for an existing VM
Management console
CLI
On the VM overview page, under Network, click
To enable a public address, run ncp compute instance add-one-to-one-nat. For example:
ncp compute instance add-one-to-one-nat my-vm-name \
--network-interface-index 0
To disable a public address, run ncp compute instance remove-one-to-one-nat.
See full instructions on how to enable or disable a VM's public IP address in Compute Cloud documentation.