Deploying Unreal Engine on Google Cloud

A short tutorial describing how to set up Unreal Engine on Google Cloud

This tutorial provides you with a step-by-step guide to setting up an Unreal Engine virtual machine instance on Google Cloud using the Cloud Marketplace.

Prerequisites

Google Cloud Account and Subscription

You need access to a Google Cloud account and a project for which you have the proper permissions to create resources. For information on creating or managing projects on Google Cloud, see this guide.

While Unreal Engine is available at no cost, Google Cloud resources do have an associated cost. If your account is linked to your employer or another party, check that they are prepared to accept responsibility for the costs involved before setting up your deployment instance.

Remote Access

Accessing your Google Cloud instance where Unreal Engine is deployed requires a remote access application. We will be using Windows Remote Desktop Connection ("Windows RDP"), which already comes installed on most editions of Windows 10.

Using the Google Cloud Console and Cloud Marketplace

  1. Log into your Google Cloud account

  2. The Unreal Engine Image offer is hosted on the Cloud marketplace. Navigate to the offer page here for UE5.

    Unreal Engine in the Google Cloud marketplace

  3. Click Launch below the Unreal Engine icon.

    Launch the Unreal Engine cloud image

  4. The Unreal Engine VM configuration page opens. From here, you can configure and create the VM. You also get an estimate of the cost on the right.

    Unreal Engine VM configuration and costs

Configuring the virtual machine

  1. First, enter your deployment name.

    Enter your deployment name

  2. Select a zone to deploy in. By default, this will be us-central1-c.

    GPU availability is limited to certain zones.

    Select your deployment zone

  3. Under Machine family, the default selected machine type will be n1-standard-16, with 16 vCPUs and 60 GB memory. Selecting a machine type with a higher vCPU count can speed up some UE features like shader compiling and building lighting, but 16 vCPUs is an acceptable start.

    Default machine type

  4. Select a GPU to deploy this VM with.

    1. For the GPU type, NVIDIA Tesla T4 is selected by default. GPU options vary according to the zone you chose previously.

    2. For the Number of GPUs, only select 1. Additional GPUs will incur a substantial cost and will not be used effectively by Unreal Engine.

    3. Make sure to select Enable Virtual Workstation (NVIDIA GRID).

      Select 1 GPU and Enable Virtual Workstation

  5. For the Boot Disk, Standard Persistent Disk is selected by default. To learn more about Boot disk types on Google Cloud, click here. Feel free to increase or decrease the boot disk size, but make sure it is greater than 200 GB for the installed applications and operating system.

    Boot disk settings

  6. For Networking, the default options are sufficient, you do not need to change them.

    Networking default settings

  7. Click the checkbox to accept the GCP Marketplace Terms of Service and Epic Games Terms of Service, then click Deploy.

    Accept the terms of service then deploy the instance

  8. After you click Deploy, you are redirected to the Deployment Manager page. You can see your deployment in progress.

    Deployment in progress on the Deployment Manager page

  9. When your deployment is ready, a green checkmark confirming the successful deployment appears.

    Green checkmark indicating deployment successful

Connecting to the instance

  1. To access your VM, open the dropdown menu next to the RDP button. Select Download the RDP file, then open the downloaded .rdp file.

    Download the RDP file menu option

  2. When opening the .rdp file, you may be prompted with a warning about it having an unknown publisher. Select Don't ask me again for connections to this computer, then click Connect.

    If you cannot connect to the VM initially, wait a few minutes. It may take up to 10 minutes for the VM to be ready for connection.

    Unknown publisher connection warning

  3. Once you establish a connection, you are prompted for a username and password. Your username should already be filled out with your Google Cloud username, or you can select Use a different account and enter your credentials. You can optionally select Remember me.

    Logging in with a different account

  4. To get your password, go back to the Deployment Manager page. Open the dropdown menu next to RDP on the right side of the page, then select Set Windows password.

Select Set Windows Password

  1. You are prompted to set your new Windows password. First, you need to select your username. By default, your Google Cloud username is used. Change your username if you use something different. Once you select your username, click SET.

    Select yor username and click SET

  2. After clicking SET, you are shown your new Windows password. Copy this password to your clipboard.

    This password will not be shown again. To avoid continually resetting the password for this VM, save this in a secure location or pick a new password once you are logged into the VM.

    Copy and save your password

  3. Paste this password into the RDP credentials window, and click OK.

  4. You may get a warning about the certificate of the VM. Select Don't ask me again for connections to this computer and then select Yes.

    The warning about the certificate

Launch Unreal Engine

After a few moments, you may see a Windows boot screen at first, and then the Unreal Engine EULA shows. Select the relevant option and click Verify EULA. You only need to do this on the very first connection to the instance.

Verify the EULA

Next, you are presented with the Epic Games log-in menu. Log in with your Epic Games account.

Log in to Epic Games

Once logged in, you are presented with a desktop with Unreal Engine and the Epic Games Launcher already present. You can run Unreal Engine directly from the shortcut or run the Epic Games Launcher to login again and access content as you normally would.

Launching Unreal Engine from the Epic Games launcher

When logging into the Launcher for the first time, you may be prompted to update the launcher and to associate project files with the engine.

Cost Optimization

Due to the ongoing hourly cost of using a Google Cloud VM, we recommend stopping your instance when you are not using it.

Stopping Your VM

From the Compute Engine – VM Instances page, click the button next to your instance to open the menu and select Stop. This is similar to shutting down your home or work computer. All running applications quit, but whatever data was stored on persistent storage is preserved. Once the instance is stopped, you are no longer charged any hourly fees for its use, although you are charged a small amount to store the data on its hard drive.

Stopping your virtual machine

Restarting Your Stopped VM

From the same VM instances page, you can select Start/Resume in the same menu to restart a stopped instance. After a few minutes, the VM will be available to connect over RDP again, and any persistent storage volumes will be restored.

Start your virtual machine

Deleting Your VM

If you are completely done using the VM and want to clean up your resources, you can go back to the Deployment Manager page, select the deployment, then click Delete at the top of the page.

Delete your deployment

You are prompted to either delete the deployment and all resources or delete the deployment while keeping the resources.

Delete or keep your resources

언리얼 엔진의 이전 버전을 위해 작성된 페이지입니다. 현재 언리얼 엔진 5 버전을 위해 업데이트되지 않았습니다.