[For AWS Beginners] A Quick Guide to Amazon S3

Hello!
I'm Inoue, the Persian cat at Beyond Shikoku office.

specificallyS3,
I'd like to give you a quick 5-minute explanation

What is the storage service [S3]?

S3 stands for "Simple Storage Service."
a cloud-based, intelligent object storage service.
In short, it's like a rental warehouse for storing data in the cloud.
Files called objects (text and images) are stored in containers called buckets.
Because data can be retrieved on an object-by-object basis, data storage can be done flexibly as needed.

■ Overview of S3

  1. Static website hosting (easily turned into a web server)
  2. S3 Select (Query function allows you to easily aggregate S3 data)
  3. Easy to scale up and down

■Features of S3

  1. Scalability
  2. Availability/durability
  3. Reliability
  4. Extensive management functions
  5. Intelligent Features

■Explanation of S3 Features
① As it is object storage, it is easy to scale up and down.
Multiple storage classes are available to suit different usage scenarios, and
it is possible to migrate automatically using lifecycle policies.
The ability to scale up and down according to usage and
the fact that you don't have to worry about capacity limits is a major advantage of object storage. ②
It boasts 99.999999999% (eleven nines) data durability, making it highly resistant to threats such as failures and errors.
S3 objects are automatically replicated and stored in at least three Availability Zones.
Therefore, even if one of them fails, it can continue to be used.
③ It has encryption functions and access management tools to protect data from attacks.
④ Various management functions such as storage class analysis and lifecycle policies are available.
Using management functions, it is possible to select a storage class that fits your actual usage.
⑤ There are functions and services to execute data queries.

Furthermore, there is no limit to the amount of data you can store.
While there is a limit of 5TB per file,
you rarely need to access more than 5TB of data frequently, so you don't need to worry about the 5TB limit.

■S3 Pricing Structure
The following five conditions will trigger charges for S3:

  1. Storage
  2. Requests and Data Retrieval
  3. Data Transfer
  4. Management and Analysis
  5. Replication

Amazon S3 Pricing

conditions Billing free
Storage You are charged based on the amount of storage you use.
The price varies depending on the storage class.
Up to 5GB of standard storage class can be used within the S3 free quota
Requests and Data Retrieval Requests include GET/PUT/POST/LIST/COPY/SELECT/DELETE, and charges are based on the number of requests You can use 20,000 GET requests, 2,000 PUT/COPY/POST/LIST requests, and 15GB of data transfer free per month for one year
Data Transfer Charges apply to sending data from S3.
Charges also apply when retrieving data stored in S3.
Charges also apply when retrieving data stored in S3 from or transferring it to another region.
If you are using Transfer Acceleration, a Transfer Acceleration fee will be added to the transfer fee.
*Note that charges vary depending on the destination region.
Uploading to (and receiving from) S3 is free.
Transfers between S3 buckets within the same region, or from S3 to other services, are also free.
Transfers to Amazon CloudFront are free, but only when transferring from S3 to CloudFront.
Management and Analysis You are charged for storage management features and analytics enabled on buckets in your account
Replication You will be charged for storage fees for the primary copy and replication PUT requests.
You will also be charged for infrequently accessed storage retrieval fees and S3 storage fees for the S3 storage class selected as the destination.

What is a storage class?

A storage classthe type of storage yourefers to
S3 offers various types of storage that you can rent.
You can change your storage class depending on your needs.
You can change your storage class manually, but you can also automate this process by setting up a lifecycle policy.

Storage Class Features
standard The most standard storage class.
Suitable for storing data such as streaming images and videos.
There are no charges for retrieving data.
Data is stored in three or more availability zones, guaranteeing 99.9% availability.
IT Based on access frequency, objects are moved between two tiers: a high-frequency access tier and a low-frequency access tier.
The decision of which tier to store an object in is monitored on a per-object basis, and the object is automatically moved accordingly.
Objects that have not been accessed for 30 consecutive days are automatically moved to the low-frequency tier.
IA (S3 Standard – IA) Compared to standard storage, storage costs are lower, but data retrieval costs are higher.
Because data is stored across three or more availability zones, disaster recovery is possible.
Therefore, even if one availability zone is completely lost, data can be recovered.
It is suitable for long-term storage, such as backups, where access is infrequent but data needs to be retrieved quickly when needed.
IA (1 Zone – IA) Compared to the standard class, storage fees are lower, but transfer fees are higher.
It is suitable for situations where access frequency is low but storage requirements are high.
However, since data is stored in only one availability zone, there is a possibility of data loss if a physical problem occurs in that region.
Therefore, although it offers low-cost storage, it is not suitable for storing data that absolutely cannot be lost.
Glacier It is suitable for data archiving and long-term backups.
Large amounts of data can be stored at a low cost.
In the case of Glacier, data is stored in a container called a "vault." Therefore, when retrieving stored data, it is necessary to perform a retrieval operation to another S3 bucket, which takes time and involves a high amount of data transfer.
Also, when retrieving data, storage charges will be incurred for both the data on Glacier and the data at the retrieval destination, so caution is necessary.
Glacier (Deep Archive) It's less expensive than Glacier.
It's useful for situations where you rarely access the data but can't delete it.
However, retrieving the data is expensive and takes a considerable amount of time.
Therefore, it's best suited for long-term storage of data that is accessed very infrequently and doesn't need to be immediately accessible when needed.

summary

S3 is like a rental warehouse in the cloud for storing data.
If you store your data in a conveniently located warehouse, you can retrieve it immediately, but the
good location comes at a cost.
If you store your data in a rental warehouse in a distant location, like Glacier,
the location is inconvenient, but the cost of storage is lower.
However, since the rental warehouse is far away, retrieving the data takes time and effort (cost).
Considering this, it seems possible to determine the storage class that is most suitable for your operations.

This was a very brief explanation of S3, but
I'd like to study more about AWS and write another blog post in the future.

Growing every day, moving forward every day.
I must update myself every single day!!!
Thank you for reading to the end.

If you found this article helpful,please give it a "Like"!
7
Loading...
7 votes, average: 1.00 / 17
7,954
X Facebook Hatena Bookmark pocket

The person who wrote this article

About the author

Ayaka Inoue

I belong to the Systems Solutions Department.
I joined Beyond as a founding member of the Shikoku office. I jumped into the IT industry with no prior experience.
As part of the training team, I create curricula and conduct training for new graduates, mid-career hires, and existing members. My
main duties are server operation and maintenance.
Above all, I value our customers' content.
I also belong to the Web Content Business Department and the YouTube team.