submodules/azure-cluster/sample

A basic cluster of Azure VMs and network resources to run the Genvid stack.

Providers

  • azurerm
  • tls

Inputs

cluster (string)

Name of your cluster

location (string)

Region to deploy infrastructure

admin_password (string)

Administrative password for the game machine. That password must respect default windows password complexity.

Default: 1Genvid6!

azs (list(number))

None

datacenter (string)

Consul/Nomad datacenter

Default: default

instance_encoding_count (number)

Number of internal workers to spawn

Default: 1

instance_encoding_type (string)

Type of Virtual Network to use for encoding servers

Default: Standard_F8s_v2

instance_game_count (number)

Number of game instances to spawn

Default: 1

instance_game_type (string)

Type of Virtual Network to use for game servers

Default: Standard_NV6

instance_internal_count (number)

Number of internal workers to spawn

Default: 1

instance_internal_type (string)

Type of Virtual Network to use for internal servers

Default: Standard_B2ss

instance_public_count (number)

Number of public workers to spawn

Default: 1

instance_public_type (string)

Type of Virtual Network to use for public servers

Default: Standard_B2s

instance_server_count (number)

The number of supervisor servers. Must be an odd number. It is usually 3 for production deployment.

Default: 1

instance_server_type (string)

Type of Virtual Network to use for admin servers

Default: Standard_B2s

leaf_port (number)

Port that Leaf service is configured to listen on.

Default: 30001

resource_group_name (string)

Specifies the value for resource group name. If empty, the generated resource_group_name will be bastionid-cluster.

server_image_prefix (string)

Prefix of the server image.

New in version 1.27.0.

Default: genvidtech

shared_gallery_image_version (string)

SDK Shared Image version, should be only one per Genvid SDK

Default: 1.30.0000

shared_gallery_name (string)

Shared Gallery Name

Default: SDK

shared_gallery_resource_group_name (string)

Shared Gallery Resource Group Name

Default: Genvidtech

tags (map(string))

Tags to be applied to all cloud resources.

toolbox_location (string)

Genvid Toolbox Wheel file. Only required if you need to update the one from the AMI. An empty value indicates to not install the toolbox.

trusted_cidrs (list(string))

A list of CIDR to be trusted.

web_port (number)

Port that Web service is configured to listen on.

Default: 30000

wingame_image_prefix (string)

Prefix of the wingame image.

Default: default

Outputs

admin_username
encoding_worker_public_ips
game_admin_password
game_instance_ids
game_machine_locations
game_machine_names
game_public_ips
internal_worker_public_ips
public_ips
public_worker_public_ips
server_public_ips
tls_private_key
virtual_network_name

The name assigned to the internal virtual network resource