Virtual Switch is very similar in how it works and performs to the modern Ethernet Switches that are found on the market.
In particular the role of the switch is to connect multiple servers (like the hubs) and at the same time see that data is directed only to a specific part of the network (as opposed to the hubs). It directs the data traffic through the MAC Addresses, by selectively forwarding the frames that are received to the right recipient. It forwards the frames to one or more transmission ports, eliminating redundant traffic, as opposed to what occurs with the HUBs, where the traffic is replicated on all the parts of the network without any exception.
In Aruba Cloud Computing a Virtual Switch can only be used to create PRIVATE networks between multiple Cloud Servers, or rather networks with interfaces that use private IP addresses. To a Virtual Switch it’s only possible to connect the network interface of the Cloud Servers to which Public IP addresses have NOT been assigned in the Aruba Cloud Computing Control Panel. On the other hand, the network interfaces to which Public IP addresses are assigned in the Aruba Cloud Computing Control Panel, are automatically connected to a single "public" Virtual Switch, and therefore to the Internet, in order to allow the traffic, which goes to and from the other Public IP addresses, to circulate.
This means that if you assign a Public IP address to a network interface from the Aruba Cloud Computing Control Panel, it will not be possible to connect that interface to a Virtual Switch, and vice versa if a network interface is connected to a Virtual Switch it will not be possible to assign it a Public IP address.