1 Answer
- Newest
- Most votes
- Most comments
2
As I understand, you are trying to export the EC2 instance and import it to EC2 again. This looks like an approach for non-AWS VMs move.
You can try just creating AMI (copy or share it if needed) and create a new EC2 instance from that AMI https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/tkv-create-ami-from-instance.html https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html
Relevant content
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 4 days ago
I actually didn't write down the main objective: I would like to have the images locally. With the images locally, if I lost my account, I could reload them into a new AWS account as disaster recovery. I have them locally now, but I can't log in once they're uploaded back to AWS.
you can use AWS Backup for creating AMIs and copy them cross-account or cross-region. This can help you protect your backups https://aws.amazon.com/getting-started/hands-on/amazon-ec2-backup-and-restore-using-aws-backup/