<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Muhammad Waleed</title>
    <description>The latest articles on DEV Community by Muhammad Waleed (@muhammad_waleed_b2f7a68b7).</description>
    <link>https://dev.to/muhammad_waleed_b2f7a68b7</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4124675%2F4ccdaf32-0d73-464b-96c5-1e733976b52b.png</url>
      <title>DEV Community: Muhammad Waleed</title>
      <link>https://dev.to/muhammad_waleed_b2f7a68b7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/muhammad_waleed_b2f7a68b7"/>
    <language>en</language>
    <item>
      <title>Learning Amazon S3: Buckets, Objects, Storage Classes &amp; Permissions</title>
      <dc:creator>Muhammad Waleed</dc:creator>
      <pubDate>Mon, 14 Sep 2026 14:09:33 +0000</pubDate>
      <link>https://dev.to/muhammad_waleed_b2f7a68b7/learning-amazon-s3-buckets-objects-storage-classes-permissions-2o0o</link>
      <guid>https://dev.to/muhammad_waleed_b2f7a68b7/learning-amazon-s3-buckets-objects-storage-classes-permissions-2o0o</guid>
      <description>&lt;p&gt;As part of my Cloud Computing learning journey, I recently explored &lt;strong&gt;Amazon Simple Storage Service (Amazon S3)&lt;/strong&gt; and got hands-on experience working with cloud-based object storage.&lt;/p&gt;

&lt;p&gt;This session helped me understand not only how files are stored in the cloud, but also how access, cost, lifecycle, and availability of those files can be managed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Amazon S3?
&lt;/h2&gt;

&lt;p&gt;Amazon S3 is an object storage service provided by AWS.&lt;/p&gt;

&lt;p&gt;Instead of thinking about storage only in terms of traditional folders and disks, S3 mainly works with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Buckets&lt;/strong&gt; — containers used to store data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Objects&lt;/strong&gt; — files and their associated metadata stored inside buckets&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keys&lt;/strong&gt; — identifiers used to locate objects inside a bucket&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;During the practical session, I created/worked with an S3 bucket and uploaded a file as an object.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;📸 I have included a screenshot from my AWS S3 practical where I uploaded a file to the bucket.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  1. S3 Buckets and Objects
&lt;/h2&gt;

&lt;p&gt;A bucket acts as the main container for objects.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;my-cloud-bucket&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;could contain objects such as:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;images/profile.jpg&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;documents/report.pdf&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;website/index.html&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This helped me understand how cloud object storage differs from the traditional file-storage approach.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Uploading Objects to S3
&lt;/h2&gt;

&lt;p&gt;One of the hands-on parts of the session was uploading a file to an S3 bucket.&lt;/p&gt;

&lt;p&gt;When uploading an object, different settings can be applied, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Storage class&lt;/li&gt;
&lt;li&gt;Permissions&lt;/li&gt;
&lt;li&gt;Metadata&lt;/li&gt;
&lt;li&gt;Encryption-related settings&lt;/li&gt;
&lt;li&gt;Object management configurations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Working directly with the AWS console made these concepts much easier to understand.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. S3 Storage Classes
&lt;/h2&gt;

&lt;p&gt;Not every file needs the same type of storage.&lt;/p&gt;

&lt;p&gt;AWS provides multiple S3 storage classes for different access patterns and cost requirements.&lt;/p&gt;

&lt;p&gt;Some important examples include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;S3 Standard&lt;/li&gt;
&lt;li&gt;S3 Intelligent-Tiering&lt;/li&gt;
&lt;li&gt;S3 Standard-IA&lt;/li&gt;
&lt;li&gt;S3 One Zone-IA&lt;/li&gt;
&lt;li&gt;S3 Glacier Instant Retrieval&lt;/li&gt;
&lt;li&gt;S3 Glacier Flexible Retrieval&lt;/li&gt;
&lt;li&gt;S3 Glacier Deep Archive&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The main idea I learned is:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The way data is accessed should influence how it is stored.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Frequently accessed data and long-term archival data should not necessarily use the same storage strategy.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. S3 Intelligent-Tiering
&lt;/h2&gt;

&lt;p&gt;One concept I found particularly interesting was &lt;strong&gt;S3 Intelligent-Tiering&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It is designed for data whose access pattern is changing or difficult to predict.&lt;/p&gt;

&lt;p&gt;Instead of manually deciding where every object should remain, S3 can monitor access patterns and automatically move eligible objects between different access tiers.&lt;/p&gt;

&lt;p&gt;This can help optimize storage costs without requiring constant manual management.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Bucket Policies and Permissions
&lt;/h2&gt;

&lt;p&gt;Storing data is only one part of cloud storage.&lt;/p&gt;

&lt;p&gt;Controlling &lt;strong&gt;who can access that data&lt;/strong&gt; is equally important.&lt;/p&gt;

&lt;p&gt;I learned about &lt;strong&gt;S3 Bucket Policies&lt;/strong&gt;, which can be used to define permissions for a bucket and its objects.&lt;/p&gt;

&lt;p&gt;Bucket policies use JSON-based policy rules and can specify things such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Who can access a resource&lt;/li&gt;
&lt;li&gt;Which actions are allowed&lt;/li&gt;
&lt;li&gt;Which resources the rule applies to&lt;/li&gt;
&lt;li&gt;Conditions under which access should be permitted or denied&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This introduced me to an important cloud principle:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Access should be granted intentionally and with the minimum permissions required.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. ACLs — Access Control Lists
&lt;/h2&gt;

