Configuring a Target Asset

In Oracle Cloud Migrations, learn how to configure a target asset for migration.

Using the Console

The initial target asset configuration is generated by the selected recommendation strategy. However, you can re-define each of the target asset parameters.

Perform the following steps:

  1. Open the Oracle Cloud Console navigation menu and click Migration. Under Cloud Migrations, click Migrations.
  2. Click the active migration project name link for which you want to configure a target asset.
    You are redirected to the Migration project details page.
  3. Under Migration plans, click the active migration plan name link that has the target assets.
    The Migration plan details page displays details about the migration plan.
  4. Under Resources, click Target assets.
  5. Under Target assets, click the name of an active target asset to view detailed information.
  6. To configure a target asset, click Configure. Perform the following steps for an asset in the Configure target asset dialog box:
    1. Configure the capacity type for the target asset instance. Select one of the following:
      1. On-demand capacity: Places the target asset instance on a shared host using on-demand capacity.
      2. Preemptible capacity: Places the target asset instance on a shared host using preemptible capacity.
      3. Capacity reservation: Places the target asset instance on a shared host and have the count against a capacity reservation.
      4. Dedicated host: Places the target asset instance on a dedicated virtual machine host.

      To know more about the capacity types of target asset instances, see Capacity types.

    2. Configure the shape for the target asset instance. Perform the following steps:
      1. Under Shape, click Select preferred shape.
      2. Click Change shape.
      3. To select a different shape, select a Shape name and then click Select shape.
    3. Configure the network for the target asset instance, as required. Perform the following steps:
      1. Choose a VCN in target compartment. This value specifies the VCN to which the migrated VMs are connected.
      2. Choose a Subnet in target compartment. This value specifies the subnet to which the migrated VMs are connected.
    4. Configure the block volumes for the target asset instance, as required.
      Select Custom if you want to modify the block volume performance. To understand and know about customizing block volume performance, see Block volume performance.
    5. Click Configure.
Next, you can generate a Resource Manager stack.

Using the CLI

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 Command Line Reference.