Delete a migration and source
This document describes how to delete a migration and migration sources.
Delete a migration
After you validate and test the migrated workload to ensure that it is functioning correctly, you should delete the migration. Deleting the migration frees up any resources used by the migration.
migctl
To delete a completed migration, run the following command:
migctl migration delete MIGRATION_NAME
Where MIGRATION_NAME is the name of the migration.
Console
In the Google Cloud console, go to the Migrate to Containers page.
Click the Migrations tab to display a table containing the available migrations.
For the migration to delete, click
Delete, and then select Delete migration.
Delete a migration source
After you have deleted all the migrations associated with a source, you can then delete the migration source.
migctl
To delete a migration source, run the following command:
migctl source delete SOURCE_NAME
Where SOURCE_NAME is the name of the migration source.
If you want to check the migration source status, run the following command:
migctl source status -v SOURCE_NAME
Console
- In the Google Cloud console, go to the Migrate to Containers page.
- Click Manage sources to display the list of available sources.
- For the source to delete, click Delete.
- Confirm deletion by typing the displayed text and click Delete again.
What's next
- Learn how to uninstall Migrate to Containers.