<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dilmi Sandunika on Medium]]></title>
        <description><![CDATA[Stories by Dilmi Sandunika on Medium]]></description>
        <link>https://medium.com/@dilmisandunika2003?source=rss-e6ac9dd7f301------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qxWGBdEkHKDlzTS3kUNySg.png</url>
            <title>Stories by Dilmi Sandunika on Medium</title>
            <link>https://medium.com/@dilmisandunika2003?source=rss-e6ac9dd7f301------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 05:13:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dilmisandunika2003/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AWS Regions and Availability Zones Explained: How AWS Keeps Applications Available]]></title>
            <link>https://medium.com/@dilmisandunika2003/aws-regions-and-availability-zones-explained-how-aws-keeps-applications-available-8c3d1c693bf8?source=rss-e6ac9dd7f301------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c3d1c693bf8</guid>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud-infrastructure]]></category>
            <category><![CDATA[cloud-architecture]]></category>
            <dc:creator><![CDATA[Dilmi Sandunika]]></dc:creator>
            <pubDate>Sat, 28 Nov 2026 08:29:24 GMT</pubDate>
            <atom:updated>2026-11-28T08:29:24.966Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pxOxsg9HQzB_0SBpOwbTHQ.jpeg" /></figure><p><em>A beginner-friendly guide to understanding AWS global infrastructure, availability, and fault tolerance.</em></p><h3>Introduction</h3><p>When I started learning AWS, I came across terms such as Regions, Availability Zones, and Edge Locations quite often.</p><p>At first, they seemed like different names for cloud locations. But I gradually realized that each one has a different purpose.</p><p>Have you ever wondered what happens if a data center running your application suddenly becomes unavailable? Does your entire application stop working?</p><p>This is where AWS’s global infrastructure becomes important.</p><p>In this article, I’ll explain what AWS Regions, Availability Zones, and Edge Locations are, how they work together, and why they matter when building reliable cloud applications.</p><h3>1. What Are AWS Regions?</h3><p>An <strong>AWS Region</strong> is a separate geographical area where AWS operates its cloud infrastructure.</p><p>AWS has multiple Regions around the world, allowing customers to deploy applications closer to their users and choose locations that meet their business and regulatory requirements.</p><p>For example, an application serving users in Asia may benefit from being deployed in an Asia Pacific Region rather than a location far away.</p><p>Choosing a Region can depend on several factors:</p><ul><li><strong>Latency:</strong> How close the infrastructure is to your users.</li><li><strong>Compliance:</strong> Whether the Region meets relevant data residency and regulatory requirements.</li><li><strong>Service availability:</strong> Whether the AWS services you need are available in that Region.</li><li><strong>Cost:</strong> Pricing can vary between Regions.</li></ul><p>In simple terms, a Region is a geographical location where you can run your AWS resources.</p><h3>2. What Are Availability Zones?</h3><p>Inside an AWS Region, there are multiple <strong>Availability Zones (AZs)</strong>.</p><p>An Availability Zone consists of one or more discrete data centers with independent power, networking, and connectivity.</p><p>These Availability Zones are designed to be isolated from failures in other Availability Zones while remaining connected through low-latency networking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1K20q4_JiBHG5zmJL4_wHA.jpeg" /></figure><p>Why is this important?</p><p>Imagine your application is running in only one Availability Zone. If that Availability Zone experiences a problem, your application may become unavailable.</p><p>However, if your application is designed to run across multiple Availability Zones, it can continue operating even if one zone experiences an issue.</p><p>This is one of the key ideas behind <strong>High Availability</strong>.</p><h3>3. What Are AWS Edge Locations?</h3><p>AWS Edge Locations are infrastructure locations used by services such as Amazon CloudFront to deliver content closer to users.</p><p>For example, imagine a website hosted on AWS with users accessing it from different countries.</p><p>Without content delivery optimization, users may need to retrieve content from a distant origin location.</p><p>With Amazon CloudFront, content can be cached at Edge Locations closer to users, helping reduce latency and improve content delivery performance.</p><p>Edge Locations are different from Availability Zones. They are primarily used to bring content and certain services closer to end users.</p><h3>4. Understanding the Difference</h3><p>Let’s compare the three concepts:</p><p><strong>AWS Region</strong></p><ul><li>A geographical area where AWS operates infrastructure.</li><li>Contains multiple Availability Zones.</li><li>Used to deploy cloud resources in different geographical locations.</li></ul><p><strong>Availability Zone</strong></p><ul><li>One or more isolated data centers within a Region.</li><li>Designed to provide fault isolation.</li><li>Helps applications achieve higher availability when deployed across multiple zones.</li></ul><p><strong>Edge Location</strong></p><ul><li>A location used to deliver content and services closer to users.</li><li>Commonly associated with Amazon CloudFront.</li><li>Helps reduce latency for content delivery.</li></ul><p>The easiest way to remember them:</p><ul><li>Region = Where your cloud infrastructure is located.</li><li>Availability Zone = A separate infrastructure location within a Region.</li><li>Edge Location = A location that helps bring content closer to users.</li></ul><h3>5. A Real-World Example</h3><p>Imagine you’re building an online shopping application.</p><p>Your customers access the application from different parts of the world.</p><p>You could use AWS infrastructure in the following way:</p><p><strong>Step 1: Choose a Region</strong></p><p>Deploy your application in an appropriate AWS Region based on your users, requirements, and service availability.</p><p><strong>Step 2: Use Multiple Availability Zones</strong></p><p>Run application instances across multiple Availability Zones so that a problem in one zone does not necessarily make the entire application unavailable.</p><p><strong>Step 3: Use Edge Locations</strong></p><p>Use Amazon CloudFront to deliver cached content, such as images, CSS files, and JavaScript files, closer to customers.</p><p>Together, these services and infrastructure concepts can help create applications that are more available and responsive.</p><h3>6. Why Is High Availability Important?</h3><p>High Availability means designing systems to remain accessible and operational with minimal downtime.</p><p>For businesses, downtime can lead to:</p><ul><li>Lost revenue.</li><li>Poor customer experience.</li><li>Interrupted business operations.</li><li>Reduced trust in the application.</li></ul><p>Using multiple Availability Zones is one way to improve application availability.</p><p>However, simply deploying resources in multiple zones does not automatically guarantee High Availability. The application architecture must also be designed to handle failures.</p><p>For example, traffic distribution, database availability, backups, and recovery mechanisms all play important roles.</p><h3>7. What Is Fault Tolerance?</h3><p>Fault Tolerance is the ability of a system to continue operating even when some of its components fail.</p><p>High Availability and Fault Tolerance are related, but they are not exactly the same.</p><p>High Availability focuses on minimizing downtime and keeping services accessible.</p><p>Fault Tolerance focuses on continuing operation despite failures, ideally without interruption.</p><p>Understanding these concepts is important when designing reliable cloud applications.</p><h3>8. Five Things I’m Taking Away as an AWS Beginner</h3><ol><li><strong>Regions matter:</strong> Choosing the right Region can affect latency, cost, and compliance.</li><li><strong>Availability Zones improve resilience:</strong> Deploying across multiple AZs can reduce the impact of a single-zone failure.</li><li><strong>Edge Locations improve content delivery:</strong> They help bring content closer to users.</li><li><strong>High Availability requires planning:</strong> It does not happen automatically just because an application runs on AWS.</li><li><strong>Architecture matters:</strong> Understanding where resources run is an important part of designing reliable applications.</li></ol><h3>Final Thoughts</h3><p>Learning about AWS Regions, Availability Zones, and Edge Locations helped me understand that cloud computing is not just about launching servers or storing data.</p><p>It’s also about <strong>where applications run, how users access them, and how systems continue operating when failures occur.</strong></p><p>As I continue learning AWS, I want to understand not only individual cloud services but also how different infrastructure components work together to build reliable applications.</p><p>Because creating an application that works is important — but creating one that remains available when problems occur is equally important.</p><h3>References</h3><ul><li><a href="https://aws.amazon.com/about-aws/global-infrastructure/">AWS Global Infrastructure</a></li><li><a href="https://docs.aws.amazon.com/global-infrastructure/latest/regions/aws-regions.html">AWS Regions and Availability Zones</a></li><li><a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html">Amazon CloudFront — How It Works</a></li><li><a href="https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/welcome.html">AWS Well-Architected Framework — Reliability Pillar</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c3d1c693bf8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Shared Responsibility Model Explained: What AWS Secures vs What You Secure]]></title>
            <link>https://medium.com/@dilmisandunika2003/aws-shared-responsibility-model-explained-what-aws-secures-vs-what-you-secure-2cb81a03208e?source=rss-e6ac9dd7f301------2</link>
            <guid isPermaLink="false">https://medium.com/p/2cb81a03208e</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Dilmi Sandunika]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 14:05:47 GMT</pubDate>
            <atom:updated>2026-10-26T14:05:47.673Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2yB2FtJiADu-QLE994-FYw.jpeg" /></figure><p><em>A beginner-friendly guide to understanding AWS security responsibilities, with real-world examples.</em></p><h3>Introduction</h3><p>When I started learning AWS, I realized that understanding cloud services is only one part of the journey. Another important question is: <strong>Who is responsible for keeping those services secure?</strong></p><p>If AWS provides secure cloud infrastructure, does that mean everything we build on AWS is automatically secure?</p><p><strong>Not exactly.</strong></p><p>AWS follows a concept called the <strong>Shared Responsibility Model</strong>. It explains which parts of cloud security AWS manages and which parts customers are responsible for.</p><p>In this article, I’ll break down the concept in simple terms, explore examples using services such as Amazon S3 and Amazon EC2, and share a few important security lessons for beginners.</p><h3>What Is the AWS Shared Responsibility Model?</h3><p>The AWS Shared Responsibility Model divides security responsibilities between <strong>AWS and the customer</strong>.</p><p>AWS is responsible for the security <em>of</em> the cloud, while customers are responsible for security <em>in</em> the cloud. The exact division depends on the AWS service being used.</p><p>Think of it like renting a house. The landlord maintains the building itself, but you are responsible for looking after your belongings and locking your doors.</p><p>Cloud security works in a similar way: AWS protects the underlying cloud infrastructure, while customers must securely configure and use the services they choose.</p><blockquote><strong><em>AWS secures the cloud. You secure what you build on it.</em></strong></blockquote><h3>1. What Is AWS Responsible For?</h3><p>AWS manages the security of the underlying cloud infrastructure.</p><p>This generally includes:</p><ul><li><strong>Physical security:</strong> Protecting AWS data centers and physical equipment.</li><li><strong>Infrastructure:</strong> Maintaining the underlying servers, storage, and networking infrastructure.</li><li><strong>Virtualization:</strong> Securing the virtualization layer used to run cloud services.</li><li><strong>Managed service infrastructure:</strong> Operating the underlying infrastructure for services such as Amazon S3.</li></ul><p>In simple terms, AWS protects the foundation that allows cloud services to operate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w6Wi-ApF4YsY04FgOinT3w.jpeg" /></figure><p>However, this does not mean AWS automatically handles every security setting inside your account or application.</p><h3>2. What Are Customers Responsible For?</h3><p>As a customer, you are responsible for securing the resources you use and the way you configure them.</p><p>Depending on the service, this can include:</p><ul><li><strong>Data protection:</strong> Managing your data and deciding who can access it.</li><li><strong>Access management:</strong> Controlling permissions through AWS Identity and Access Management (IAM).</li><li><strong>Configuration:</strong> Making sure services are configured securely.</li><li><strong>Application security:</strong> Protecting the applications you deploy.</li><li><strong>Operating system security:</strong> Updating and patching operating systems when you manage them.</li></ul><p>For example, AWS can provide the infrastructure for storing files, but you still need to configure access permissions appropriately.</p><p>A secure cloud platform does not automatically guarantee a secure application.</p><h3>3. How Does This Work in Real AWS Services?</h3><p>The easiest way to understand this model is through examples.</p><h3>Example 1: Amazon S3</h3><p>Amazon S3 is a service used to store objects such as documents, images, and backups.</p><p>AWS manages the underlying infrastructure. However, customers must make appropriate decisions about data access, permissions, and security settings.</p><p>For example, accidentally allowing public access to private files can expose sensitive information.</p><p><strong>Lesson:</strong> Understand who can access your S3 data and configure permissions carefully.</p><h3>Example 2: Amazon EC2</h3><p>Amazon EC2 allows you to run virtual servers in the cloud.</p><p>AWS manages the underlying physical infrastructure and virtualization layer. However, when you manage an EC2 instance, you are generally responsible for tasks such as operating system updates, application security, and configuring appropriate network access.</p><p>For example, leaving an unnecessary management port open to the internet can increase security risks.</p><p><strong>Lesson:</strong> Launching a server is only the beginning. It also needs secure configuration and maintenance.</p><h3>Example 3: AWS IAM</h3><p>AWS Identity and Access Management (IAM) helps control who can access AWS resources and what actions they can perform.</p><p>AWS provides the IAM service, but you are responsible for creating appropriate identities, assigning permissions, and reviewing access.</p><p>For example, giving an application or user more permissions than necessary can increase the potential impact of compromised credentials.</p><p><strong>Lesson:</strong> Grant only the permissions that are needed.</p><h3>4. Why Does the Responsibility Change Between Services?</h3><p>Not every AWS service requires the customer to manage the same things.</p><p>With Amazon EC2, customers generally have more responsibility for the guest operating system and software they run.</p><p>With managed services such as Amazon S3, AWS manages more of the underlying infrastructure, so customers can focus on their data, permissions, and configuration.</p><p>This is why it is important to understand the specific service you are using rather than assuming that AWS handles every security task.</p><p><strong>The more you manage yourself, the more security responsibilities you may have.</strong> The exact responsibilities still depend on the service and its configuration.</p><h3>5. Common Security Mistakes to Avoid</h3><p>Understanding the Shared Responsibility Model can help beginners recognize several common mistakes.</p><ol><li><strong>Assuming AWS secures everything:</strong> AWS provides secure infrastructure, but customers still need to configure their resources appropriately.</li><li><strong>Giving excessive permissions:</strong> Users and applications should not receive unnecessary access.</li><li><strong>Ignoring data access settings:</strong> Storage permissions should match the intended audience.</li><li><strong>Forgetting updates:</strong> Operating systems and software that you manage need appropriate maintenance.</li><li><strong>Skipping security reviews:</strong> Permissions and configurations should be reviewed as systems change.</li></ol><p>These mistakes are not just theoretical concerns. They show why security must be considered throughout the process of building and maintaining cloud applications.</p><h3>6. Five Lessons I’m Taking Away as an AWS Beginner</h3><p>Here are five important lessons I want to keep in mind while learning AWS:</p><ol><li><strong>Understand the service first.</strong> Different services have different responsibility boundaries.</li><li><strong>Protect access.</strong> Use IAM permissions carefully and avoid unnecessary privileges.</li><li><strong>Secure data.</strong> Understand who can access stored information.</li><li><strong>Maintain what you manage.</strong> Keep relevant operating systems and software updated.</li><li><strong>Verify configurations.</strong> Never assume a resource is secure simply because it runs on AWS.</li></ol><p>These are simple habits, but they form an important foundation for learning cloud security.</p><h3>Final Thoughts</h3><p>The AWS Shared Responsibility Model helped me understand an important point: <strong>using AWS does not mean handing over every security responsibility to AWS.</strong></p><p>AWS protects the underlying cloud infrastructure, while customers must protect their data, applications, identities, and configurations according to the service they use.</p><p>As I continue learning AWS, I want to understand not only how to create cloud resources, but also how to use them securely.</p><p>Because in cloud computing, building something that works is important — but building it securely matters just as much.</p><h3>References</h3><ul><li><a href="https://aws.amazon.com/compliance/shared-responsibility-model/">AWS Shared Responsibility Model</a></li><li><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html">AWS Identity and Access Management- Best Practices</a></li><li><a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/security-best-practices.html">Amazon S3 Security Best Practices</a></li><li><a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security.html">Amazon EC2 Security</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2cb81a03208e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS IAM Demystified: Who Can Access What?]]></title>
            <link>https://medium.com/@dilmisandunika2003/aws-iam-demystified-who-can-access-what-74b8805eaa7f?source=rss-e6ac9dd7f301------2</link>
            <guid isPermaLink="false">https://medium.com/p/74b8805eaa7f</guid>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[ami]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Dilmi Sandunika]]></dc:creator>
            <pubDate>Wed, 30 Sep 2026 10:52:16 GMT</pubDate>
            <atom:updated>2026-09-30T10:52:16.257Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A beginner-friendly guide to Users, Groups, Roles, Policies, and the security principle behind them.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*il3qE0UmobqzQFMqEmuLSQ.png" /></figure><p>When I first started learning AWS, I quickly realized that understanding cloud services is only part of the journey.</p><p>You can learn <strong>EC2, S3, Lambda, and databases — </strong>but there is another question behind all of them:</p><blockquote><strong><em>Who is actually allowed to access these resources, and what are they allowed to do?</em></strong></blockquote><p>That’s where <strong>AWS Identity and Access Management (IAM)</strong> comes in.</p><p>At first, IAM can feel confusing because you encounter terms like <strong>Users, Groups, Roles, Policies, Permissions, and Least Privilege</strong>.</p><p>But once you understand how these pieces connect, IAM becomes much easier to reason about.</p><p>So instead of starting with complicated terminology, let’s understand IAM using a simple real-world example.</p><h3>Imagine AWS as an Office Building</h3><p>Imagine that your AWS account is a large office building.</p><p>Inside the building, there are different rooms:</p><ul><li><strong>S3</strong> → Storage</li><li><strong>EC2</strong> → Servers and computing</li><li><strong>Lambda</strong> → Serverless functions</li><li><strong>DynamoDB</strong> → Database</li></ul><p>Now imagine that several people work in this building.</p><p>Should everyone be able to enter every room?</p><p><strong>Definitely not.</strong></p><p>A developer may need access to application resources.</p><p>A finance employee may need access to billing information.</p><p>A CI/CD pipeline may need permission to deploy an application.</p><p>An administrator may need broader access.</p><p>This is the kind of problem <strong>IAM helps solve</strong>.</p><h3>The 4 IAM Concepts You Need to Understand</h3><p>The easiest way to remember the core IAM concepts is:</p><blockquote><strong><em>Users → Groups → Roles → Policies</em></strong></blockquote><p>However, these four concepts don’t all do the same thing.</p><p>They solve different problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fq20R3GJTyvvPRPoA6qJPw.png" /></figure><h3>IAM Users -“Who are you?”</h3><p>An <strong>IAM User</strong> represents an identity within an AWS account.</p><p>For example:</p><ul><li>Alice</li><li>Bob</li><li>Charlie</li></ul><p>Each identity can have permissions that determine what it can access.</p><p>Think of an IAM User as an <strong>employee’s identity</strong> within the AWS environment.</p><p>The important idea is:</p><blockquote><strong><em>Don’t share credentials between people.</em></strong></blockquote><p>Each person should have an identity that can be managed and audited separately.</p><p>However, there’s an important modern AWS security practice to understand.</p><p>For human users, AWS recommends using <strong>federation and temporary credentials where possible</strong>, rather than relying on long-lived IAM user credentials.</p><p>So IAM Users are an important concept to understand, but creating a long-lived IAM User for every human is not automatically the preferred modern approach.</p><h3>IAM Groups — “Who belongs to the same team?”</h3><p>Imagine your company has five developers.</p><p>Instead of managing the same permissions for every developer individually, you can organize them into a group:</p><p><strong>Developers Group</strong></p><p>→ Alice<br>→ Bob<br>→ Charlie</p><p>Permissions can then be attached to the group, making permission management easier as the team grows.</p><p>For example, suppose developers need permission to read objects from a particular S3 bucket.</p><p>Instead of managing permissions separately:</p><p><strong>Alice → S3 permission</strong><br><strong>Bob → S3 permission</strong><br><strong>Charlie → S3 permission</strong></p><p>you can manage them through:</p><p><strong>Developers Group → S3 permissions</strong></p><p>This becomes much easier to manage when the number of users increases.</p><h3>IAM Roles — “What can you temporarily become?”</h3><p>This is where many beginners get confused.</p><p>An <strong>IAM Role is not the same thing as an IAM User.</strong></p><p>A role is an identity that can be <strong>assumed</strong> to obtain temporary credentials and permissions.</p><p>For example, imagine an application running on an EC2 instance.</p><p>The application needs to read data from S3.</p><p>One approach would be to place long-term AWS credentials inside the application.</p><p><strong>That is a bad idea.</strong></p><p>Instead, the EC2 workload can use an IAM Role that grants the permissions it needs.</p><p>The basic flow looks like this:</p><p><strong>EC2 Application</strong><br>↓<br><strong>Assumes IAM Role</strong><br>↓<br><strong>Temporary Credentials</strong><br>↓<br><strong>Accesses S3</strong></p><p>This is one of the IAM concepts that becomes especially important when working with <strong>AWS, DevOps, CI/CD, backend systems, and cloud infrastructure</strong>.</p><h3>IAM Policies — “What are you allowed to do?”</h3><p>Now we reach the actual permission system.</p><p>An <strong>IAM Policy</strong> defines permissions.</p><p>Policies are commonly written as JSON documents.</p><p>Here’s a simple example:</p><pre>{<br>  &quot;Version&quot;: &quot;2012-10-17&quot;,<br>  &quot;Statement&quot;: [<br>    {<br>      &quot;Effect&quot;: &quot;Allow&quot;,<br>      &quot;Action&quot;: &quot;s3:GetObject&quot;,<br>      &quot;Resource&quot;: &quot;arn:aws:s3:::my-bucket/*&quot;<br>    }<br>  ]<br>}</pre><p>Don’t worry if this looks complicated.</p><p>There are three important parts to understand.</p><h3>Effect</h3><pre>Allow</pre><p>or</p><pre>Deny</pre><p>It determines whether the action is permitted or denied.</p><h3>Action</h3><pre>s3:GetObject</pre><p>This specifies <strong>what operation</strong> is allowed.</p><h3>Resource</h3><pre>arn:aws:s3:::my-bucket/*</pre><p>This specifies <strong>which resource</strong> the permission applies to.</p><p>So, in simple terms, the policy is saying:</p><blockquote><strong><em>Allow this identity to get objects from this specific S3 bucket.</em></strong></blockquote><h3>So How Do They All Connect?</h3><p>Now let’s put everything together.</p><p><strong>Human users</strong> can have identities.</p><p><strong>Groups</strong> can organize users with similar permissions.</p><p><strong>Roles</strong> can provide temporary access to people or workloads.</p><p><strong>Policies</strong> define what actions are allowed or denied.</p><p>The overall idea can be simplified as:</p><p><strong>Identity → Permission → Resource → Access</strong></p><p>The important question is always:</p><blockquote><strong><em>Who is requesting access, what are they trying to do, and which resource are they trying to access?</em></strong></blockquote><p>Once you start thinking about IAM this way, the individual terms become much easier to understand.</p><h3>The Security Principle Behind IAM: Least Privilege</h3><p>One of the most important concepts I have come across while learning IAM is the <strong>Principle of Least Privilege</strong>.</p><p>Simply put:</p><blockquote><strong><em>Give an identity only the permissions it actually needs to perform its task.</em></strong></blockquote><p>Imagine an application only needs to read files from one S3 bucket.</p><p>You could give it extremely broad permissions such as:</p><pre>s3:*</pre><p>But why give an application access to every S3 operation if it only needs to read objects?</p><p>A more restricted permission could be:</p><pre>s3:GetObject</pre><p>for a specific bucket.</p><p>The goal is to reduce unnecessary access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pdMtGdCR1qvqqYXwzAoqmg.png" /></figure><p>Think of it this way:</p><blockquote><strong><em>If someone only needs the key to one room, don’t give them the master key to the entire building.</em></strong></blockquote><p>That’s the basic idea behind <strong>least privilege</strong>.</p><h3>Why Over-Permissioning Can Be Dangerous</h3><p>Let’s say a developer only needs access to an S3 bucket containing application files.</p><p>But instead, they receive permissions far beyond what their task requires.</p><p>An accidental command could potentially:</p><ul><li>Delete resources</li><li>Modify infrastructure</li><li>Change security settings</li><li>Access data that wasn’t required</li><li>Affect other parts of the environment</li></ul><p>The problem isn’t necessarily the person.</p><p>The problem can be <strong>excessive permissions</strong>.</p><p>This is why permission scope matters.</p><p>A smaller permission scope generally means a smaller potential <strong>blast radius</strong> if credentials are misused or a mistake occurs.</p><h3>5 IAM Security Practices I’m Taking Away</h3><p>As I continue learning AWS, these are five IAM practices that stand out to me:</p><ol><li><strong>Protect the Root User</strong><br>Avoid using the AWS root user for everyday tasks.</li><li><strong>Enable MFA</strong><br>Multi-factor authentication adds another layer of protection.</li><li><strong>Follow Least Privilege</strong><br>Give only the permissions that are actually required.</li><li><strong>Prefer Temporary Credentials Where Appropriate</strong><br>Avoid unnecessary long-lived credentials.</li><li><strong>Review Permissions Regularly</strong><br>Remove unnecessary users, permissions, and credentials instead of allowing unused access to remain indefinitely.</li></ol><h3>One Simple Example to Remember Everything</h3><p>Let’s imagine we’re building an online shopping application.</p><p>A developer working on the application may need certain permissions during development.</p><p>Meanwhile, the application itself may need to access AWS services while it is running.</p><p>These are different access requirements.</p><p>For example:</p><p><strong>Developer</strong></p><p>→ IAM User / federated identity<br>→ Appropriate permissions<br>→ Development resources</p><p><strong>Shopping Application</strong></p><p>→ IAM Role<br>→ Temporary credentials<br>→ Only the AWS resources it needs</p><p>This gives us a simple way to remember the four concepts:</p><p><strong>User</strong> → <strong>Identity<br>Group</strong> → <strong>Collection of users<br>Role</strong> → <strong>Assumable identity for temporary access<br>Policy</strong> → <strong>Rules defining permissions</strong></p><p>And the security principle connecting everything:</p><blockquote><strong><em>Least privilege → Give only the access that is actually needed.</em></strong></blockquote><h3>Final Takeaway</h3><p>When I first saw IAM, I thought it was mainly about creating users and assigning permissions.</p><p>Now I see it differently.</p><p>IAM is really about answering one fundamental question:</p><blockquote><strong><em>“Who can do what, to which resource, and under what conditions?”</em></strong></blockquote><p>Once that question becomes clear, concepts like <strong>Users, Groups, Roles, and Policies</strong> stop feeling like separate AWS features.</p><p>They become pieces of one bigger system:</p><p><strong>Identity</strong><br>↓<br><strong>Permissions</strong><br>↓<br><strong>Resource</strong><br>↓<br><strong>Controlled Access</strong></p><p>And that’s one of the first cloud-security concepts I’m learning as I continue my AWS journey.</p><h3>What I’m Learning Next</h3><p>I’m currently exploring more AWS fundamentals, and IAM is only the beginning.</p><p>Next, I’m looking forward to understanding how services such as <strong>S3, EC2, VPC, and CloudWatch</strong> fit together to build real cloud applications.</p><p>If you’re also learning AWS, <strong>what was the first AWS concept that confused you?</strong></p><h3>References</h3><ul><li>AWS Identity and Access Management documentation</li><li>AWS IAM Security Best Practices</li><li>AWS IAM Policies and Permissions</li><li>AWS Well-Architected Framework -Least Privilege</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74b8805eaa7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>