S3 Doesn't Have Folders!

The S3 folder delusion

When you AWS console you can create folders to group objects but this is just a delusion deliberately created by AWS to simplify the usage. In reality, S3 has a flat structure and all the objects are on the same level. Here’s the excerpt from AWS documentation that states this fact:

In Amazon S3, buckets and objects are the primary resources, 
where objects are stored in buckets. Amazon S3 has a flat 
structure with no hierarchy like you would see in a typical 
file system. However, for the sake of organizational 
simplicity, the Amazon S3 console supports the folder 
concept as a means of grouping objects. Amazon S3 does 
this by using key name prefixes for objects.

So essentially AWS is just smart enough to recognize the standard folder notation we’ve been using for ages to make this things easier for us.

All about S3 objects.

Comments

Popular posts from this blog

Recursively Delete files of the Same Name in S3

Python - datetime Formatting

ORACLE RDS granting select privileges to users.