Cloud resource addresses
Addresses in cloud networks can be internal or public. Both internal and public addresses are assigned to cloud resources automatically.
Internal IP addresses are assigned to resources in the selected subnet of the folder where the resource is created. These addresses are used for transmitting information between the resources within your cloud.
An internal IP address can only be used to access the resources connected to the subnets of the same cloud network. The internal IP address does not change during the entire lifetime of the cloud resource.
Public IP addresses allow cloud resources to exchange data with the internet and resources from other cloud networks. Public addresses are mapped to internal resource addresses using one-to-one NAT.
When a VM is stopped, its public IP address is released, and the next time the VM is started, it gets a new public IP address. When the VM is restarted, its public IP address is saved.
A public IP address can be made static.
Pricing for IP addresses is detailed on the page Public IP addresses of documentation for Virtual Private Cloud.
You can use a hostname to access one cloud resource from another within the same cloud network.
The hostname is either set manually or generated automatically using the VM instance ID.