Creating Migration Prerequisites

Describes the steps to create Oracle Cloud Migrations prerequisites.

Using the Console

  1. Open the navigation menu  and select Migration & Disaster Recovery. Under Cloud Migrations, select Overview.
  2. On the Overview page, select the compartment where you want to create the Resource Manager stack.
  3. Select Create prerequisites. If you have an existing prerequisites stack, or if you don't see Create prerequisites, follow the instructions at Updating the Prerequisites to update the stack to the latest version.
  4. In the Create stack window, in the Stack information section, perform the following actions:
    • Select the Oracle terms of use checkbox.
    • (Optional) Change the stack name.
    • (Optional) Enter the stack description.
    • (Optional) Select the compartment where you want to create the stack.
    • (Optional) Select the latest Terraform version.
    • (Optional) Add tags to organize the resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option (you can apply tags later) or ask the administrator.
  5. Select Next.
  6. In the Configure variables section, provide the following details:
    Field name Required Default Description
    Migration Root Compartment Yes preset

    The parent compartment where migration prerequisite resources is created. Defaults to the current compartment.

    Resources created in this compartment include:

    - Migration and MigrationSecrets child compartments

    - KMS vault/key

    - Object Storage bucket (if Create New Replication Bucket is checked)

    - compartment-level IAM resources (other IAM resources required by OCM services are always created in the tenancy root compartment. See Primary Prerequisite Stack).

    Primary Prerequisite Stack Yes true If this is an initial on-boarding to Oracle Cloud Migrations, select this option to create all migration prerequisite resources, including IAM resources the OCM services require (tags, groups, and policies). Clear this checkbox only if the required IAM resources are already being managed by another Resource Manager stack (the Primary Prerequisite Stack). If you already have a primary stack, clear this checkbox to create compartment-level resources for a specific migration only.
    VMware VM Migrations No false Select this option to create the required IAM resources to enable VMware VM migrations. If this checkbox is cleared, you must manually create the necessary IAM resources before you can start a VMware migration. See VMware Migration Service Policies for details.
    AWS EC2 Migrations No false Select this option to create the required IAM resources to enable AWS EC2 migrations. If this checkbox is cleared, you must manually create the necessary IAM resources before you can start an AWS migration. See AWS Migration Service Policies for details.
    Replication Bucket Name Yes ocm_migration Enter the name of the Object Storage bucket used for snapshot/replication data transfer.
    Create New Replication Bucket No true Clear this checkbox to use an existing Object Storage bucket for replication snapshots. If this option is selected, a new Object Storage bucket is created with the name specified in the Replication Bucket Name field in the Migration child compartment created by this stack (not the same as Migration Root Compartment).
    Migration Service User Groups No false Select this option to create operator and administrator groups and policies that allow users in your tenancy to use and manage migration resources. If this checkbox is cleared, you must manually create the groups and policies before users in your tenancy can start a migration. See VMware Migration User Policies and AWS Migration User Policies for details.
    Enable Remote Agent Appliance logging No false Select this option to create the IAM resources that allow Remote Agent Appliances to upload logs to the OCB service log bucket. If this checkbox is cleared, the OCB service team can't access Remote Agent Appliance logs which can impede troubleshooting.
    Oracle Cloud Bridge service tenancy No preset Specifies the OCID of the Oracle Cloud Bridge service tenancy. This is required if Remote Agent Appliance logging is enabled.
    Enable Hydration Agent logging No false Select this option to create the IAM resources that allow Hydration Agents to upload logs to the OCM service log bucket. If this checkbox is cleared, the OCM service team can't access Hydration Agent logs which can impede troubleshooting.
    Oracle Cloud Migrations service tenancy No preset The OCID of the Oracle Cloud Migrations service tenancy. This is required if Hydration Agent logging is enabled.
  7. Select Next.
  8. In the Review section, review the information you entered, optionally clear the Run apply checkbox and select Create.
  9. After the stack is created, you can plan and apply the stack.