When launching EC2 instances, it's important to understand different storage options:
๐น Block Storage vs Object Storage:
๐ Object Storage (S3): Best for large volumes of unstructured data (e.g., images, backups).
๐ Block Storage (EBS, EC2 Instance Store): Best for transactional data and frequently accessed small files.
๐น File Storage:
๐ EFS (Elastic File System): AWS-managed network file system, scalable across instances.
๐น Elastic Block Store (EBS) Highlights:
๐ Acts like a network-attached USB drive โ uses network communication, so slight latency exists.
๐ Attach/Detach anytime โ can be attached or detached from running EC2 instances.
๐ Persistent Data โ survives even after the EC2 instance is terminated.
๐ Multiple Volumes: One EC2 instance can have multiple EBS volumes attached.
๐ AZ Bound:
๐ ๐ EBS volumes are tied to an Availability Zone (AZ).
๐ ๐ You can't attach an EBS created in us-east-1a to an instance in us-east-2a.
๐ ๐ Use Snapshots to migrate across AZs.
๐น Important Behavior:
๐ Root EBS Volume: Created with EC2 by default; has "Delete on Termination" = true (can be disabled).
๐ Additional EBS Volumes: Created manually; default "Delete on Termination" = false.
๐ Billing: Charged for provisioned storage (GBs, IOPS).
๐ If you're preparing for AWS Certified Cloud Practitioner, feel free to use my notes here Notes
Also, feel free to follow me over LinkedIn for some corporate humor ;) and tech bytes.
Top comments (0)