AWS → part 11 → S3 (Simple Storage Service )

Aakib
4 min readMay 6, 2023

#75daysofaws

It is a kind of “bucket” in which we store any amount of data and access it through any web broswer if it is public

Importants points you need to know →

  1. S3 is a storage for Internet has a simple web services interface for a simple web services and retrieving of any amount of data anytime from anywhere on the Internet.
  2. It is object based storage
  3. You cannot install operating system in S3
  4. S3 has a Distributed data store architecture where multiple object radiantly stored in multiple location have 3 copies of storage in different AZ
  5. Data is stored in Bucket →It is a flat container of objects
  6. You don't be able to create bucket in bucket means you can’t create nested bucket
  7. Max Capacity is 5 TB
  8. You can create Folder in a bucket Available through console
  9. Bucket Ownership is non Transferable means who created the bucket is only able to change the bucket permission
  10. It is region Specific means it is created in a particular region
  11. You can create Upto 100 buckets per account (may expand on requests)

S3 bucket Naming rules →

  1. S3 Bucket names are globally unique across all AWS regions.
  2. Bucket name can’t be changed after creation
  3. If a bucket is deleted ,its name becomes available again
  4. Min →3 and max →63 characters long
  5. Bucket Names are a part of URL Used to access bucket
  6. “my-example-bucket-us-west-2” In this example, “my-example-bucket” is the bucket name, and “us-west-2” represents the AWS region (in this case, US West-2).
  7. bucket name Contain lower case number and hypen Cannot use upper case letter.
  8. Bucket name should not be an IP address (10.10.20.20)
  9. Each lable must be start or end with lowercase letter or not start or end with hypen
  10. By defalult bucket and its objects are private only owner can access the bucket

S3 sub Resourses →

  1. lifecycle →It is moving of data from costliest storage to cheaper S3 storage types discussed later
  2. Website →Used for hosting a static website
  3. Versioning → S3 versioning is a feature provided by Amazon Simple Storage Service (S3) that allows you to keep multiple versions of an object (file) within an S3 bucket.
  4. Access control List → It defines bucket policies and security

What is S3 Objects →

In the context of Amazon Simple Storage Service (S3), an object refers to a file or piece of data that you store within an S3 bucket. It can be any type of file, such as a text document, image, video, or even a database backup.

Here are some key points to understand about S3 objects:

  1. Unique Identifier: Each object in S3 has a unique identifier called the “object key.” The object key is like a file path or name that you use to identify and retrieve the object. For example, if you upload an image file called “my-picture.jpg” to an S3 bucket, “my-picture.jpg” becomes the object key for that object.
  2. Content and Metadata: An S3 object consists of two main parts: the content and the metadata. The content represents the actual data of the object, such as the contents of a text file or the binary data of an image. Metadata provides additional information about the object, such as its size, creation date, file type, and custom-defined properties.
  3. Access and Permissions: S3 objects can have various access permissions, allowing you to control who can read, write, or modify the objects. You can set permissions at both the bucket level and the individual object level, granting access to specific AWS accounts or making objects publicly accessible.
  4. Versioning: As mentioned earlier, you can enable versioning for your S3 bucket, which allows you to store multiple versions of an object. Each version of an object is treated as a separate object with its own unique identifier. This feature helps in preserving previous versions and provides protection against accidental deletions or modifications.
  5. Storage Classes: S3 offers different storage classes that determine the cost, durability, and accessibility of your objects. The storage classes include Standard, Intelligent-Tiering, Standard-IA (Infrequent Access), One Zone-IA, Glacier, and Glacier Deep Archive. You can choose the appropriate storage class based on your specific requirements for access frequency and cost optimization.

S3 objects are the fundamental entities within an S3 bucket, allowing you to store, organize, and retrieve your data easily. They provide flexibility, scalability, and durability for storing a wide variety of files and serve as the building blocks for many applications and services hosted on AWS.

--

--

Aakib

Cloud computing and DevOps Engineer and to be as a fresher I am learning and gaining experiance by doing some hands on projects on DevOps and in AWS OR GCP