Virtual Machine Networking Configuration

Users can configure network settings for virtual machines using the network section of the virtual machine configuration form.

network configuration

The network form has 3 fields that can be updated.

FieldDescription
HostnameThe name used for DNS queries on the environment network.
Public NetworkThe vm's public network setting dictates if the vm can receive public traffic, can make egress calls, or has all non-environment network disabled.
PortsA list of port mappings for the virtual machine that inform the load balancer what ports this virtual machine will listen on publicly and how to route that incoming traffic internally to the virtual machine. This does not interact in any way with gateway traffic.

Understanding Ports

The port configuration available in this virtual machine network configuration is only applicable to the load balancer. For users who've decided to use the gateway service, no port mappings need be entered as the gateway simply routes to the VM itself.

If using the load balancer as a HTTP TLS termination endpoint, the best pattern for configuring the port mappings is:

  • 443:internal-port
  • 80:internal-port

This allows the load balancer to terminate the TLS connection and forward traffic to the virtual machine. It also allows the platform to automatically redirect http requests to https.