<?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 jedthecloudguy on Medium]]></title>
        <description><![CDATA[Stories by jedthecloudguy on Medium]]></description>
        <link>https://medium.com/@jedthecloudguy?source=rss-c0bd699ea808------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*4TqyXxGGED9Qi07x</url>
            <title>Stories by jedthecloudguy on Medium</title>
            <link>https://medium.com/@jedthecloudguy?source=rss-c0bd699ea808------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 15:18:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jedthecloudguy/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[Fallout from the AWS Power Hour Ep2. Home FUN Write UP]]></title>
            <link>https://medium.com/@jedthecloudguy/fallout-from-the-aws-power-hour-ep2-home-fun-write-up-6f7baa824b74?source=rss-c0bd699ea808------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f7baa824b74</guid>
            <dc:creator><![CDATA[jedthecloudguy]]></dc:creator>
            <pubDate>Sat, 08 Jul 2023 20:07:39 GMT</pubDate>
            <atom:updated>2023-07-08T20:29:30.468Z</atom:updated>
            <content:encoded><![CDATA[<p>Following from episode 2 of the live interactive AWS Power Hour session to discuss the AWS SAA-C03 exams on the domain, <strong>“Designing Secure Architecture”</strong>, the facilitators thought it wise to engage the participants further with what they termed as #HomeFUN.</p><p><strong>“Describe the steps you would take to secure access to your AWS Account. Starting with a brand new AWS account tell us at least 3 things you would do to setup secure access. Be sure to review the Well Architected Framework security pillar and follow the principle of least privilege.”</strong></p><p>Securing access to AWS resources becomes an exclusive mandate of the AWS Identity and Access Management (IAM) service. The AWS IAM service provides the opportunity to specify who or what can access services and resources in AWS, to centrally manage fine-grained permissions, and analyze access to refine permissions across AWS. To create accounts and grant access in any form on AWS, certain security best practices and standards out to be followed. These security best practices are birthed out of the AWS Well Architected Framework aimed at prescribing best practices organized around six themes or pillars with the ultimate aim of enabling users to design, architect and secure workloads in the cloud. One of the six pillars is Security, which emphasizes on security best practices aimed at protecting information and systems in the cloud.</p><p>Setting up secure access for an AWS account involves implementing various measures to protect the account from unlawful access and potential security threats. Below are the outlined steps to help secure access to a brand new AWS account taking into consideration the principles of the Well Architected Framework’s security pillar and the principles of least privilege.</p><p><strong>Enable Multi Factor Authentication (MFA)</strong></p><p>The first step in securing a brand new AWS account is to enable Multi Factor Authentication for root and IAM user accounts in AWS. This adds extra layer of security by challenging users to provide unique authentication from an AWS supported MFA mechanism in addition to their regular sign-in credentials when they access AWS console, websites and services. Some of the MFA supported mechanisms includes Virtual MFA devices such as Google Authenticator, Duo, Authy etc., which can run on android, or iOS phone devices. Hardware OTP Token and FIDO security key.</p><p><strong>Create IAM Users, Groups and Roles</strong></p><p>Creating IAM users ensures that individuals who require access to AWS resources and workloads do not login using root account credentials for everyday access. Groups can also be used to organize and manage user access with the needed fine-grained policies and permissions to enforce the principles of least privilege. IAM Roles can also be applied to users, groups or workloads that access AWS resources so they use temporary credentials.</p><p><strong>Implement Conditions in Identity and Access Management (IAM) Policies</strong></p><p>Conditions can be specified in IAM policies to grant access to actions and resources on conditions that access requests meet specific conditions. For example, you can implement Time-based Conditions that can define a condition that allows access to the S3 bucket only during specific times of the day. For instance, you might want to grant access to the bucket only between 9 AM and 5 PM on weekdays. Outside of these hours, access would be denied. This condition ensures that only authorized users can access the bucket during business hours. Service conditions can also be used to grant access to service actions, given that they are used through a specific AWS service such as AWS CloudFormation. Conditions in IAM policies are like rules that determine whether or not a user can access AWS resources based on specific conditions such as time, IP addresses, geographic locations, or other factors. They help tailor access permissions to meet specific requirements and enhance the security of your AWS environment by enforcing the principle of least privilege.</p><p><strong>Using Federation to grant Users Temporary Credentials to AWS resources</strong></p><p>Users (people, administrators, developers, operators and consumers of application) within an organization, outside the organization who collaborate and interact with your AWS resources require an identity to access AWS environments and applications. You can use an identity provider for your users to provide federated access to AWS accounts by assuming roles, which provide temporary credentials. Federation in this scenario is the process of allowing users from an external identity provider such as your company’s Active Directory or a social media account to access AWS resources securely, without requiring you to create and manage individual AWS accounts for each user. For example assuming user in <strong>company A</strong> who uses Google as the external identity provider wants to access an AWS resource in <strong>company B</strong>. The user in <strong>Company A</strong> would log in to their Google account. Upon successful authentication, Google generates a token for that user. The user then presents this token to AWS, which validates it with Google. AWS, recognizing the user’s identity and permissions, generates temporary credentials for that user. These temporary credentials allow the user to access the specific AWS resources they need for their work, such as launching EC2 instances or accessing S3 buckets. Federation with temporary credentials enhances security because users do not need to remember separate AWS account credentials. It also allows organizations to leverage their existing identity management systems. AWS offers solutions such as <strong>AWS IAM Identity Center</strong> and <strong>AWS IAM</strong> to manage the access and permissions on the accounts through federation.</p><p><strong>Rotating access keys regularly for use cases that require long-term credentials</strong></p><p>It is often a recommended practice to create temporary credentials instead of creating long-term credentials such as access keys. However, for scenarios where you need IAM users with programmatic access and long-term credentials, the recommendation is to schedule a regular access rotation keys regardless of any specific events or incident. Other helpful scenarios necessitating the rotation of credentials is when an employee leaves an organization or changes role within the organization to ensure that former employees or individuals in different roles do not retain unnecessary access to AWS resources. Again, other situations such as Key Exposure, Suspicious Activity or Compromise, Regulatory Compliance Requirement and Vendor or Third-Party Requirements also gives room for rotation of access credentials. IAM access last used information provides the needed information to help you purge or rotate access keys to enable you enforce the principle of least privilege.</p><p><strong>Regular Review and Purging of Unused Users, Roles, Permissions, Policies and Credentials.</strong></p><p>One of the best practices to secure access to your AWS account is to regularly review and remove credentials that you no longer need in your AWS account. IAM provides last accessed information to help you identify the users, roles, permissions, policies and credentials that you no longer need to so that you can remove them. This serves as a means to refine your IAM policies to better adhere to least privilege permissions.</p><p>The above listed points are not exhaustive but presents some of the many best practices outlined in the security pillar of the AWS Well Architected Framework as a guidance to securing access to AWS resources.</p><p>References</p><ol><li><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege">https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege</a></li><li><a href="https://aws.amazon.com/iam/resources/best-practices/?nc=sn&amp;loc=4&amp;dn=1">https://aws.amazon.com/iam/resources/best-practices/?nc=sn&amp;loc=4&amp;dn=1</a></li><li><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa.html">https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa.html</a></li><li><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html</a></li><li><a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html</a></li><li><a href="https://training.resources.awscloud.com/get-certified-solutions-architect-associate/aws-certified-solutions-architect-associate-exam-guide-2">https://training.resources.awscloud.com/get-certified-solutions-architect-associate/aws-certified-solutions-architect-associate-exam-guide-2</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f7baa824b74" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>