Which type of AWS storage is ephemeral and is deleted when an Amazon EC2 instance is stopped or terminated?
Amazon Elastic Block Store (Amazon EBS)
Amazon EC2 instance store
Amazon Elastic File System (Amazon EFS)
Amazon S3
Explanations:
Amazon Elastic Block Store (EBS) provides persistent block storage that remains available even after an EC2 instance is stopped or terminated. EBS volumes can be detached and reattached to different instances.
Amazon EC2 instance store is ephemeral storage that is physically attached to the host machine. When the instance is stopped or terminated, the data stored in the instance store is lost. This storage is ideal for temporary data that does not need to persist beyond the life of the instance.
Amazon Elastic File System (EFS) is a scalable file storage service that persists independently of EC2 instances. Data stored in EFS remains available even after instances are stopped or terminated.
Amazon S3 is an object storage service that provides highly durable storage for data. Objects stored in S3 remain available even when the EC2 instance is stopped or terminated, making it a suitable option for long-term data storage.