Creating resources
Use the following instructions to create the resources that Oracle Cloud Infrastructure Database Migration operations depend on.
Configuring Policies
Your tenancy administrator provisions policies for OCI Database Migration resources along with the other OCI resources that are created and managed in your tenancy. The tenancy administrator can provision policies to create, manage, and use the service resources depending on your usage. To make the provision of policies for users easier, OCI Database Migration Service provides you pre-built policy templates for you to provision policies depending on the usage. See Creating a Policy for more information.
Create a compartment
If you don't already have a compartment, create a compartment in your tenancy.
For more information, see Working with Compartments.
Create a Virtual Cloud Network
Create a Virtual Cloud Network (VCN) with at least one subnet in the compartment.
The subnet must be regional, spanning all availability domains.
For more information, see VCNs and Subnets.
If you don't see your subnet listed, go back and check that it was created as a regional subnet. By default, the VCN wizard creates regional subnets.
Create or reuse an existing Database Migration user or a dynamic group
Create a user group to manage database connections, migrations, and jobs, and then add users in charge of database migrations to the group.
Take note of the group name. You will create policies for the group in Creating Resource Policies. For more information, see Managing Groups.
Create an OCI API key pair
Create an OCI API key pair if you intend to directly use the REST API, OCI Software Development Kits and Command Line Interface, or if you are installing the Database Migration agent.
Follow the instructions in Required Keys and OCIDs.
Select a data transfer medium
- Data Pump via database link
- Data Pump via object storage
- Data Pump via file storage
Currently, MySQL migrations support using the Data Pump via object storage data transfer medium.
See Creating a Bucket for details.
Make sure that the file system used for the Data Pump export directory has sufficient space to store Data Pump dump files.
Select or create a vault
Create a Vault and Create a Secret in a Vault.
Alternatively, select a vault when creating database connections. Create a key in the Master Encryption Keys to use with Database Migration. Optionally, you can create vault during database migrations.
Parent topic: Before you begin