genvid-ami

Initial setup for Genvid Windows Game AMI

usage: genvid-ami [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}]
                  {clean,copy,output,rename,save,setup} ...

Positional Arguments

command Possible choices: clean, copy, output, rename, save, setup

Named Arguments

--loglevel

Possible choices: DEBUG, INFO, WARNING, ERROR

Set the script log level

Sub-commands:

clean

Uninstall services

genvid-ami clean [-h] cluster_id

Positional Arguments

cluster_id The cluster id.

copy

Copy an AMI across regions

genvid-ami copy [-h] [--region REGION] [--public] srcami regions [regions ...]

Positional Arguments

srcami The ID of the source AMI
regions The region to copy the AMI

Named Arguments

--region The region of the source AMI
--public

Make the new AMI public

Default: False

output

Return the output of the cluster state.

genvid-ami output [-h] cluster_id [name]

Positional Arguments

cluster_id The cluster id.
name

An optional variable name. Output everything otherwise

Default: “”

rename

Copy a Windows AMI from one prefix to another

genvid-ami rename [-h] [--region REGION] [--public] srcami dstprefix

Positional Arguments

srcami The ID of the source AMI
dstprefix The prefix of the destination AMI

Named Arguments

--region The region of the source AMI
--public

Make the new AMI public

Default: False

save

Create the game AMI

genvid-ami save [-h] [--prefix PREFIX] cluster_id

Positional Arguments

cluster_id The cluster id.

Named Arguments

--prefix

Prefix to save the AMI under.

Default: “default”

setup

Initialize a new game instance on AWS

genvid-ami setup [-h] [--az AZ] [--tfvars TFVARS] [--plan] cluster_id

Positional Arguments

cluster_id The cluster id.

Named Arguments

--az

Availability zone to use

Default: “a”

--tfvars A default .tfvars file to set the cluster.
--plan

Only plan the action

Default: False