Allows to store, retrieve, access and back up any amount of data at any time from anywhere over the internet.
We can access it via
• AWS Console
• AWS CLI
• AWS SDK
Logically it is a container to store data.
First, we need to create a bucket to save the data in S3.
Once an S3 bucket is created then no other S3 bucket with the same name can be created in any AWS account.
S3 Bucket Folder
• Used to group and organize files.
• Doesn’t use hierarchy to organize files.
S3 Object
• Object can be your file, document, image, video, etc. etc. • Max. object size in a single file that S3 allows = 5 terabytes.
• If you have data above 5 Terabytes, then split the data into multiple parts and use multipart upload.
• S3 Object versioning: Keeping multiple variants of a single object.
• Storage Class: Classes are different levels of Storage with different costs. How frequently you use your data is the basic pillar of choosing the class.
• Bucket Policy & object Access Control List: We can create permissions to limit who can access or see your object.
• If a Bucket is not public and you are trying to access this bucket via Public URL, then you won’t be able to access this bucket.
Availability – mentioned in the previous note.
Durability – Long-term data protection.
- Data should not be lost or corrupted in the long run.
S3 Data Replications - If you upload your data in a Region “YF”, then S3 will replicate this data across all the Availability Zone within the same region “YF”.
Storage Class Is built to provide the lowest cost storage for different storage patterns.
I. S3-Standard
Used for general-purpose storage data.
Used for frequently accessed data.
Offers high durability, availability, and performance.
Designed for 99.99% Available and Durable.
Gives you low latency and high throughput.
Sustain 2 failures. That means if your 2 AZ is down, your data is still safe.
Used for – Cloud applications, dynamic websites, content distribution, Mobile and gaming applications, and big data analytics.
II. S3-Standard Infrequent Access
When you access your data occasionally but whenever you access your data it should be highly available.
99.9% A & D.
Data stored in at least 3 AZs.
Cheaper than S3-Standard.
Here, we pay for the per GB retrieval charge.
Ideal for long-term storage, backup, and disaster recovery.
Resilient to failure of entire Availability Zones.
III. One Zone-Infrequent Access ( S3 One-Zone-IA)
Data is stored in a single availability zone.
Low latency + High throughput
Cheaper than Infrequent access.
Ideal for Customers who want cheaper costs for infrequently accessed data but have no desire for resilience, or availability.
Good for storing secondary backup copies of data that can easily be created again.
IV. S3 Intelligent-Tiering
Comes with inbuilt intelligence.
Objects will be moving automatically from one Storage class to another based on their access pattern.
Highly cost-optimized storage class.
Must pay only small monthly monitoring and auto-tiering charge.
Resilient to failure of Entire AZs.
V. Glacier
The cheapest Storage Class.
Supports for long-term retention & digital preservation for data accessed only 1 or 2 times a year only.
Ideal for highly regulated industries like financial services, Healthcare etc. Etc.
99.9% A & D across the multiple AZs.
3 Types of Glaciers based on different access patterns.
Glacier Instant Retrieval
Glacier Flexible Retrieval
Glacier Deep Archive.