AWS IAM Access Analyzer For Managing Underutilized Access

The AWS Identity and Access Management (IAM) Access Analyzer tool may reveal which accounts and resources in your AWS organization are shared with outside parties and which are underutilized. This article explains how IAM Access Analyzer’s underutilized access analyzer functions, examines the financial ramifications, and offers helpful tips for controlling and maximizing its usage, with a particular emphasis on cost reduction.

What is IAM Access Analyzer?

Granting fine-grained permissions as your needs change leads to least privilege. By giving you the ability to define, check, and fine-tune permissions, IAM Access Analyzer helps you move towards least privilege. IAM Access Analyzer analyses external access using proven security to make sure your rules adhere to the corporate security criteria you have set.

IAM Access Analyzer’s advantages

Apply least privilege: To set, check, and fine-tune permissions, use least privilege in conjunction with access analysis and policy validation.

Centrally review access: With ongoing monitoring, centrally examine and eliminate external and unneeded access from all of your AWS accounts.

Permissions refinement: Automate and expand permissions management and refining using security integration protocols that inform teams. IAM Access Analyzer gives you easy connections in the console to assist you remove any unneeded roles, access keys, or passwords. IAM Access Analyser examines your current rules for under utilised rights and suggests an improved version based on your access behaviour.

Validate IAM policies: Verify that policies adhere to your unique security criteria with proven security and IAM best practices.

Automate IAM policy reviews: Add custom policy checks to your development lifecycle to automate policy evaluations before deployments.

Understanding the unused access analyzer in IAM Access Analyzer

IAM Access Analyser can produce results in two ways:

External access analysis (no additional charge): Identifies the resources that are shared with outside parties. One analyzer is needed for each AWS region in which you have resources.

Unused access analysis (paid): Finds permissions, access keys, and roles that are not being utilized. It analyses IAM roles and users across regions from a single analyzer and only needs one analyzer per AWS account.

AWS Organizations can utilize both external access analysis and unused access analysis, and you can set up one analyzer for each organization (or, in the case of external access analysis, one analyzer for each region).

In IAM Access Analyzer, unused access analysis costs $0.20 per month per IAM role or user. Existing roles and users are charged monthly. Each month, $0.20 is paid for new users and positions. Create a single unused access analyzer for each account if you’re using an account-level analyzer, or one unused access analyzer for the entire organization if you’re using an organizational-level analyzer, to assist prevent repeated charges. An analyzer should not be deleted and recreated. You will be billed for the analysis once again if you recreate an analyzer.

Reviewing and optimizing your usage

Understanding your existing use is essential before implementing any cost-cutting measures. The number of underutilized access analyzers in your environment may be found using the AWS Cost and Usage Report (AWS CUR). See Querying Cost and Usage Reports with Amazon Athena for further information.

To find the access analysers in your company that aren’t being utilised, run the following Athena query on your CUR data. Enter the name of your CUR table in lieu of .

SELECT
line_item_usage_type,
product_region,
line_item_resource_id,
bill_payer_account_id,
line_item_usage_account_id,
SUM(line_item_unblended_cost)
FROM <CUR_TABLE>
WHERE line_item_product_code = 'AWSIAMAccessAnalyzer'
AND line_item_line_item_type = 'Usage'
GROUP BY
line_item_usage_type,
product_region,
line_item_resource_id,
bill_payer_account_id,
line_item_usage_account_id

This search will provide you with a thorough overview of your organization’s IAM Access Analyser use, including the cost per analyser.

Let’s now go over four actions you can do right now to maximize the underutilized access analysis expenses of your IAM Access Analyzer.

Consolidate unused analyzers

Examine the findings of your AWS CUR analysis to see areas where consolidation could be possible. You should only utilize one access analyzer if you’re utilizing an organizational one that isn’t being used. If each account has an unused access analyser, make sure none has more.

Use tags to exclude some roles or users

To keep some roles or users out of the analysis, think about utilizing tags. By excluding roles and users you don’t want to analyze, this method can help you scope your analysis and cut expenditures. Implementing a tagging system for your IAM roles and users can help you discover principles that might not need frequent access analysis. Then, utilize exclusion to avoid analyzing tagged IAM roles and users when building or changing an analyzer. Make sure your exclusion strategy is in line with your company’s security rules and compliance standards by reviewing it on a regular basis.

See Customize the scope of IAM Access Analyzer underused access analysis for a more thorough explanation of this procedure, complete with detailed instructions and real-world examples.

Regular clean-up of IAM roles and users

Review and eliminate unneeded IAM users and roles on a regular basis. Eliminating unwanted roles and users can help lower the cost of unused access results since IAM Access Analyzer’s unused access analysis costs are dependent on the quantity of roles and users examined. Additionally, this is an IAM security recommended practice.

Monitor and adjust

To monitor your IAM Access Analyzer’s unused access analysis expenses, set up AWS Budgets or AWS Cost Anomaly Detection. Set up notifications for when expenses surpass predetermined limits. Unexpected cost rises may be promptly identified and addressed by employing the proactive method.

Getting started with IAM

You can safely manage who has access to your account resources and Amazon Web Services (AWS) with the aid of AWS Identity and Access Management (IAM). IAM can also protect the privacy of your login information. IAM is not something you sign up for expressly. IAM can be used for free.

IAM lets users and roles access account resources. For instance, you may use AWS IAM Identity Centre to create users in AWS or you can utilize IAM with current users in your corporate directory that you maintain outside of AWS. Federated identities access the resources they require by assuming certain IAM responsibilities.

Conclusion

By identifying unnecessary IAM roles, unused access keys for IAM users, unused passwords for IAM users, and underused services and activities for active IAM roles and users, IAM Access Analyzer is a useful tool for enhancing the security posture of your company. Based on those results, you may take action to help your quest for least privilege access. You may optimise benefits while controlling expenses by comprehending the billing model and putting these cost optimisation techniques into practice. Keep in mind that cost optimisation is a continuous procedure. Review your usage frequently, and if your demands change, modify your approach.

You can also read New developments in Access Risk, Cloud Governance And IAM

Thank you for your Interest in Cloud Computing. Please Reply

Discover more from Cloud Computing

Subscribe now to keep reading and get access to the full archive.

Continue reading