-
The format of the default FQDN is the following:
In this case, the FQDN (as well as the VM’s ID) is only known after the VM is created.
-
The format of a custom FQDN is the following:
You can set the hostname when you create or update a VM.
Prerequisites
- CLI
- Terraform
- Go SDK
- Python SDK
- JavaScript SDK
Install and configure the Nebius AI Cloud CLI.
How to get an FQDN
- CLI
- Go SDK
- Python SDK
- JavaScript SDK
To get an FQDN of a VM, run the following command:The FQDN is specified in the
status.network_interfaces.fqdn field of the output.How to customize an FQDN
If you do not want to use the default FQDN, you can use your own hostname instead of the VM’s ID. To customize an FQDN, use thehostname parameter:
- CLI
- Terraform
- Go SDK
- Python SDK
- JavaScript SDK
-
Create a VM with a customized FQDN:
-
Change an FQDN of an existing VM:
.).
For example, if you set hostname to my-host, the FQDN is the following:
hostname, the VM’s ID is used instead of the hostname, according to the default FQDN.