&lt;p&gt;We also discussed &lt;strong&gt;Access Control Lists (ACLs)&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;ACLs are another mechanism that can control access to S3 buckets and objects.&lt;/p&gt;

&lt;p&gt;However, an important point from current AWS best practices is that ACLs are disabled by default for modern S3 buckets using the &lt;strong&gt;Bucket owner enforced&lt;/strong&gt; setting.&lt;/p&gt;

&lt;p&gt;For most modern use cases, access is better managed using IAM and bucket policies.&lt;/p&gt;

&lt;p&gt;Learning both approaches is still useful because ACLs can appear in existing systems and specific use cases.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. S3 Lifecycle Rules
&lt;/h2&gt;

&lt;p&gt;Another useful concept was &lt;strong&gt;Lifecycle Configuration&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Lifecycle rules allow us to automatically manage objects as they become older.&lt;/p&gt;

&lt;p&gt;For example, a lifecycle strategy could:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Keep a new object in frequently accessed storage.&lt;/li&gt;
&lt;li&gt;Move it to a cheaper storage class later.&lt;/li&gt;
&lt;li&gt;Archive it when it is rarely needed.&lt;/li&gt;
&lt;li&gt;Eventually expire/delete it when it is no longer required.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is especially important when managing large amounts of cloud data because storage decisions directly affect cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. S3 Versioning
&lt;/h2&gt;

&lt;p&gt;S3 Versioning allows multiple versions of an object to be retained.&lt;/p&gt;

&lt;p&gt;For example, suppose I upload:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;report.pdf&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;and later upload an updated file using the same object key.&lt;/p&gt;

&lt;p&gt;With versioning enabled, S3 can preserve previous versions rather than simply losing the earlier copy.&lt;/p&gt;

&lt;p&gt;This can be useful for recovering from:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Accidental overwrites&lt;/li&gt;
&lt;li&gt;Unwanted changes&lt;/li&gt;
&lt;li&gt;Accidental deletion&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Versioning showed me how cloud storage can provide an additional layer of data protection.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Static Website Hosting
&lt;/h2&gt;

&lt;p&gt;Amazon S3 can also be used to host &lt;strong&gt;static website content&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Static websites usually consist of files such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML&lt;/li&gt;
&lt;li&gt;CSS&lt;/li&gt;
&lt;li&gt;JavaScript&lt;/li&gt;
&lt;li&gt;Images&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These files can be stored as objects and served to users.&lt;/p&gt;

&lt;p&gt;However, S3 itself does not execute traditional server-side application logic such as PHP, Node.js server code, Django, or database-backed backend processing.&lt;/p&gt;

&lt;p&gt;That leads to an important distinction.&lt;/p&gt;

&lt;h2&gt;
  
  
  Static vs Dynamic Websites
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Static Website
&lt;/h3&gt;

&lt;p&gt;Content is mainly delivered from pre-existing files.&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;HTML + CSS + JavaScript&lt;/p&gt;

&lt;p&gt;Suitable examples include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Portfolio websites&lt;/li&gt;
&lt;li&gt;Documentation&lt;/li&gt;
&lt;li&gt;Landing pages&lt;/li&gt;
&lt;li&gt;Simple front-end applications&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Dynamic Website
&lt;/h3&gt;

&lt;p&gt;Content can be generated or changed by backend logic.&lt;/p&gt;

&lt;p&gt;It may involve:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Application servers&lt;/li&gt;
&lt;li&gt;APIs&lt;/li&gt;
&lt;li&gt;Databases&lt;/li&gt;
&lt;li&gt;Authentication&lt;/li&gt;
&lt;li&gt;Server-side processing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a complete dynamic cloud application, S3 can still store static assets, while other cloud services handle the backend.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned From This Session
&lt;/h2&gt;

&lt;p&gt;This session gave me a much clearer understanding of how cloud storage goes beyond simply uploading files.&lt;/p&gt;

&lt;p&gt;I learned how Amazon S3 combines:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Storage + Access Control + Cost Optimization + Automation + Data Protection&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The topics I explored included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Buckets and objects&lt;/li&gt;
&lt;li&gt;File uploads&lt;/li&gt;
&lt;li&gt;S3 storage classes&lt;/li&gt;
&lt;li&gt;Intelligent-Tiering&lt;/li&gt;
&lt;li&gt;Bucket policies&lt;/li&gt;
&lt;li&gt;Permissions and ACLs&lt;/li&gt;
&lt;li&gt;Lifecycle rules&lt;/li&gt;
&lt;li&gt;Versioning&lt;/li&gt;
&lt;li&gt;Static website hosting&lt;/li&gt;
&lt;li&gt;Static vs dynamic architectures&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This was another step forward in understanding how real cloud infrastructure is designed and managed.&lt;/p&gt;

&lt;p&gt;I am looking forward to exploring more cloud services and building increasingly practical cloud projects as I continue this journey.&lt;/p&gt;

&lt;h1&gt;
  
  
  aws #cloudcomputing #amazonS3 #cloud #devops
&lt;/h1&gt;

</description>
      <category>aws</category>
      <category>cloudcomputing</category>
      <category>s3</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
