Configure AWS as a source

This document describes how to use AWS as a source for migrating VMs to Compute Engine using Migrate for Compute Engine. You perform these tasks with the Migrate for Compute Engine Manager.

For more on setting up the Migrate for Compute Engine Manager, see Configuring Migrate for Compute Engine Manager. For more on the Migrate for Compute Engine Manager role in migration, see the architecture topic.

Before proceeding, complete the prerequisites for migrations from AWS to GCP.

Define cloud credentials

You must provide IAM credentials for Migrate for Compute Engine to use AWS APIs during migration.

To define cloud credentials:

  1. Sign in to your Migrate for Compute Engine Manager as apiuser.
  2. Click the Source Cloud icon.
  3. Sign in with the credentials you created when creating the Manager.
  4. Click the Cloud Credentials tab.
  5. Click Create and select AWS from the cloud provider drop-down menu.
  6. In the Create New Credentials dialog, enter values to configure credentials:
    • Cloud provider -- Select AWS.
    • Credentials Name -- Enter a name for this credential's configuration.
    • Region -- Select the region where you want this credential created.
    • Tenant ID -- Enter your AWS tenant ID.
    • Access key -- Enter the access key for the IAM account you created earlier.
    • Secret key -- Enter the secret key you created earlier.
  7. Click OK.

Define Cloud Details for Source Cloud

Cloud Details define the specifics for the AWS environment that Migrate for Compute Engine will operate in. This includes IAM credentials, region, VPC, subnet, and security group information.

Creating a Cloud Details object for AWS migrations

If you are migrating machines from AWS, you need to create a Cloud Details object in Migrate for Compute Engine Manager for AWS. This object represents the AWS source for VMs you are migrating to Google Cloud.

To create a Cloud Details object for AWS, go to the Home screen of Migrate for Compute Engine Manager:

  1. Click the Source Cloud icon.
  2. On the Cloud Details tab, click Create.
  3. Name your Cloud Details.
  4. Use the drop-down menus to populate the remaining variables, which include:

    Parameter Description Auto-populated Drop Down
    Cloud Provider Select AWS. Yes
    Name The name of this cloud details object (Example: AWS-WEST). No
    Credentials Select the AWS account you'll be migrating VMs from. Yes
    Region Select what region this AWS environment is located in. Yes
    VPC Select what VPC this AWS environment is leveraging. Yes
    Security Group Select the security group that used to assign to the Migrate for Compute Engine worker service accounts (to perform the migrations from AWS). Yes
    Worker subnet for availability zone (1 of 2) Select the first and second subnet where the Migrate for Compute Engine worker service accounts should be created. Note: these Migrate for Compute Engine worker service accounts are deleted automatically once migration operations are complete. Yes
    Worker subnet for availability zone (2 of 2) Yes
  5. Click OK when finished. You are now ready to migrate VMs from AWS into GCP.