Articles on: INTEGRATIONS

Google Cloud Platform GCE Storage Integration

Cirrus Migrate Cloud provides builtin storage integration with Google Compute Engine (GCE) on Google Cloud Platform (GCP).

Scope



GCE Integration provides the following functionalities:
Automatically provision GCE Persistent Disks to VMs and identify as migration destination.
Automatically create Persistent disk snapshots to be created upon completions of each data synchronizations.
Enumerate all snapshots created.
Create new disk from selected snapshot image back to the VM for data recovery or cutover preview purposes.

Requirements



APIs


GCE Integration requires the following GCP APIs for its operations. Before setting up your integration, ensure that these APIs are already enabled in your GCP account.
Compute Engine API
Identity and Access Management (IAM) API (for user permission validation)
Cloud Resource Manager API (for user permission validation)

Authentication / Authorization


GCE Integration uses GCP's IAM Service Account for Authentication. You will need to have access to a key (json file) from the service account to enable this integration.

Permissions


Service accounts used with this integration must be granted IAM roles that have the following permissions:
iam.roles.get
resourcemanager.projects.getIamPolicy
iam.serviceAccounts.getIamPolicy
compute.diskTypes.get
compute.diskTypes.list
compute.disks.create
compute.disks.createSnapshot
compute.disks.get
compute.disks.use
compute.globalOperations.get
compute.instances.attachDisk
compute.instances.get
compute.snapshots.create
compute.snapshots.delete
compute.snapshots.get
compute.snapshots.list
compute.snapshots.useReadOnly
compute.zoneOperations.get

Access to Compute Engine Service Accounts


Service accounts used with this integration must have access to the VMs' service accounts. This is necessary because a user cannot modify an instance that is running as a specific service account.

To learn more about how to set up a new service account to use with this integration, see Creating a GCP Service Account for Cirrus Data Cloud

Usage



Enabling Integration


To enable integration, go to Cirrus Data Cloud portal and do the following:
Go to the Project you want to enable integration in.
Navigate to Integrations -> Goodies.
Under Google Cloud Platform, click Add.
Provide the integration a descriptive Name, and upload your service account's private key file under Credentials.

Upload Service Account Private Key File
Select a host to be used with this integration for connectivity verification purposes.
Click Save. If connection from the specified host to the Google Cloud Platform APIs is verified and validated, a new integration will be enabled.

Auto Allocation


Once an integration is created, during the creation of a new migration session, you can click on Auto Allocate Destination Volumes to automatically allocate new volumes from GCE.

You will be prompted to select an integration for auto allocation purposes. Select your previously created GCP Plugin.

Select Integration

Next, you can customize the GCE persistent disks to be provisioned to match the selected source volumes.

Specify Disk Types, IOPS and other settings

Click on Auto Allocate Volumes. New volumes will automatically be created, provisioned to the destination host and paired with the source volumes as migration destinations.

Auto Allocation

You can now complete the migration session creation process.

Updated on: 11/07/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!