basic/azurerm_basic_cluster

A basic but complete Azure cluster infrastructure to use with our DirectX sample.

Providers

  • azurerm

Inputs

cluster (string)

Name of your cluster

trusted_cidr (string)

CIDR to be trusted. This should at least contains the external IP for the local machine. Elsewhere, the provision and access to consul/nomad will fail.

datacenter (string)

Consul/Nomad datacenter

game_source_uri (string)

Game VHD public location

instance_encoding_count (number)

Number of internal workers to spawn

instance_encoding_type (string)

Type of Virtual Network to use for encoding servers

instance_game_count (number)

Number of game instances to spawn

instance_game_type (string)

Type of Virtual Network to use for game servers

instance_internal_count (number)

Number of internal workers to spawn

instance_internal_type (string)

Type of Virtual Network to use for internal servers

instance_public_count (number)

Number of public workers to spawn

instance_public_type (string)

Type of Virtual Network to use for public servers

instance_server_count (number)

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

instance_server_type (string)

Type of Virtual Network instance to use for admin servers

location (string)

Azure deployment location

namespace (string)

Deployment namespace that will regroup the clusters

server_source_uri (string)

Server VHD public location

shared_gallery_image_version (string)

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

shared_gallery_name (string)

Shared Galery Name

stage (string)

Deployment stage

toolbox_location (string)

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

trusted_cidrs (list(string))

None

trusted_security_groups (list(string))

A list of security groups to be trusted.

Outputs

admin_username
cloud_provider
encoding_worker_public_ips
game_gadmin_password
game_public_ips
internal_worker_public_ips
private_key_pem

Private key to access the instances

public_worker_public_ips
server_public_ips

List of server public ips