Day #6 : What is AWS S3?

Day #6 : AWS S3 – Part-1

AWS Simple Storage Service is a storage service as name suggest. It stores data in form of object. It is Highly scalable and provide upload, storage and download of 5 TB of size of Object.

Some use cases of S3 are websites, mobile applications, backup and restore, archive, enterprise applications, IoT devices, and big data analytics.

Amazon S3 provides easy-to-use management features so you can organize your data and configure finely-tuned access controls to meet your specific business, organizational, and compliance requirements.

Amazon S3 is designed for 99.999999999% (11 9’s) of durability, and stores data for millions of applications for companies all around the world.

Creating a Bucket through AWS Console.

While creating a bucket just remember Name should be unique and its a global accessible. You can choose Bucket Versioning, encryption and object lock.



Our bucket has been created. Now we can Upload , Move , Edit the object.

We Can define versioning, logging , lifecycle of object and encryption of the bucket

Creating Bucket Through CLI

We can create and access bucket using Cli also

aws s3api create-bucket --bucket my-bucket --region us-east-1

aws s3 ls : It will list all the bucket.

aws s3api copy-object --copy-source bucket-1/test.txt --key test.txt --bucket bucket-2 : It will copy the file in the bucket

Output:

{
    "CopyObjectResult": {
        "LastModified": "2020-07-24T01:07:25.000Z",
        "ETag": "\"589c8b79c230a6ecd5a7e1d040a9a030\""
    },
    "VersionId": "YdnYvTCVDqRRFA.NFJjy36p0hxifMlkA"
}

S3 Classes

There are different s3 classes for storage.

  • S3 Standard
  • S3 Intelligent-Tiering
  • S3 Standard Infrequent Access (IA)
  • S3 One Zone – Infrequent Access (S3 One Zone-IA)
  • S3 Glacier
  • S3 Glacier Deep Archive
Comparison between classes .
.S3
Standard
S3 Intelligent TieringS3 Standard-IAS3 One Zone-IAGlacierGlacier Deep Archive
Redundancy99.999999999%99.999999999%99.999999999%99.999999999%99.999999999%99.999999999%
Availability99.99%99.99%99.99%99.95%N/AN/A
Minimum period of storageN/A30 days30 days30 days90 days180 days
Minimum size of objectNoneNone128KB (you can have smaller objects, but you’re charged for 128K)128KB (you can have smaller objects, but you’re charged for 128K)40KB (you can have smaller objects, but you’re charged for 40K)40KB (you can have smaller objects, but you’re charged for 40K)
AccessibilityMillisecondsMillisecondsMillisecondsMillisecondsMinutes to hours depending on the retrieval methodHours
Data retrieval chargesNoneNonePer GB of the data retrievedPer GB of the data retrievedPer GB of the data retrievedPer GB of the data retrieved

Pricing

Pay only for what you use. There is no minimum fee. There are four cost components to consider when deciding on which S3 storage class best fits your data profile – storage pricing, request and data retrieval pricing, data transfer and transfer acceleration pricing, and data management features pricing.

S3 data storage costs vary according to their region. As an example, this table shows the costs of all six S3 classes in the US West (Oregon) region:

S3 Standard StoragePricing
First 50 TB/mo$0.023 per GB
Next 450 TB/mo$0.022 per GB
Over 500 TB/mo$0.021 per GB
S3 Standard-Infrequent Access (S3 Standard-IA) Storage
All storage/mo$0.0125 per GB
S3 One Zone-Infrequent Access (S3 One Zone-IA) Storage
All storage/mo$0.01 per GB
Amazon Glacier Storage
All storage/mo$0.004 per GB
S3 Intelligent-Tiering Storage, Frequent Access Tier
First 50 TB/mo$0.023 per GB
Next 450 TB/mo$0.022 per GB
Over 500 TB/mo$0.021 per GB
S3 Standard-Infrequent Access (S3 Standard-IA) Storage
All storage/mo$0.0125 per GB
S3 Intelligent-Tiering Storage
Monitoring and Automation, all storage/mo$0.0025 per 1,000 objects

To make sure you’re always looking at the current pricing for your region, refer to Amazon S3 Pricing.

Encryption

You have the following options for protecting data at rest in Amazon S3:

  • Server-Side Encryption – Request Amazon S3 to encrypt your object before saving it on disks in its data centers and then decrypt it when you download the objects. There are  server-side encryption to use—SSE-S3 or SSE-KMS.
  • Client-Side Encryption – Encrypt data client-side and upload the encrypted data to Amazon S3. In this case, you manage the encryption process, the encryption keys, and related tools.

Please leave a comment if you want to know more about it or about your likes dislikes about it. Thanks for reading.

Leave a Reply

Your email address will not be published. Required fields are marked *