Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.35 KB

File metadata and controls

49 lines (35 loc) · 1.35 KB

AWS IAM & Security Project

This project demonstrates AWS Identity and Access Management (IAM) best practices using Terraform and the AWS CLI.

Objective

Create IAM users, groups, and policies following the principle of least privilege.

Architecture

  • IAM User: dev-user
  • IAM Group: developers-group
  • Custom IAM Policy: EC2 read-only access
  • Terraform used for Infrastructure as Code

Steps Performed

  1. Created IAM group for developers
  2. Created IAM user and added to group
  3. Defined a least-privilege IAM policy
  4. Attached policy to IAM group
  5. Documented configuration using Terraform and AWS CLI

Terraform

  • Provider: AWS
  • Region: us-east-1
  • Files:
    • terraform/main.tf

CLI Commands

See cli-commands/iam-cli.txt for AWS CLI commands used to create IAM resources.

Security Principles Demonstrated

  • Least privilege access
  • Group-based permission management
  • Custom IAM policies
  • Infrastructure as Code for security

⚠️ Note: Terraform and CLI commands are provided for demonstration purposes and were not applied to avoid unintended IAM changes.

Screenshots

The following screenshots provide visual proof of IAM configuration:

  • IAM users list showing dev-user
  • IAM groups list showing developers-group
  • Custom EC2 read-only IAM policy
  • Policy attached to IAM group

Screenshots are available in the screenshots/ folder.