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)