Pipelines migration, move pipelines between CI/CD targets safely

In several situations, you might want to move a deployed CI/CD pipeline from one target to another one. On Elestio, you can safely move a pipeline between targets even if the pipeline contains data.

Let's consider a few situations:

In all those situations you will want to move some or all of your pipelines to another CI/CD target (new or existing one).


Move a CI/CD Pipeline to another CI/CD Target

1) From the Elestio dashboard, click on CI/CD in the left menu then click on your pipeline to open the overview.

Managed Service Dashboard (11).png

2) Click on the Move Pipeline button

Screenshot 2022-09-29 191235.png

From there you can indicate if you want to move your pipeline to new infrastructure or existing infrastructure.

If you select Existing infrastructure you have to select in the list the existing CI/CD target, for a new infrastructure you will have to indicate the Provider / Region / VM Size to create.

Managed Service Dashboard (12).png

Moving a pipeline to an existing CI/CD target is FREE. 


When you move a pipeline we are automating those operations:

  1. Do a fresh backup of your data on S3 (Backups must be activated before moving your pipeline)
  2. Shutting down the app stack of the pipeline.
  3. (New infrastructure only): Deploying a new VM that will be used as the new CI/CD target
  4. Deploy the pipeline (from source or from docker registry) on the new target
  5. Restore the latest backup we took at step one from S3
  6. Check if the pipeline is running correctly on the new target, if not cancel the operation and send a warning email
  7. Change the DNS entry to point to the new target IP address
  8. Send a confirmation email when the pipeline is restored and ready


The whole process usually takes less than 3 minutes, but it can last longer if there is a lot of data to back up/restore.


Revision #6
Created 30 July 2022 18:00:28 by Joseph Benguira
Updated 7 November 2022 12:39:54 by Amit Shukla