submodules/azure-cluster/sample¶
A basic cluster of Azure VMs and network resources to run the Genvid stack.
Content of this module
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.
-
azs (list(number))
None
-
datacenter (string)
Consul/Nomad datacenter
-
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 to use for admin servers
-
leaf_port (number)
Port that Leaf service is configured to listen on.
-
resource_group_name (string)
Specifies the value for resource group name. If empty, the generated
resource_group_name
will bebastionid-cluster
.
-
server_image_prefix (string)
Prefix of the server image.
New in version 1.27.0.
-
shared_gallery_image_version (string)
SDK Shared Image version, should be only one per Genvid SDK
-
shared_gallery_name (string)
Shared Gallery Name
-
shared_gallery_resource_group_name (string)
Shared Gallery Resource Group Name
-
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.
-
wingame_image_prefix (string)
Prefix of the wingame image.
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