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.
You can make a public IP address static. For more information, see Making a VM's public IP address static.
For more information about IP address pricing, see the section Public IP addresses in the Virtual Private Cloud service documentation.
To prevent a public IP address from being reset or changed, you should make it static.
Unused static public IPs are charged separately.
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 ID.