Skip to main content
Ports
Last update:

Ports

A port is a virtual network card to which a mapping of MAC address and IP address is assigned. An IP address is assigned to a port within the subnet in which the port is located.

Ports are used to connect devices to private subnets, global router subnets, and public subnets. If a port is disconnected from a device, it will also be disconnected from a subnet. A private subnet cannot be deleted if it has at least one port.

You can work with ports in control panels with OpenStack CLI or Terraform.

In cloud networks, service ports are automatically created and management is not available:

Add a port to a subnet

Add a port to a private subnet or global router subnet

  1. В control panels go to Cloud platformNetwork.

  2. Open the tab Private networks.

  3. Open the network page → tab Ports.

  4. Click Add a port.

  5. Select a subnet.

  6. Enter the IP address of the port.

  7. Click Add a port.

Add a port to a public subnet

  1. В control panels go to Cloud platformNetwork.

  2. Open the tab Public networks.

  3. Open the subnet card → tab Ports.

  4. Click Add a port.

  5. Select a subnet.

  6. Enter the IP address of the port.

  7. Click Add a port.

Add a cloud server or Managed Kubernetes cluster node to the subnet via port

A cloud server can be added to a private subnet, a global router subnet, or a public subnet after server creation. The Managed Kubernetes cluster node can be added to a private subnet or a global router subnet.

To do this, you need to add a port to the server or node.

  1. В control panels go to Cloud platformServers.
  2. Open the server page → tab Ports.
  3. Click Add a port.
  4. Select private subnet, global router subnet, or public subnet.
  5. Enter the IP address of the port.
  6. Click Add a port.

Connect a public IP address to a port on a private subnet

If a cloud server or load balancer is connected to a port on a private subnet, you can connect to the port by public IP address.

To connect a public IP address in the device sections of the control panel, use the following instructions Public IP addresses.

  1. Make sure the device is on a subnet that meets the requirements. Use the instructions to prepare the subnet Prepare a private subnet to connect a public IP address.
  2. В control panels go to Cloud platformNetwork.
  3. Open the tab Private networks.
  4. Open the network page → tab Ports.
  5. In the port card of the cloud server or load balancer, click Connect public IP.
  6. Select a public IP address.
  7. Click Connect.

Disconnect a public IP address from a port on a private subnet

To disable the public IP address in the device sections of the control panel, use the following instructions Public IP addresses.

  1. В control panels go to Cloud platformNetwork.
  2. Open the tab Private networks.
  3. Open the network page → tab Ports.
  4. In the port card of the cloud server or load balancer, next to the public IP address, click .
  5. Select Disable public IP address.
  6. Optional: If you no longer need the public IP address, check the checkbox. Delete address.
  7. Click Save.

Enable port

Enable a port on the private subnet or global router subnet

  1. В control panels go to Cloud platformNetwork.

  2. Open the tab Private networks.

  3. Open the network page → tab Ports.

  4. In the port card, enable the port.

Enable a port on a public subnet

  1. В control panels go to Cloud platformNetwork.

  2. Open the tab Public networks.

  3. Open the subnet card → tab Ports.

  4. In the port line, enable the port.

Disable the port

Disable a port on the private subnet or global router subnet

  1. В control panels go to Cloud platformNetwork.

  2. Open the tab Private networks.

  3. Open the network page → tab Ports.

  4. In the port card, disable the port.

Disable a port on a public subnet

  1. В control panels go to Cloud platformNetwork.

  2. Open the tab Public networks.

  3. Open the subnet card → tab Ports.

  4. In the port row, disable the port.

Delete port

Delete a port on a private subnet or global router subnet

  1. В control panels go to Cloud platformNetwork.

  2. Open the tab Private networks.

  3. Open the network page → tab Ports.

  4. In the port card, click .

    If the button inactive, port connected prohibition device. Remove this device and return to step 1.

    Use the instructions to remove the device:

  5. Click Delete.

Delete a port on a public subnet

  1. В control panels go to Cloud platformNetwork.

  2. Open the tab Public networks.

  3. Open the subnet card → tab Ports.

  4. On the port line, click .

  5. Click Delete.