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
preguntada hace 7 meses305 visualizaciones
2 Respuestas
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
respondido hace 2 meses
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

respondido hace 6 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas