Prepare Services in the Cloud to Accept Migrated Data
Prepare your Oracle Cloud Infrastructure account to accept migrated data by creating a storage bucket to store the data and provisioning a compatible database in your region. The database version must be the same as the source database version and the patch version should be the same (or higher) than the source database.
Create a Bucket in Object Storage
Buckets are used to store and organize data. The bucket that you create will be the container for the data that's backed up to Oracle Cloud Infrastructure Object Storage.
Deploy a VM Database Cloud Topology
The Terraform code to deploy the target cloud topology is available in Oracle Cloud Infrastructure Resource Manager or GitHub. You can use the code to provision the required networking resources, a compute instance for the bastion server, and a virtual machine database system.
- Deploy the cloud resources by using Oracle Cloud Infrastructure Resource
Manager:
- Deploy the cloud resources by using the Terraform CLI:
- Go to GitHub.
- Download the code to your local computer.
- Complete the prerequisite steps in the
README
. - Apply the configuration using the Terraform CLI.
Provision a Database in Oracle Cloud Infrastructure
Provision a compatible database in Oracle Cloud Infrastructure. The database can be either a bare metal or virtual machine, but the version must be at least the same version as the source database.
The container database (CDB) or system identifier (SID) name in the cloud must be the same as the source database CDB or SID name. Depending on the type of database system and the number of nodes provisioned, it can take over an hour to provision a database system.
Before you begin, the compartment must have a Virtual Cloud Network (VCN) setup with a private subnet to provision the Database System. To access the database, you must either provision a bastion host in a public subnet in the VCN (so that it has a public IP), or you'll need direct access to the private network through VPN or Oracle Cloud Infrastructure FastConnect. Create a Security List rule on the database private subnet giving access to the database port (1521) from the public subnet CIDR block.