AWS S3

icon picker
Buckets, Object and Sub-resources

Amazon S3 Buckets

Buckets Overview
Definition: Buckets are containers for storing objects in S3.
Characteristics:
Flat containers without inherent hierarchy.
Hierarchical structure can be mimicked using object key names (prefixes).
Create folders only via the AWS Management Console.
Cannot create nested buckets.
Default limit of 100 buckets per account.
Unlimited objects can be stored in buckets.
Ownership and names are non-transferable.
Bucket names cannot be changed once created.
Deleting a bucket makes its name available again.
Bucket names are globally unique and part of the bucket’s URL.
Bucket Naming Rules
Length: 3 to 63 characters.
Format: Must start and end with a lowercase letter or number.
Characters: Lowercase letters, numbers, hyphens.
Structure: Series of labels separated by periods.
Restrictions: Cannot be formatted as an IP address.
URL Format
Example: https://s3-eu-west-1.amazonaws.com/<bucketname>
Regional Specificity
Region-Specific: Buckets are specific to the region they are created in.
Data Residency: Objects do not leave the region unless moved or cross-region replication is enabled.
Performance Tips
For better performance and lower latency, create buckets closer to clients.
Bucket Operations
Backup: Can backup a bucket to another bucket in a different account.
Logging: Enable logging to track bucket access.

Amazon S3 Objects

Object Overview
Definition: Objects are files stored in S3 buckets.
Identification:
Uniquely identified by a combination of service endpoint, bucket name, object key (name), and optionally, object version.
Object Permissions
Define permissions at upload or any time later using the AWS Management Console.

Sub-resources

Bucket Sub-resources
Lifecycle: Define object lifecycle policies.
Website: Configure static website hosting.
Versioning: Manage multiple versions of objects.
Access Control Lists (ACLs): Define permissions for bucket access.
Bucket Policies: Control access to the bucket.
CORS: Cross Origin Resource Sharing settings.
Logging: Enable logging for bucket activities.
Object Sub-resources
ACLs: Define access permissions for objects.
Restore: Manage restoration of archived objects.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.