/
Migrating Roost Controlplane

Migrating Roost Controlplane

There are few scenarios when you may need to migrate existing Roost setup like

  • Team size has changed and control-plane needs to be right-sized

  • Availability issues related to the current region/zone

 

One will need to identify the EBS volume associated with Roost Controlplane. And then plan for a approximately 2 hour downtime.

  1. Establish SSH session to the controlplane

  2. Bring down the Roost services

    sudo docker-compose /var/tmp/Roost/docker-compose.yaml down
  3. Take EBS snapshot using AWS dashboard (EC2 Service, Volumes)

  4. Unmount the EBS volume

    sudo umount /var/tmp/Roost
  5. Detach the volume (EC2 Service, Volumes)

  6. Launch the new EC2 instance

  7. Attach the same volume to this new EC2 instance (the volume and EC2 have to be in the same availability zone)

    sudo mkdir /var/tmp/Roost sudo chown `id -u`:`id -g` /var/tmp/Roost sudo mount /dev/nvme1n1 /var/tmp/Roost
  8. Run the Roost Controlplane

<< Update Roost Control Plane

 

Related content

8. Start Roost Control Plane Server
8. Start Roost Control Plane Server
More like this
7. Roost Control Plane Setup
7. Roost Control Plane Setup
More like this
Update Roost Control Plane
Update Roost Control Plane
More like this
Roost on a single instance - uses docker-compose
Roost on a single instance - uses docker-compose
More like this
Roost Cluster Pipeline Script
Roost Cluster Pipeline Script
More like this