Configuring a Target Asset

Configure a target asset for migration.

    1. Open the navigation menu  and select Migration & Disaster Recovery. Under Cloud Migrations, select Migrations.
    2. On the Migrations projects list page, select the active migration project for which you want to configure a target asset.
    3. On the migration project details page, select Migration plans.
    4. Select the active migration plan that has the target assets.
    5. On the migration plan details page, select Target assets.
    6. Select the target asset you want to configure.
    7. On the target asset details page, select Configure.
      The Configure target asset panel opens.
    8. Enter a display name for the target asset instance. Avoid entering confidential information.
    9. Select the compartment to create the target asset in.
    10. In the VM configuration section, select one of the following capacity types:
      • On-demand capacity: Places the target asset instance on a shared host using on-demand capacity.
      • Preemptible capacity: Places the target asset instance on a shared host using preemptible capacity.
      • Capacity reservation: Places the target asset instance on a shared host and have the count against a capacity reservation.
      • Dedicated host: Places the target asset instance on a dedicated virtual machine host.
    11. In the VM configuration section, select a shape as follows:
      • Select the Select preferred shape option.
      • Select Change shape.
      • On the Browse all shapes page, to select a different shape, select a shape name and then select Select shape.
    12. In the Network section, configure the network for the target asset instance, as required.
      • Select the VCN and subnet to which the migrated VMs are connected.
      • Specify whether to assign a public IPv4 address to the instance.
    13. In the Block volumes section, specify the block volume performance. Select Custom to modify the block volume performance.
    14. Select Submit.
    Next, you can generate a Resource Manager stack.
  • To create a target asset and configure it, use the create command.

    oci cloud-migrations target-asset create --is-excluded-from-execution yes|no --migration-plan-id migration_plan_ID --type asset_type [OPTIONS]
    The required parameters for the create command are:
    • --is-excluded-from-execution: Specifies whether an asset can be migrated.
    • --migration-plan-id: Specifies the OCID of the migration plan.
    • --type: Specifies the type of the target asset. The accepted value is, INSTANCE.

    To get all the commands for target-asset, run:

    oci cloud-migrations target-asset -h

    To get help for the create command, run:

    oci cloud-migrations target-asset create -h

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • To configure a target asset, use the CreateTargetAsset operation.