The network is used to transfer information between cloud resources and the Internet and between the cloud resources themselves.
There are two ways to create a network:
- Go to "Networking" → "Networks" → click on "Create network".
- When creating an instance, click on the "Add a new network" button.
To create a network, you only need to specify its name.
A subnet is a range of IP addresses on a cloud network. Addresses from this range can be assigned to virtual machines. Only private IPv4 addresses can be used on subnets.
The subnet size is specified by the classless addressing (CIDR) method. Valid CIDR ranges:
- 10.0.0.0 - 10.255.255.255
- 172.16.0.0 - 172.31.255.255
- 192.168.0.0 - 192.168.255.255
The valid range of subnet mask: 16 - 24.
Subnet IP address ranges cannot overlap within the same cloud network. Because of the use of private IP addresses, traffic can be transmitted between subnets of the same network, but not subnets of different networks.
Subnets are created within the created networks.
There are two ways to create a subnet in the control panel:
- Inside the project, go to "Networking" → "Networks" → click on "Details" next to the network within which you want to create a subnet → "Create subnetwork".
- When creating an instance, click on the "Add a new subnetwork" button.
To create a subnet, specify its name, select a zone from the drop-down list and enter the subnet CIDR: specify the IP address and the subnet mask (keep in mind the restrictions mentioned above), click on "Create".
Change subnet settings
You can change the subnet name. To make changes, go to "Networking" → "Networks" → "Details" next to the network within which the subnet is created → "Edit" next to the subnet whose name you want to change → make changes and click on "Edit subnetwork".
To delete a subnet, go to "Networking" → "Networks" → "Details" next to the network within which the subnet is created → click on the arrow next to "Details" and select "Delete".
A floating IP address is a static IP address that you can bind to your virtual machine. This address allows you to access your cloud resources.
Floating IP can be obtained in two ways:
- Inside the project, go to "Networking" → "Floating IPs". You can select a virtual machine from the drop-down list and assign an IP to it. If you want to reserve an IP address without binding it to the virtual machine, click on "Add floating IP without assigning".
- When you create a virtual machine, in the "Network settings" section, select the appropriate option: create a new floating IP, use an existing one, or create a virtual machine without a floating IP.
You can see the reserved IP addresses by going to "Networking" → "Floating IP" section inside the project. On the IP list page, you can reassign them to other virtual machines or delete them.
Note that you pay for the floating IP reservation itself, regardless of whether it is bound to a virtual machine or not.
A firewall is a set of rules that govern the processing of incoming and outgoing traffic.
You can create and configure firewall rules in two ways:
- Inside the project, go to "Networking" → "Firewalls" → "Create firewall".
- When you create a virtual machine, under the "Firewall settings" section, select "Add a Firewall".
By default, we create a firewall with rules that allow incoming traffic for ICMP and SSH protocols and outgoing traffic for any other protocol. You can edit these firewall rules or create another.
The number of created firewalls does not affect the cost of the service.
If you do not specify which firewall should be applied to the virtual machine, the default firewall will be chosen.
To change the firewall settings, click on "Rules". You can read more about the firewall settings in the article "How to set up a firewall". In the "Instances" section, you can choose which machines should be under which firewall. In the same menu, there is a button for firewall removal. The default firewall cannot be removed.