The storage section of the DEA-C01 course is mostly about Amazon S3, and it should be: S3 is the data lake. I've condensed my notes on S3, the new S3 Tables, and the EC2-side storage services below.
S3 in one paragraph
Buckets live in a Region. Objects are identified by a key, which is the full path, prefix included. Folders don't really exist; the console just draws slashes as folders. One object can be up to 50 TB (raised from 5 TB in late 2025), and anything over 5 GB has to use multipart upload.
One new thing since many older study guides were written: bucket names no longer have to be globally unique. Since March 2026 you can create buckets in an account regional namespace, where the name carries your account suffix and only your account can use it.
Security: who can touch the data
The rule I memorised:
Access is allowed if (IAM policy allows OR bucket policy allows) AND there's no explicit Deny.
| Scenario | Use |
|---|---|
| EC2 or Lambda reading a bucket | IAM role |
| User in the same account | IAM policy |
| Another AWS account | Bucket policy |
| Public static website | Bucket policy + turn off Block Public Access |
Keep Block Public Access on unless a bucket really is public. You can enforce it for the whole account.
Versioning and replication
Versioning is set per bucket. Overwrites create new versions, and deletes only add a delete marker, so you can undo them.
Replication (CRR across Regions, SRR within one) gotchas I expect on the exam:
- Versioning must be on in both buckets.
- Only new objects replicate. For existing or failed objects, use S3 Batch Replication.
- Deleting a specific version is never replicated (a guard against malicious deletes). Replicating delete markers is optional.
- No chaining: A → B → C does not copy A's objects to C.
- Replication Time Control guarantees 99.99% of objects replicate within 15 minutes, with CloudWatch metrics. Pick it when a question mentions a compliance SLA.
Storage classes, quickly
Every class has 11 9s durability. What changes is availability, minimum storage duration and retrieval cost.
| Pick this... | ...when the question says |
|---|---|
| Standard | Frequently accessed, analytics |
| Intelligent-Tiering | Access pattern unknown or changing (no retrieval fees) |
| Standard-IA | Rarely read but needed instantly (DR, backups) |
| One Zone-IA | Data you can recreate; cheapest instant-access option |
| Glacier Instant Retrieval | Read about once a quarter, milliseconds |
| Glacier Flexible Retrieval | Minutes to hours is fine (bulk retrieval is free) |
| Glacier Deep Archive | Long-term archive; 12–48 h retrieval; 180-day minimum |
| S3 Express One Zone | Single-digit-millisecond latency for ML/Spark in one AZ |
Lifecycle rules automate moving data between these classes. They can also expire old versions and clean up incomplete multipart uploads, and you can scope them by prefix or tag. A classic exam scenario:
Deleted objects must be recoverable instantly for 30 days, then within 48 hours for a year.
The answer: enable versioning, transition noncurrent versions to Standard-IA, then to Glacier Deep Archive.
Not sure when to transition? Storage Class Analysis gives Standard → Standard-IA recommendations after 24–48 hours.
Event notifications
S3 can send ObjectCreated and ObjectRemoved events (and others) to SNS, SQS or Lambda. Permissions come from the destination's resource policy, not an IAM role. That's what I always forget when the event silently fails to arrive.
Alternatively, route every event to EventBridge for JSON filtering, 18+ target types, archiving and replay. A typical data-engineering pattern looks like this:
s3://raw/ ── ObjectCreated ──► EventBridge rule ──► Step Functions ──► Glue job ──► s3://curated/
Performance numbers worth memorising
- 3,500 writes and 5,500 reads per second, per prefix. Spread keys across more prefixes to scale.
- Multipart upload: recommended above 100 MB, required above 5 GB.
- Transfer Acceleration: uploads enter at a nearby edge location and travel over the AWS backbone.
- Byte-range fetches: parallel downloads, or read only a file's header.
Encryption: five ways to do it
| Method | What makes it different |
|---|---|
| SSE-S3 | Default, AES-256, S3 owns the key |
| SSE-KMS | You control the key and CloudTrail audits its use, but every request calls KMS and counts against the KMS quota |
| DSSE-KMS | Two layers, for compliance rules that demand it |
| SSE-C | You send the key with every request, S3 never stores it, HTTPS required |
| Client-side | You encrypt before uploading |
To force HTTPS, use a bucket policy that denies requests where aws:SecureTransport is false:
{
"Effect": "Deny",
"Principal": "*",
"Action": "s3:*",
"Resource": ["arn:aws:s3:::my-bucket", "arn:aws:s3:::my-bucket/*"],
"Condition": { "Bool": { "aws:SecureTransport": "false" } }
}
Bucket policies are evaluated before default encryption, so a policy is how you require SSE-KMS.
Access Points give each team its own endpoint and policy (finance gets /finance/*, analytics gets read-only on everything) and can be locked to a VPC.
S3 Tables: managed Iceberg
This is the part of the section I found most interesting. S3 Tables are table buckets that store data as Apache Iceberg tables, and AWS handles compaction, snapshot cleanup and unreferenced-file removal. Iceberg brings ACID transactions, row-level deletes, schema and partition evolution, and time travel to the data lake.
Structure: table bucket → namespace (think "database") → table. Names must be lowercase or they won't integrate with Glue and Lake Formation.
In the hands-on lab I created a namespace and queried it from Athena:
CREATE TABLE `us_data`.state_population (
state string, year int, population bigint)
PARTITIONED BY (year)
TBLPROPERTIES ('table_type' = 'iceberg');
INSERT INTO us_data.state_population VALUES
('Alabama', 2023, 5117850), ('Alaska', 2023, 734654);
SELECT state, AVG(population) AS avg_population
FROM us_data.state_population
GROUP BY state
ORDER BY avg_population DESC;
Other details: S3 Tables has its own Intelligent-Tiering (Infrequent after 30 days, Archive Instant after 90, with compaction only in the Frequent tier), read-only cross-Region/cross-account replicas, and security through IAM, SCPs, Lake Formation and KMS. It never allows public access.
Storage Lens
Organization-wide dashboards for S3. The free tier has about 28 metrics with 14 days of history. Advanced (paid) adds CloudWatch publishing, prefix-level aggregation and 15 months of history. It's handy for finding buckets without versioning or stale incomplete multipart uploads.
EBS vs. EFS
| EBS | EFS | |
|---|---|---|
| What | Network block volume | Managed NFS |
| Attach | One instance (io1/io2 Multi-Attach aside) | Hundreds of instances |
| Scope | One AZ (snapshot to move) | Multi-AZ |
| OS | Any | Linux only |
| Billing | Provisioned size | Pay per use (pricier per GB) |
EBS facts: the root volume is deleted on termination by default (extra volumes aren't), and Elastic Volumes let you grow a volume or change its type without detaching it.
EFS facts: performance mode is General Purpose or Max I/O. Throughput mode is Bursting, Provisioned or Elastic (pick Elastic for unpredictable load). Lifecycle tiers are Standard, IA and Archive.
AWS Backup
One place to schedule, retain and copy backups (cross-Region and cross-account) for EBS, S3, RDS, Aurora, DynamoDB, EFS, FSx and more. Backup Vault Lock makes backups WORM, so not even root can delete them. That's the answer whenever a question mentions ransomware or "nobody can delete backups".
Key takeaways
- Explicit Deny wins. Roles for services, bucket policies for cross-account.
- Replication needs versioning, ignores existing objects unless you use Batch Replication, and doesn't chain.
- Match the storage class to the access pattern and retrieval time. Durability is identical across classes.
- Prefixes scale S3 throughput. Multipart is mandatory above 5 GB.
- SSE-KMS gives audit and control at the cost of KMS quotas. SSE-C needs HTTPS.
- S3 Tables = managed Iceberg tables. Lowercase names. Query them from Athena, EMR, Redshift or Spark.
- EFS for shared Linux file systems, EBS for single-instance disks, Backup Vault Lock for immutable backups.
Next up: Databases, covering DynamoDB in depth, RDS and Aurora, the purpose-built databases, and a lot of Redshift.
Top comments (0)