Pipeline templates management
The pipeline templates provide a way for users to define a list of tasks in a given order to automate migration and modernization activities. You can upload new templates or change existing templates using the pipeline templates management interface. When Cloud Migration Factory on AWS deploys, the solution loads system-managed default pipeline templates automatically.
A template task is the smallest executable unit in a template. There are three types of tasks:
-
Script package runs on the automation server - This type of task is a script that runs on the automation server using an AWS Systems Manager agent. The script package is often used to connect to the source environment, such as installing an AWS MGN agent on the source server to initiate data replication.
-
Lambda function - This type of task is a Lambda function that runs inside the solution’s AWS account. For example, a Lambda function to connect to the AWS MGN API to initiate instance cutover activities. You can use this type of task to perform actions inside a Lambda function, such as connecting to a remote API, or using other AWS services.
-
Manual task - This type of task is managed by the user, not executed by the system. For example, if a user needs to submit a request for change in their environment to change a firewall port or a task to get approval. The user would complete the task outside of the solution and change the status to complete to continue the pipeline execution.
Add a new pipeline template
This section provides instructions for adding a new pipeline template.
-
Select Automation, then select Pipeline templates.
-
Select Add.
-
Enter the Pipeline template description and Pipeline template name.
-
Choose Save to create a new template.
Duplicate an existing template
This section provides instructions for duplicating a pipeline template from an existing template and making changes to the tasks based on your requirements. By default, the solution loads system templates, which can’t be deleted.
-
Select Automation, then select Pipeline templates.
-
Select the template that you want to duplicate from the pipeline template table.
-
Select Actions, then select Duplicate.
-
Update the Pipeline Template Description and Pipeline Template Name.
-
Choose Save to create a template.
Delete a pipeline template
This section provides instructions for deleting a user managed template. You can’t delete a system default template.
-
Select Automation, then select Pipeline templates.
-
Select the template that you want to delete from the pipeline template table.
-
Choose Delete.
Export a pipeline template
This section provides instructions for exporting one or more templates to JSON format.
-
Select Automation, then select Pipeline templates.
-
Select the template that you want to export.
-
Select Actions, then select Export.
Import a pipeline template
This section provides instructions for importing a template from a JSON format. You can download an existing template, make changes, and import it to the pipeline templates as a new template.
-
Select Automation, then select Pipeline templates.
-
Select Actions, then select Import.
-
On the Import template page, select Choose File to choose the new template in JSON format. The file name for the JSON template appears on the page.
-
Choose Next.
-
The Step-2 Upload data page appears. Review the template content.
-
Choose Submit to import the template.
-
After a few seconds, a Pipeline templates imported successfully message appears.
-
Select the newly imported template, then select the Pipeline Templates tasks tab.
-
Verify the task list for the template to ensure that all the tasks are imported correctly from the template.
Add a new pipeline template task
This section provides instructions for adding a new pipeline template task.
-
Select Automation, then Pipeline templates.
-
Select one of the templates on the list, then select the Visual Task Editor tab.
-
Select Add to add a new task.
-
Enter a template task name. Select the script for this task and successors to this task.
-
Choose Save.
The following image shows an example of adding a pipeline template task.
Add pipeline task screen with Details and Audit menus.

Delete a pipeline template task
This section provides instructions for deleting a pipeline template.
-
Select Automation, then Pipeline templates.
-
Select one of the templates on the list, then select the Visual Task Editor tab.
-
From the task list map, select the task that you want to delete.
-
Choose Delete.
The following image shows an example of deleting a pipeline template task.
Add pipeline task screen with Delete button.

Editing a pipeline template
This section provides instructions for editing a pipeline template.
-
Select Automation, then Pipeline templates.
-
Select one of the templates on the list, then select the Visual Task Editor tab.
-
From the task list map, select the task that you want to edit.
-
Choose Edit.
Add pipeline task screen with Delete button.
-
On the task page, change the details of the task.
-
Choose Save.