AWS

How to create New EC2 Instance from existing EC2 Instance with same DATA in AWS.

Sometimes we need new machine with same dependencies that are running on our prod server for test something. So we create new machine from existing machine to avoid any kind of mishappening. First of all login into your AWS account and Go to:-

Service->>Instances->>Select Running instance that we want to replicate ->> Actions ->> Image ->> Create Image

Enter Image Name & Image description for identification purpose. Also please select no reboot option. It won’t reboot our running instance before creating image. But sometimes it’s reduces the data integrity .

Than click on create image.

After that we will get pop up like below than click on marked link.

We have to wait until AMI creation in progress. It’s showing status as pending as you can see in image.

Once AMI is successfully created status will be changed to available.

Now select that AMI and click on Actions ->> Launch

After that we need to follow same steps that we are using to launch new EC2 instance in AWS.

Once we have successfully launched new EC2 from AMI then we can remove AMI to reduce unwanted charges.

Select AMI ->> Actions ->> Deregister

After that popup will prompted like below and click on Continue.

Now we have removed AMI.

ALL Done!

 

AmritMatti

I’m the owner of “DevOpsTechy.online” and been in the industry for almost 5 years. What I’ve noticed particularly about the industry is that it reacts slowly to the rapidly changing world of technology. I’ve done my best to introduce new technology into the community with the hopes that more technology can be utilized to serve our customers. I’m going to educate and at times demonstrate that technology can help businesses innovate and thrive. Throwing in a little bit of fun and entertainment couldn’t hurt right?

AmritMatti

I’m the owner of “DevOpsTechy.online” and been in the industry for almost 5 years. What I’ve noticed particularly about the industry is that it reacts slowly to the rapidly changing world of technology. I’ve done my best to introduce new technology into the community with the hopes that more technology can be utilized to serve our customers. I’m going to educate and at times demonstrate that technology can help businesses innovate and thrive. Throwing in a little bit of fun and entertainment couldn’t hurt right?

View all posts by AmritMatti →

Leave a Reply

Your email address will not be published. Required fields are marked *