![AWS] What are the features of S3? It is a convenient storage with many uses.](https://aws.darcy-it.com/wp-content/uploads/2021/03/2021-03-05_12h46_41.png)
目次
- 1 AWS] What are the characteristics of S3?
- 2 What is object storage?
- 3 S3, three data structures
- 4 Data update speed of S3
- 5 S3's static website hosting capabilities
- 6 About S3 Security
- 7 S3 event notification function
- 8 About Storage Class
- 9 About S3 versioning functionality
- 10 About Life Cycle Management
- 11 The Cost of S3
- 12 About Extensions
- 13 communication protocol
- 14 About Performance
- 15 security
- 16 upload function
S3 is "object storage that allows you to easily store and retrieve any amount of data you want, from anywhere.
There are various characteristics, which I will summarize in this article.
AWS] What are the characteristics of S3?
- Unlimited data storage.
- Objects can be accessed via URLs.
- Amazon S3 object size from a minimum of 0 bytes to a maximum of 5 terabytes
- No extensions such as autoscaling
- Amazon S3 charges based on data volume plus data requests
Explanation of the official AWS website
Dashboard screen
Name: Simple Strage Service
durability
Inexpensive and durable
99.99%.... Durability of
Charge
Approx. 3 yen per GB
capacity
No storage capacity limit
Maximum of 5 TB per data file
Amazon S3 can store up to 5TB of large objects and is suitable for storing unstructured BLOBs
The maximum object that can be uploaded in a single PUT operation is 5 gigabytes.
duplication
Automatic redundant data storage.
What is object storage?
- Communicate using the HTTPS protocol
- Slower read/write than other storage (EBS, EFS)
- Suitable for handling a large number of large files
- Easy to develop using API
Storage Type
- EBS: Block storage (SCSI connection)
- EFS: File storage (LAN connection)
- S3: Object storage (HTTPS connection)
S3, three data structures
Examples are shown in parentheses.
- Bucket (a folder of vertices)
- Prefix (folder)
- Object (data)
S3 bucket
Object storage location.
The name should be global and unique.
If you do not, an error will occur and you will not be able to create it.
S3 object
Data Body.
Files stored in S3.
URLs are assigned.
An unlimited number of objects can be created in a bucket.
- Key
- Object Name
- URL path for storing objects
- When an object is created, it is assigned a key.
- Uniquely identifies objects without buckets
- Value
- The data itself, consisting of byte values
- version identifier
- IDs used for version control
- metadata
- Information on attributes that are involuntary to the object
- subresource
- Provides support for storing and managing bucket configuration information
- Access Control List (ACL)
Data update speed of S3
The following consistency model is used to maintain the possibility
When writing at the same time, the timestamps are looked at and the order is switched to ensure data consistency.
- New Registration
- Consistency Read
- immediate post
- update
- Eventual Consistency Read
- Data reflection takes time
- deletion
- Eventual Consistency Read
- Data reflection takes time
S3's static website hosting capabilities
- When an object (e.g., index.html) is created in a bucket, each object is associated with an "endpoint URL".
- Add read permission to public
- Turn on the hosting feature
- Users can access the object (index.html in this case) by accessing the "endpoint URL
- Can be used for campaign landing pages, etc.
You can host a static website on Amazon S3. To scale the routing configuration for static websites, it is necessary to work with Route53: use Route53 to create an alias record and add it to the host zone of the domain, then add pintor.com and www.pintor.com to the corresponding S3 bucket Mapping. Instead of using an IP address, the alias record uses the Amazon S3 website endpoint; Amazon Route 53 maintains the mapping between the alias record and the IP address where the Amazon S3 bucket resides
Setting up a static website with a custom domain registered with Route 53
About S3 Security
S3 event notification function
https://aws.darcy-it.com/s3-ivent-alert/
About Storage Class
About S3 versioning functionality
Files can be versioned and restored even if they have been deleted
About Life Cycle Management
Files can be moved to Gladier after a specified number of days (e.g., 180 days)
Reduced maintenance costs by moving groups of files that are no longer in use
The Cost of S3
custody fee
Depends on whether it is standard or Glacier.
About Extensions
Multipart upload is a feature used for uploading large files to S3
transfer amount
Integration with AWS services between the same region: free of charge
Receiving: Free
Transmission: Charged (e.g., for online distribution of images and other videos)
Request Volume
Free: DELETE
Paid: GET/PUT/LIST/COPY, etc. depending on the number of requests
communication protocol
S3 allows you to transfer files directly to and from Amazon S3 using Secure File Transfer Protocol (SFTP)
About Performance
Simplify management of large data accesses to shared S3 data sets
An access configuration that simplifies the management of large data accesses to shared S3 data sets requires the use of S3 access points.
Amazon S3 Access Points is a feature that simplifies the management of large data accesses to shared data sets in S3.
Access points are named network endpoints attached to buckets that can be used to perform operations on S3 objects (such as GetObject and PutObject).
Each access point can have individual permissions and network controls applied by S3 to all requests through that access point.
Each access point applies a customized access point policy that works in conjunction with the bucket policy attached to the underlying bucket.
Amazon S3 Transfer Acceleration makes it fast, easy, and secure to transfer files over long distances between clients and S3 buckets.
security
VPC endpoints allow VPCs to be privately connected to AWS services and VPC endpoint services supported by AWS PrivateLink, without the need for Internet access
upload function
Multipart upload API can be used to upload large objects to S3 in several