Close

Part 1 : Backup your Amazon EC2 Instance – Would you “Stop” or “Terminate” an EC2 instance first ?

So its after business hours and you are not quite sure whether you want to “Stop” or “Terminate” your EC2
instance. Whats the difference ?

Terminating or Stopping an ec2 instance

“Stop”ping an EC2 instance:

“Stop”ping  an ec2 instance differs from “Terminate”ing an EC2 instance since you cannot restart a terminated instance. Because Amazon S3-backed AMIs can’t be stopped, they’re either running or terminated. You can stop an Amazon EBS backed instance, but not an s3-backed instance.

When the instance is stopped, you’re not charged for any instance hours, only the storage volume. Each time you transition an instance from stopped to started, Amazon charges a full instance hour, even if transitions happen multiple times within a single hour.

If you were using an “elastic IP address” with the instance, the address is automatically concealed when the instance stops. While the instance is stopped, you’re charged for the address being unmapped ( unless you remap it to another instance ).

“Terminate”ing an EC2 instance:

On the other hand, when an instance is terminated, any storage is deleted.
By default, any volumes that were created when the instance launched( the root device and any others specified in the block device mapping) are automatically deleted when the instance terminates.

However, any volumes that you attached after the instance was running are not deleted. If you detach and then re-attach a volume that was created at instance launch, it’s treated like a new volume that you attached after the launch, it will persist after instance termination and you will continue being charged for it unless you terminate it.

 

Latest stories

  • If you are in Jordan looking for app development support you should read this

    From downloading a mobile app  to visiting a brick-and-mortar store, customers today value every interaction with a brand. A great customer experience leaves a lasting impression in their minds about the happy and satisfying experience.  Winning the customer experience race Every  interaction offers  a make-or-break opportunity for a brand to either  build a loyal customer […]

  • Enhanced Efficiency & Optimized Cost of Project Development with Sweden Hybrid Model.

    Going beyond the cost factor and striving to deliver quality, innovation and flexibility to its customers across the globe, Toobler introduced a Hybrid (Onshore and Offshore) Software Development Model. Huge popularity of the hybrid model is fuelled by scores of organizations choosing to keep design and architecture phases at geographic proximity.  Driven by a customer-centric […]

  • 7 Pro Tips: Network Like a Boss at GITEX 2019

    The biggest tech show in the Middle East, North Africa & South Asia- GITEX Technology week takes place in Dubai World Trade Centre from Oct 6 – Oct 10. The opportunity to network with prospects, key decision-makers and business heads of the tech industry makes GITEX an unmissable event.  What makes the show exceptional is […]

Leave a Reply

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