Migrate ec2 AMIs across regions

Registered by Ahmed Kamal

Move ec2 ebs based AMI across different AWS reguins

Blueprint information

Status:
Not started
Approver:
Scott Moser
Priority:
Undefined
Drafter:
Ahmed Kamal
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Sprints

Whiteboard

- You need to migrate an ebs boot ami across ec2 regions
- A tool needs to be written to run from a client machine to perform the migration. The tool needs to:
- Be written in Python
- Use ec2 API bindings (most likely boto)
- Spawn two utility instances in src and dest regions
- Attach the ebs volume to the src instance
- Create a blank new volume to dest instance, attach it to dest utility instance
- create filesystem on target volume
- copy filesystem label and UUID from source volume (tune2fs or xfs_admin)
- Start copying/rsyncing data from src vol/instance to destination vol/instance
- Snapshot target volume and register as AMI
- Terminate the two EBS instances and volumes

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.