Prerequisites
-
Make sure you are in a group that has at least the
editorrole within your tenant; for example, the defaulteditorsgroup. You can check this in the Administration → IAM section of the web console. - Install and initialize the Nebius AI Cloud CLI.
-
Install jq to extract IDs and tokens from the JSON data returned by the Nebius AI Cloud CLI:
Create a subnet without public IP addresses
-
Choose a network that has at least one private pool. You can get information about available networks by using the following command:
In the output, check the
metadata.spec.ipv4_private_poolsparameter to determine whether a network has private pools. Save the ID of the required network for the next command. -
Create a subnet that does not use the network’s public pools, and save the subnet’s ID to an environment variable:
In this command, specify the subnet name and the copied network ID.
-
To check that public addresses are disabled in this subnet, try to create an allocation of a public IP address in this subnet:
This command returns an error.