DEV Community

Cover image for AWS - S3 STORAGE
Gowtham E
Gowtham E

Posted on

AWS - S3 STORAGE

AWS - S3 (Simple Storage Service)

  • Stores data as an object - object storage.
  • Unlimited Storage.
  • Stores a data in the bucket(files).
  • Objects are stored in buckets. Each bucket size is up-to 5 TB.

-S3 is a universal namespace, that is, names of the buckets must be unique globally. When you upload a file to S3, you will receive a HTTP 200 code if your upload was successful.

  • You can access the s3 data from any where in the public internet, by changing the bucket policy.
  • We can host a static web page using S3 service.

Object Store

Amazon S3 is a simple key, value store designed to store as many objects as you want. You store these objects in one or more buckets. An object consists of the following:

Key — The name that you assign to an object. You use the object key to retrieve the object.
Version ID — Within a bucket, a key and version ID uniquely identify an object
Value — The content that we are storing
Metadata — A set of name-value pairs with which you can store information regarding the object.
Subresources — Amazon S3 uses the subresource mechanism to store object-specific additional information.
Access Control Information — We can control access to the objects in Amazon S3.

Versioning

  • Versioning allows us to preserve, retrieve, and restore every version of every object stored inside an Amazon S3 bucket. Once you enable Versioning for a bucket, Amazon S3 preserves existing objects anytime you perform a PUT, POST, COPY, or DELETE operation on them.

    • When you make any change in the S3 bucket storage, new changes will be updated to the current bucket and old changes will be saved. If we want to restore to old state it's easy in S3.

S3 has the following features:

  • Tiered storage available
  • Life cycle management
  • Versioning
  • Encryption
  • Secure your data using access control lists & bucket policies.

Storage classes in S3

S3 Standard

99.99% availability
99.999999999% durability
Designed to sustain the loss of 2 facilities concurrently

S3 IA

Infrequently accessed

For data that is accessed less frequently but required rapid access when needed
Lower fee than S3, but charged a retrieval fee

S3 Onezone IA

Used when we don’t need it in multiple availability zones.
Similar to S3 IA except with respect to the availability zones

S3 Intelligent Tiering

Uses machine language.
Designated to minimize costs by automatically moving data to the most cost-effective access tier without performance impact or operational overhead.

S3 Glacier

Secure, durable, low cost for data archiving.
Usually cheaper than on-premise solutions
Retrieval times configurable from minutes to hours

S3 Glacier Deep Archive

Lowest cost storage class
Retrieval time of 12 hour

S3 Outposts

Has been introduced as a storage class to deliver object storage to on-premises AWS outpost environments.

S3 Service billing based on following :

  1. Storage
  2. Requests
  3. Storage management pricing
  4. Data transfer pricing
  5. Transfer acceleration
  6. Cross-region replication pricing

Transfer acceleration:

Enables fast, easy, secure transfer of your files over long distances between your end-users & an S3 bucket.

Cross-Region Replication:

Feature that replicates the data from one bucket to another bucket which could be in a different region.

Top comments (0)