In CROC Cloud, each instance has its own address in the internal virtual network. This address is allocated automatically at creation and doesn’t change later. Instance receive private address and other network information over DHCP. Receiving an address over DHCP ensures instance operation in CROC Cloud infrastructure.
To give access to an instance from external network, a public address must be associated with it. The public address is associated not to a particular instance, but to a router, which allows for dynamic reallocation of public addresses between the instances anytime.
If a certain instance doesn’t need external access then public address may be deleted.
Allocating a new address¶
An address from the range of available public IP addresses is automatically allocated upon clicking .
If the allocated address is not in use for a long time then it will be deleted automatically. After the address is deleted, there is no guarantee that the same address will be allocated next time.
Associating an address with an instance¶
This function is available only if there is an unassociated IP address.
To associate an address with an instance, select it in the working area and click .
Select necessary parameters in the address allocation dialog window and confirm the action.
To associate several Elastic IP addresses to an instance or to create a virtual IP address which can migrate between several instances you should:
- allocate several private IP addresses;
- allocate several Elastic IP addresses;
- associate allocated public Elastic IP addresses with private IP addresses;
- assign private IP address to a network interface of an instance.
To disassociate public IP address from an instance or private IP address, click .
The button is active for addresses linked to the instance or private IP address. Afterwards, the available address can be associated again with a new instance.
Deleting an address¶
To delete the selected address, click . You can delete available addresses and addresses associated with an instance.