In some scenarios, you may need to ensure that some of your Nebius AI Cloud resources do not have connectivity with the internet. For example, you may want to set up a secure zone and connect to it from a demilitarized zone (DMZ) via a jump server. To do so, you can create a subnet that cannot allocate public IP addresses. Resources in such a subnet can only have private IP addresses.Documentation Index
Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
Use this file to discover all available pages before exploring further.
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.