# sumit-sharma05/aws-boto3-lab architecture

> Architecture diagram of the GitHub repository sumit-sharma05/aws-boto3-lab, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sumit-sharma05/aws-boto3-lab
- Repository: https://github.com/sumit-sharma05/aws-boto3-lab

## Overview

AWS Boto3 Lab is a collection of standalone Python examples for managing AWS resources, not a single orchestrated application. The user runs an example, which makes a direct Boto3 request to AWS and prints the response or a status message. The graph groups the documented service capabilities and shows selected direct AWS calls visible in excerpts. Most scripts are independent; unsampled scripts are represented by their existing directories, and their specific AWS interactions are left unverified.

Main entry points: [`monitoring`](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/monitoring) (Metrics and alarms), [`ec2`](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/ec2) (EC2 instances), [`vpc`](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/vpc) (VPC resources), [`iam`](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/iam) (IAM management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_compute["Compute and Network"]
  node_ec2_ops["EC2 instances"]
  node_vpc_ops["VPC resources"]
end

subgraph group_identity["Identity and Account"]
  node_iam_ops["IAM management"]
  node_account_ops["Account utilities"]
end

subgraph group_storage["Storage and Databases"]
  node_s3_ops["S3 buckets and files"]
  node_rds_ops["RDS databases"]
  node_ebs_ops["EBS snapshots"]
end

subgraph group_operations["Monitoring and Serverless"]
  node_cloudwatch_ops["Metrics and alarms"]
  node_lambda_ops["Lambda functions"]
end

subgraph group_scaling["Scaling"]
  node_autoscaling_ops["Auto Scaling groups"]
end

node_user(("AWS learner"))
node_aws_ec2["AWS EC2"]
node_aws_vpc["AWS VPC"]
node_aws_iam["AWS IAM"]
node_aws_sts["AWS STS"]
node_aws_s3["AWS S3"]
node_aws_rds["AWS RDS"]
node_aws_cloudwatch["AWS CloudWatch"]
node_aws_sns["AWS SNS"]
node_aws_lambda["AWS Lambda"]
node_aws_autoscaling["AWS Auto Scaling"]

node_user -->|"runs examples"| node_ec2_ops
node_user -->|"runs examples"| node_vpc_ops
node_user -->|"runs examples"| node_iam_ops
node_user -->|"runs examples"| node_account_ops
node_user -->|"runs examples"| node_s3_ops
node_user -->|"runs examples"| node_rds_ops
node_user -->|"runs examples"| node_ebs_ops
node_user -->|"runs examples"| node_cloudwatch_ops
node_user -->|"runs examples"| node_lambda_ops
node_user -->|"runs examples"| node_autoscaling_ops
node_ec2_ops -->|"creates instance"| node_aws_ec2
node_ec2_ops -->|"adds tags"| node_aws_ec2
node_vpc_ops -->|"creates group"| node_aws_vpc
node_iam_ops -->|"creates role"| node_aws_iam
node_account_ops -->|"gets identity"| node_aws_sts
node_s3_ops -->|"uploads file"| node_aws_s3
node_rds_ops -->|"lists databases"| node_aws_rds
node_ebs_ops -->|"creates snapshot"| node_aws_ec2
node_cloudwatch_ops -->|"creates alarm"| node_aws_cloudwatch
node_cloudwatch_ops -->|"gets metrics"| node_aws_cloudwatch
node_cloudwatch_ops -.->|"uses topics"| node_aws_sns
node_lambda_ops -->|"invokes function"| node_aws_lambda
node_autoscaling_ops -->|"lists groups"| node_aws_autoscaling

click node_ec2_ops "https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/ec2"
click node_vpc_ops "https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/vpc"
click node_iam_ops "https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/iam"
click node_account_ops "https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/utilities"
click node_s3_ops "https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/s3"
click node_rds_ops "https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/rds"
click node_ebs_ops "https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/snapshots"
click node_cloudwatch_ops "https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/monitoring"
click node_lambda_ops "https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/lambda"
click node_autoscaling_ops "https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/autoscaling"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_ec2_ops,node_vpc_ops toneBlue
class node_iam_ops,node_account_ops toneAmber
class node_s3_ops,node_rds_ops,node_ebs_ops toneMint
class node_cloudwatch_ops,node_lambda_ops toneRose
class node_autoscaling_ops,node_user,node_aws_ec2,node_aws_vpc,node_aws_iam,node_aws_sts,node_aws_s3,node_aws_rds,node_aws_cloudwatch,node_aws_sns,node_aws_lambda,node_aws_autoscaling toneIndigo
```

## Components

### Compute and Network

- [EC2 instances](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/ec2): `ec2`
- [VPC resources](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/vpc): `vpc`

### Identity and Account

- [IAM management](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/iam): `iam`
- [Account utilities](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/utilities): `utilities`

### Storage and Databases

- [S3 buckets and files](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/s3): `s3`
- [RDS databases](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/rds): `rds`
- [EBS snapshots](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/snapshots): `snapshots`

### Monitoring and Serverless

- [Metrics and alarms](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/monitoring): `monitoring`
- [Lambda functions](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/lambda): `lambda`

### Scaling

- [Auto Scaling groups](https://github.com/sumit-sharma05/aws-boto3-lab/tree/main/autoscaling): `autoscaling`

### Other components

- **AWS learner**
- **AWS EC2**
- **AWS VPC**
- **AWS IAM**
- **AWS STS**
- **AWS S3**
- **AWS RDS**
- **AWS CloudWatch**
- **AWS SNS**
- **AWS Lambda**
- **AWS Auto Scaling**

## Connections

- AWS learner → EC2 instances: runs examples (evidence: `README.md`)
- AWS learner → VPC resources: runs examples (evidence: `README.md`)
- AWS learner → IAM management: runs examples (evidence: `README.md`)
- AWS learner → Account utilities: runs examples (evidence: `README.md`)
- AWS learner → S3 buckets and files: runs examples (evidence: `README.md`)
- AWS learner → RDS databases: runs examples (evidence: `README.md`)
- AWS learner → EBS snapshots: runs examples (evidence: `README.md`)
- AWS learner → Metrics and alarms: runs examples (evidence: `README.md`)
- AWS learner → Lambda functions: runs examples (evidence: `README.md`)
- AWS learner → Auto Scaling groups: runs examples (evidence: `README.md`)
- EC2 instances → AWS EC2: creates instance (evidence: `ec2/create_instance.py`)
- EC2 instances → AWS EC2: adds tags (evidence: `ec2/tag_instance.py`)
- VPC resources → AWS VPC: creates group (evidence: `vpc/create_security_group.py`)
- IAM management → AWS IAM: creates role (evidence: `iam/create_role.py`)
- Account utilities → AWS STS: gets identity (evidence: `utilities/aws_account_info.py`)
- S3 buckets and files → AWS S3: uploads file (evidence: `s3/upload_file.py`)
- RDS databases → AWS RDS: lists databases (evidence: `rds/list_databases.py`)
- EBS snapshots → AWS EC2: creates snapshot (evidence: `snapshots/create_ebs_snapshot.py`)
- Metrics and alarms → AWS CloudWatch: creates alarm (evidence: `monitoring/create_cpu_alarm.py`)
- Metrics and alarms → AWS CloudWatch: gets metrics (evidence: `monitoring/get_cpu_metrics.py`)
- Metrics and alarms → AWS SNS: uses topics
- Lambda functions → AWS Lambda: invokes function (evidence: `lambda/invoke_function.py`)
- Auto Scaling groups → AWS Auto Scaling: lists groups (evidence: `autoscaling/list_groups.py`)
