What is the difference between Instance Store and EBS?

Some of the Amazon EC instances types provide the option of using a directly attached block-device storage. This kind of storage is known as Instance Store. In other Amazon EC2 instances, we have to attach an Elastic Block Store (EBS).

  • Persistence: The main difference between Instance Store and EBS is that in Instance Store data is not persisted for long-term use. If the Instance terminates or fails, we can lose Instance Store data.
    Any data stored in EBS is persisted for longer duration. Even if an instance fails, we can use the data stored in EBS to connect it to another EC2 instance.
  • Encryption: EBS provides a full-volume encryption of data stored in it. Whereas Instance Store is not considered good for encrypting data.

Leave a Reply

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