Set up for migration

Before you start the modernization process, you need to check whether your application component is compatible for modernization and prepare your setup for modernization.

This page describes how to prepare your source and local machines for modernization.

Set up the Linux source machine

  • Install rsync:

    • On Debian:

      sudo apt install rsync
      
    • On Fedora:

      sudo dnf install rsync
      

    Ensure that rsync is available in the PATH setting.

Set up the Linux local machine

Download Migrate to Containers CLI

Download the latest version of the Migrate to Containers CLI:

curl -O "https://m2c-cli-release.storage.googleapis.com/$(curl -s https://m2c-cli-release.storage.googleapis.com/latest)/linux/amd64/m2c"
chmod +x ./m2c

This downloads the Migrate to Containers CLI.

Check connectivity

Ensure that you can access the source machine from the local machine using either direct SSH or the gcloud compute ssh command.

Set up the Windows local machine

  • You must be able to run as administrator on the local machine.
  • Install Docker.

Download Migrate to Containers CLI

To download Migrate to Containers CLI on a Windows machine, perform the following steps:

cmd

  1. Find the latest version of Migrate to Containers CLI:

    curl -s https://m2c-cli-release.storage.googleapis.com/latest
    
  2. Download the latest version of Migrate to Containers CLI:

    curl -O "https://m2c-cli-release.storage.googleapis.com/VERSION/windows/amd64/m2c.exe"
    

    Replace VERSION with the latest version of Migrate to Containers CLI.

PowerShell

  • Download the latest version of Migrate to Containers CLI:

    curl.exe -O https://m2c-cli-release.storage.googleapis.com/$(curl.exe -s https://m2c-cli-release.storage.googleapis.com/latest)/windows/amd64/m2c.exe
    

What's next