AMI Image of AWS EC2 Instance

0

Hello there,

I'm running an ecommerce platform using an EC2 instance on AWS, and I took an AMI image before doing changes and updates to the platform, but everything was messed up, so I want to retrieve the changes to the image I took it, can someone please explain to me and guide me to lunch the current instance using that image?

Yazeed
asked a year ago531 views
2 Answers
1

Hello,

You can restore the AMI and create a new EC2 instance. EC2 Restores are non-destructive. Restoring an AMI will create a new EC2, it will NOT delete/replace the source EC2 instance (if it still exists).

Steps on how to restore an AMI are detailed below. AWS Backup console allows you to restore with the following parameters and customizable settings :

https://docs.aws.amazon.com/prescriptive-guidance/latest/backup-recovery/restore.html#restore-ami

If you prefer to retain the same IP address as the source EC2 instance, you can follow the steps detailed below to achieve the same.

https://repost.aws/knowledge-center/backup-change-retain-ip-ec2-restore

Please note, when restoring from your AMI backup. If you have both Source and new Instance up and running. You must prevent the new instance from causing any platform-level or application-level collisions. For example, you might run into problems with domain-joined Windows instances that are running with the same SIDs and computer name.

AWS
answered 7 months ago
0

If you have made snapshots, between changes, you could restore to a point in time according the snapshot. You can create a instance from thE AMI, if you want to back before the changes

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions