How Does Amazon S3 works?
Amazon S3 works on organizing the data into unique S3 Buckets, customizing the buckets with Acccess controls. It allows the users to store objects inside the S3 buckets with facilitating features like versioning and lifecycle management of data storage with scaling. The following are a few main features of Amazon s3:
1. Amazon S3 Buckets and Objects
Amazon S3 Bucket: Data, in S3, is stored in containers called buckets. Each bucket will have its own set of policies and configurations. This enables users to have more control over their data. Bucket Names must be unique. Can be thought of as a parent folder of data. There is a limit of 100 buckets per AWS account. But it can be increased if requested by AWS support.
Amazon S3 Objects: Fundamental entity type stored in AWS S3.You can store as many objects as you want to store. The maximum size of an AWS S3 bucket is 5TB. It consists of the following:
- Key
- Version ID
- Value
- Metadata
- Subresources
- Access control information
- Tags
2. Amazon S3 Versioning and Access Control
S3 Versioning: Versioning means always keeping a record of previously uploaded files in S3. Points to Versioning are not enabled by default. Once enabled, it is enabled for all objects in a bucket. Versioning keeps all the copies of your file, so, it adds cost for storing multiple copies of your data. For example, 10 copies of a file of size 1GB will have you charged for using 10GBs for S3 space. Versioning is helpful to prevent unintended overwrites and deletions. Objects with the same key can be stored in a bucket if versioning is enabled (since they have a unique version ID). To know more about versioning refer this article – Amazon S3 Versioning
Access control lists (ACLs): A document for verifying access to S3 buckets from outside your AWS account. An ACL is specific to each bucket. You can utilize S3 Object Ownership, an Amazon S3 bucket-level feature, to manage who owns the objects you upload to your bucket and to enable or disable ACLs.
3. Bucket policies and Life Cycles
Bucket Policies: A document for verifying the access to S3 buckets from within your AWS account, controls which services and users have what kind of access to your S3 bucket. Each bucket has its own Bucket Policies.
Lifecycle Rules: This is a cost-saving practice that can move your files to AWS Glacier (The AWS Data Archive Service) or to some other S3 storage class for cheaper storage of old data or completely delete the data after the specified time. To know more about refer this article – Amazon S3 Life Cycle Management
4. Keys and Null Objects
Keys: The key, in S3, is a unique identifier for an object in a bucket. For example in a bucket ‘ABC’ your GFG.java file is stored at javaPrograms/GFG.java then ‘javaPrograms/GFG.java’ is your object key for GFG.java.
Null Object: Version ID for objects in a bucket where versioning is suspended is null. Such objects may be referred to as null objects.List) and Other settings for managing data efficiently.
Introduction to AWS Simple Storage Service (AWS S3)
AWS offers a wide range of storage services that can be configured depending on your project requirements and use cases. AWS comes up with different types of storage services for maintaining highly confidential data, frequently accessed data, and often accessed storage data. You can choose from various storage service types such as Object Storage as a Service(Amazon S3), File Storage as a Service (Amazon EFS), Block Storage as a Service (Amazon EBS), backups, and data migration options.
Table of Content
- What is Amazon S3?
- What is Amazon S3 Used for?
- What is an Amazon S3 bucket?
- How Does Amazon S3 works?
- How To Use an Amazon S3 Bucket?
- What are the types of S3 Storage Classes?
- How to Upload and Manage Files on Amazon S3?
- How to Access Amazon S3 Bucket?
- AWS S3 Bucket Permissions
- Features of Amazon S3
- Advantages of Amazon S3
- Amazon S3 – FAQs