Please enable JavaScript.
Coggle requires JavaScript to display documents.
🌐 4.Amazon EC2 Storage - Coggle Diagram
🌐 4.Amazon EC2 Storage
🔹
EBS (Elastic Block Store)
Network Drive
– Attach to EC2 instances
Persistent Data
– Survives instance termination
AZ-Specific
– Bound to one AZ
Provisioned Capacity
– Size and IOPS defined upfront
Billing
– Charged for full provisioned capacity
Key Actions:
Attach/Detach
Resize over time
🗂️
Delete on Termination:
Root Volume
– Deleted by default
Additional Volumes
– Persist by default
Configurable via:
AWS Console or CLI
🔄
Snapshots:
Point-in-time backups
Snapshot
without detaching
(recommended to detach)
Cross-AZ/Region copies
📦
Features:
Archive Snapshots
– 75% cheaper, slow (24-72 hrs)
Recycle Bin
– Retain deleted snapshots (1 day – 1 year)
🛠️
AMI (Amazon Machine Image)
Custom EC2 Template
– Pre-configured instances
Pre-Packaged Software
– Faster boot/configuration
Region-Specific
– Can copy across regions
Sources:
Public AMI – AWS provided
Private AMI – User-created
Marketplace AMI – 3rd party/vendor
🏗️
Creation Process:
Customize an EC2 instance
Stop instance (ensure data integrity)
Build AMI (triggers snapshot)
Launch EC2 instances from AMI
🔄
EC2 Image Builder:
Automates AMI creation & maintenance
Schedule-based automation
Free Service
– Pay for underlying resources
🔹
EC2 Instance Store (Ephemeral)
Direct-Attached Storage
– Physical disk linked to EC2
High I/O Performance
– Better than EBS
Volatile Data
– Data lost if instance stops/terminates
Best For:
Buffer, cache, scratch data
Temporary files
❗
Risks:
Backup/replication is user responsibility
🔹
EFS (Elastic File System)
Managed NFS
– Attach to hundreds of instances
Multi-AZ Support
– Highly available
Scalable & Elastic
– Expensive but no capacity planning
File Sharing
– Ideal for shared file systems
🌱
EFS-IA (Infrequent Access):
92% cheaper for infrequent files
Files auto-move to IA if unused (e.g., 60 days)
Lifecycle policies manage movement
🔹
Amazon FSx (File Systems)
Third-Party High-Performance FS:
FSx for Windows
– SMB protocol, NTFS, Active Directory
FSx for Lustre
– HPC, video processing, analytics
FSx for NetApp ONTAP
– Enterprise-class storage
Use Cases:
Complex, performance-intensive workloads
🔐
Shared Responsibility Model (Storage)
AWS Responsibilities:
Hardware failures, replication, infrastructure security
User Responsibilities:
Backup, snapshots, encryption
EC2 Instance Store – Data loss management
Define lifecycle policies for EFS-IA