Can I use a disk image on a different linux device with the same OS?

0

I want to be able to copy an Amazon Linux 2 instance from my Linux academy lab servers to my personal AWS account.

They don't provide a built in way to do this but they do let me SCP files out from the instance so basically I'm hoping a work around is possible.

Is it possible to create a disk image backup from inside a Linux device so without accessing the AWS console then SCP it to an EC2 of the same instance size and type on my AWS account or a local VM and "restore" it in the VM i want to copy it to?

If that wouldn't work is there anything else that would work?

My current reason for wanting to do this is I have free tier EBS space on my AWS account and space on my local drive and theirs ec2s on Linux academy I don't want to delete but don't need often such as a Jenkins test server I configured for testing pipeline code I'm not 110% sure about and I need space on Linux academy as it's limited to 9 "units" (equivalent of 3 medium ec2s) to run non free tier servers on Linux academy.

red squirrel

Posted 2020-01-02T21:33:04.043

Reputation: 101

No answers