Creating a Cloud Environment

To use the Genvid SDK with your game, you need to have a cloud environment to run your Genvid Cluster services on. We begin with setting up your Azure account and take you through all the steps required to prepare your new environment for use.

Important

The Genvid SDK includes the necessary Terraform templates for managing your cluster on Microsoft Azure and Amazon Web Services (AWS). If you’re planning to use another cloud service-provider (Google Cloud, etc.), please contact us directly for help setting up.

The first time you configure a cluster usually takes about an hour. Once created, you can share the cluster with other users on your team.

Before You Begin

For running on Azure, you first need an Microsoft account with access to Azure activated. Please note that Genvid Technologies is not responsible for any billing on your account.

See the Azure portal for more information on setting up an account.

Sign In to Azure

Once you’ve created your Azure account, configure the Azure command-line interface (CLI) on your local machine. This will open a browser page where you will be able to authenticate yourself to allow the CLI to operate on Azure resources.

az login

See Get started with Azure CLI on the Azure website for more information.

Optional: Set Environment to Use a Specific Storage Account

By default, the Genvid SDK creates a storage account automatically when uploading images. You can override this by setting the AZURE_STORAGE_ACCOUNT environment variable from the command prompt used to run the toolbox commands. You will need to do this every time you want to run commands that interact with the Azure environment.

AZURE_STORAGE_ACCOUNT must be set to the name of the storage account you want to use. For example, if name of your storage account is genvidtechimages, AZURE_STORAGE_ACCOUNT must also be set to genvidtechimages.

Azure storage account names must:

  • be between 3 and 24 characters in length,
  • contain only numbers and lowercase letters, and
  • not be the same as another Azure storage account.

The resource group the storage account is created in is set to Genvidtech by default. You can override this by setting the AZURE_RESOURCE_GROUP environment variable from the command prompt used to run the toolbox commands. You will need to do this every time you want to run commands that interact with the Azure environment.