The following instructions explain how to set up servers using Virtual Machines set up in Google Cloud Platform (GCP). For more information, see here.
There are several other methods that you can use to set up your servers, including using Microsoft Azure (Windows Azure).
CloudM recommends setting up Virtual Machines using Google Cloud Platform when migrating to Google (and Microsoft Azure when migrating to Microsoft) to limit network traffic costs.
All CloudM Migrate secondary servers must be on the same VM network as the primary server. The default network configuration for new VM instances in GCP does not need to be modified to meet this requirement.
You will also need a GCP billing account and associated GCP project for creating VM instances and to be mindful of the associated costs.
The instructions differ at various points throughout this guide depending on the type of server being created and configured (primary or secondary), and these steps are highlighted in bold.
Creating a VM instance
- Access the Google Cloud Platform console
- Open the Google Cloud Platform project to be used for the CloudM Migrate server/s, using the dropdown icon at the top of the screen.
- Navigate to Compute Engine > VM instances
- Select CREATE INSTANCE
- Enter a name for the VM instance.
- Keep the name to less than 15 characters to avoid connection issues in multi-server environments. See Resource naming conventions.
- Standardize the naming convention for all instances, using numbering (1,2,3) or lettering (a,b,c) to help you differentiate between instances.
- Select the ‘Machine Type’ dropdown menu and then, select ‘Custom’
- In larger migrations, where numerous secondary servers will be utilized, you should change the Virtual Memory of the Primary VM from the default Custom, which has a low threshold, to 'System Managed'. This is to improve performance of the Primary Server as it communicates with the REDIS database.
- Alternatively, use the Custom machine type and set either the primary or secondary core and memory specifications from the article here.
- Select ‘Change’ in the ‘Boot disk’ section:
- On the Public Images tab, change the:
- ‘Operating system’ to ‘Windows Server’.
- ‘Version’ to ‘Windows Server 2019 Datacenter’ (or another supported version of your choice).
- ‘Size (GB)’ to ‘300’ (the combined minimum requirements for both CloudM Migrate and Windows Server).
- Select Create to create the VM instance.
Connecting to a VM instance
- Go to the VM instances screen. Under the Connect column, select the small down arrow and then Set Windows password:
- Leave the Username field as the default, and then select SET:
- Copy the password and make a note of it for later:
- Under the Connect column, select the small down arrow and then Download the RDP file:
- Using the RDP (Remote Desktop Protocol) file, establish a connection and login to the VM instance using the password noted down earlier:
- If it fails to connect, disable your local environment Windows firewall and any other network firewalls.