DEV Community

Cover image for Learning AWS Day by Day — Day 24 — S3 Introduction — Part 2
Saloni Singh
Saloni Singh

Posted on

Learning AWS Day by Day — Day 24 — S3 Introduction — Part 2

Exploring AWS !!

Day 24:

S3 Introduction — Part 2

Accessing Buckets:
Types of URLs for bucket access:

Naming Convention: should be globally unique, lowercase, (DNS naming)

Objects:
without folder → bucket → object (mybucket.s3.amazonaws.com/myobject)
with folder → bucket → folder → object (mybucket.s3.amazonaws.com/folder/object)
Objects are photos, videos, files stored inside bucket. While creating bucket a name is given and name is the ‘object key’. There cannot be any sub-bucket or sub-folder inside a bucket (however folder can be created on console, which provides a logical hierarchy only and are used as prefixes in object key)

Metadata and Storage Class:
Object Metadata: for each object S3 maintains a set of system metadata.
— Date: current time and date
— Content-length: Object sizes in bytes
— Last modified
— x-amz-side-encryption: encryption enabled or not
— x-amz-version-id: Object version
— x-amz-delete-marker: object is a delete marker in case of versioning.
— x-amz-delete-marker: Object is a delete marker in case of versioning.
— x-storage class: storage class associated with object.

Versioning: enables us to keep multiple versions of same object in one bucket. It has to enabled explicitly, each version has a version ID.
Existing objects are not overwritten i.e. new file will become newer version and it won’t replace older one.

Top comments (0)