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
已提問 7 個月前檢視次數 305 次
2 個答案
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
已回答 2 個月前
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

已回答 6 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南