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 Answers
2

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.

profile picture
EXPERT
Steve_M
answered a year ago
profile picture
EXPERT
reviewed a year ago
1

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
answered a year ago
-1

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

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

AWS
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