Reducing Latency
You can reduce the latency between your different virtual machines (VMs) to use them at their best capacity.
The latency is the delay between an action and the time at which it is effective. The less latency you have, the fastest you can manage your resources.
You can reduce this latency by placing the VMs closer, you need to create them with the same account in the same Subregion. But as the Cloud is virtualized, for a single Subregion there are different physical sites. So even if the VMs are in the same Subregion they might be on physically separated. Using the same account enhances the changes of the VMs to be on the same Subregion.
You can ensure to reduce latency to a minimum by placing the VMs closer; in a same physical site. You can use tags to place your VMs in a same cluster or hypervisor.
You can also reduce latency by working in a single Subnet. By default, VMs within a same Subnet can communicate with one another without any security group rules required, thanks to firewall bypass. Firewall bypass consists in disabling security groups in order to reduce overall latency between VMs. It also prevents issues for specific protocols, like those used by Microsoft Windows. For more information, see User Data Tags Reference > Firewall Bypass. If you want to have further security between two VMs (for example, one in a DMZ and one in an internal network), you can place them in different Subnets or disable this feature.
Working in a Single Subregion or in a Single Subnet
-
In a single Subregion
You can create your VMs in the same Subregion and with the same account. For more information, see Creating VMs.
-
In a single Subnet in a Net
You can create VMs in the same Subnet. For more information about the Subnets in a Net, see Creating and Managing Subnets in Your Net.
Placing VMs Closer
On the Same Cluster
You can force your VMs to be on the same cluster using one of the following two tags:
Tag Name | Behavior | Value | Usable at boot time with user data |
---|---|---|---|
|
Distributes VMs with the same tag on the same UCS |
Free |
Yes |
|
Alias |
Free |
Yes |
For more information about how to use those tags, see Configuring a VM with User Data and OUTSCALE Tags.
If an error occurs when using osc.fcu.attract_cluster_strict
tag, use this command in the user data header at the boot of the VM following this syntax:
-----BEGIN OUTSCALE SECTION-----
tags.osc.fcu.attract_cluster_strict=myclusterofvms_1
-----END OUTSCALE SECTION-----
On the Same Hypervisor
You can force your VMs to be on the same hypervisor using one of the two following tags:
|
Tag Name | Behavior | Value | Usable at boot time with user data |
---|---|---|---|
|
Distributes VMs with the same tag on the same physical server |
Free |
Yes |
|
Alias |
Free |
Yes |
For more information about how to use those tags, see Configuring a VM with User Data and OUTSCALE Tags.
If an error occurs when using osc.fcu.attract_server_strict
tag, use this command in the user data header at the boot of the VM following this syntax:
-----BEGIN OUTSCALE SECTION-----
tags.osc.fcu.attract_server_strict=myclusterofvms_1
-----END OUTSCALE SECTION-----
Forcing an |
Security Group Isolation Within Subnets
By default, VMs within a same Subnet can communicate with one another without any security group rules required, thanks to firewall bypass. Firewall bypass consists in disabling security groups in order to reduce overall latency between VMs. It also prevents issues for specific protocols, like those used by Microsoft Windows. For more information, see User Data Tags Reference > Firewall Bypass. If you want to have further security between two VMs (for example, one in a DMZ and one in an internal network), you can place them in different Subnets or disable this feature.