AWS EC2 Instance STOP Vs Terminate

In AWS, the EC2 ( Elastic cloud computing) instance is called a VM (Virtual Machine). Here’re the four stages of a Virtual Machine-status. Those are START, STOP, REBOOT, Terminate. Out of those, the STOP and Terminate are tricky, and many developers confuse here.

Below are the interview questions asked in major IT companies on EC2 instance.

AWS difference between STOP, Terminate Instance
Photo by Jannis Knorr on Pexels.com
Stop Vs Terminate

AWS Instance (Virtual Machine) Status

Start

This is just like starting of stopped machine. When you creating new machine, you need to select ‘Launch instance’.

Stop

Stopping the machine is like power off. The data will be available, till when you was issued STOP command.

Reboot

After a multiple attempts of STOP and START, to refresh your machine from scratch, you can issue REBOOT. During this time it shuts all the main and sub-processes and boot the machine.

Terminate

Terminate options deletes your instance permanently. You can’t start the instance. So, you need to create the new instance if you want.

Basically, STOP and Terminate both not the same. Also, while selecting these options you had better just double check.

When you issue Terminate, the instance gets deleted. You can't start that machine.

Related posts

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.