Skip to content

OCI Policy Requirements

Oracle Cloud Infrastructure user/group policy requirements

Coriolis allows users to choose two compartments when migrating to OCI: the main compartment where the Migrated/Replicated VMs’ resources will be created, as well as a VCN compartment from which the user can choose the VCNs the migrated VM(s) should connect to.

This results in the necessity of setting appropriate permissions for the OCI user/group Coriolis is using for each chosen compartment.

If the user chooses the same compartment for both options, all permissions should be set for the said compartment. Additional permission might be required based on new OCI features or migration-specific features.

The tables below describe the minimum required permissions for each compartment:

Main Compartment
Action (Verb)OCI Resource TypeRequired for
inspectcompartmentsListing main and VCN compartment options.
manageinstance-imagesListing and using official and custom images, but also creating the all-zero images, in case they are not available in the OCI region.
manageinstancesCreating and terminating temporary minion machines that handle disk transfers, as well as creating the final Migrated VM.
managevolumesCreating, cloning, and deleting transferred VM volumes.
inspectvnic-attachmentsChecking minion machines’ IP addresses, as well as attaching existing security groups to VMs.
managevolume-attachmentsAttaching and detaching volumes to the temporary minion machines performing the transfer, as well as the final Migrated VMs.
manageboot-volume-backupsCreating and deleting Replica boot volume backups when cloning Replica boot volumes.
managevolume-backupsCreating and deleting volume backups for each Replica data disk when cloning Replica disks.
managebucketsCreating the bucket in which to store the all-zero qcow image.
manageobjectsUploading the all-zero qcow image to the bucket.
manageobjectstorage-namespacesGetting object storage namespace of a compartment.
usededicated-vm-hostsListing and creating final VMs inside the selected dedicated VM host.
VCN Compartment
Action (Verb)OCI Resource TypeRequired for
managevcnsListing VCNs and creating Network Security Groups for minion machines.
usesubnetsListing subnets, creating and terminating temporary minion machines, creating and deleting Network Security Groups for the minion machines, creating migrated VMs, and attaching secondary VNICs to migrated VMs.
managenetwork-security-groupsCreating and deleting Network Security Groups and adding them to the temporary minion machines, as well as to the final Migrated VMs.
usevnicsCreating and deleting minion machines, creating and deleting Network Security Groups for the minion machines, creating migrated VMs, and attaching secondary VNICs to Migrated VMs.