Passer au contenu

How to Clone instance EC2

0

If I clone an instance, will the new instance contain all the programs, folders, and files that the original instance has?

3 réponses
2

You can create an Amazon Machine Image (AMI) of your instance, and then use the AMI to launch instances that are identical to the original instance. Here are the instructions in the EC2 User Guide: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html

AWS

répondu il y a 3 ans

1

You can't clone an EC2 as such (at least not like you can e.g. clone a VM in vSphere), but you can take a snapshot of it, create an AMI from the snapshot, and then provision a new EC2 instance from that AMI.

This is for the system disk (or root disk), additional disks can be snapshotted and then you can choose to "Create volume from snapshot".

And yes, everything that is on the original EC2 instance will be on the new one too.

EXPERT

répondu il y a 3 ans

EXPERT

vérifié il y a 3 ans

-2

follow steps as per below article. Try in test environment first ...

https://docs.bitnami.com/aws/faq/administration/clone-server/

AWS

répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.