Interview Prep/AWS/EC2, Auto Scaling and Load Balancing

EBS vs instance store?

BeginnerConceptEC2, Auto Scaling and Load Balancing
Answer

EBS is network-attached, persistent block storage with snapshots, detach/reattach and resize. Instance store is NVMe or HDD physically on the host: very fast and included in price, but data is lost on stop, terminate or hardware failure (it survives reboot).

Use instance store for caches, scratch space, shuffle data and replicated systems like Cassandra/Kafka brokers with replication; use EBS for anything you cannot lose.

aws All AWS questions Roadmap: AWS core services

More on EC2, Auto Scaling and Load Balancing