# manicharan0485/cloud-infrastructure-aws-azure architecture

> Architecture diagram of the GitHub repository manicharan0485/cloud-infrastructure-aws-azure, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/manicharan0485/cloud-infrastructure-aws-azure
- Repository: https://github.com/manicharan0485/cloud-infrastructure-aws-azure

## Overview

This reference project provides separate Terraform configurations for provisioning AWS and Azure infrastructure, plus a Jenkins pipeline template. The documented user workflow is to choose a cloud configuration and run Terraform init, plan, and apply; the README lists the resources each configuration covers. The pipeline is a separate capability: the available documentation does not show it invoking Terraform or connecting it to either cloud configuration. No source excerpts were provided, so relationships below rely on README statements only.

Main entry points: [`terraform/aws/main.tf`](https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/terraform/aws/main.tf) (AWS Terraform stack), [`terraform/azure/main.tf`](https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/terraform/azure/main.tf) (Azure Terraform stack)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_aws["AWS infrastructure"]
  node_aws_config["AWS Terraform stack<br/>[main.tf]"]
  node_aws_resources["EC2, VPC, S3, RDS, IAM<br/>[main.tf]"]
end

subgraph group_azure["Azure infrastructure"]
  node_azure_config["Azure Terraform stack<br/>[main.tf]"]
  node_azure_resources["Vault, VM, networking<br/>[main.tf]"]
end

subgraph group_delivery["Pipeline template"]
  node_jenkins_pipeline["Jenkins pipeline template"]
end

node_engineer(("Infrastructure engineer"))
node_aws_cloud{{"AWS"}}
node_azure_cloud{{"Microsoft Azure"}}

node_engineer -->|"runs Terraform"| node_aws_config
node_aws_config -->|"defines resources"| node_aws_resources
node_aws_config -->|"provisions on"| node_aws_cloud
node_engineer -->|"runs Terraform"| node_azure_config
node_azure_config -->|"defines resources"| node_azure_resources
node_azure_config -->|"provisions on"| node_azure_cloud

click node_aws_config "https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/terraform/aws/main.tf"
click node_aws_resources "https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/terraform/aws/main.tf"
click node_azure_config "https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/terraform/azure/main.tf"
click node_azure_resources "https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/terraform/azure/main.tf"
click node_jenkins_pipeline "https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/pipelines/jenkins_pipeline.groovy"

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_aws_config,node_aws_resources toneBlue
class node_azure_config,node_azure_resources toneAmber
class node_jenkins_pipeline toneMint
class node_engineer,node_aws_cloud,node_azure_cloud toneIndigo
```

## Components

### AWS infrastructure

- [AWS Terraform stack](https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/terraform/aws/main.tf): `terraform/aws/main.tf`
- [EC2, VPC, S3, RDS, IAM](https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/terraform/aws/main.tf): `terraform/aws/main.tf`

### Azure infrastructure

- [Azure Terraform stack](https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/terraform/azure/main.tf): `terraform/azure/main.tf`
- [Vault, VM, networking](https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/terraform/azure/main.tf): `terraform/azure/main.tf`

### Pipeline template

- [Jenkins pipeline template](https://github.com/manicharan0485/cloud-infrastructure-aws-azure/blob/main/pipelines/jenkins_pipeline.groovy): `pipelines/jenkins_pipeline.groovy`

### Other components

- **Infrastructure engineer**
- **AWS**
- **Microsoft Azure**

## Connections

- Infrastructure engineer → AWS Terraform stack: runs Terraform (evidence: `README.md`)
- AWS Terraform stack → EC2, VPC, S3, RDS, IAM: defines resources (evidence: `README.md`)
- AWS Terraform stack → AWS: provisions on (evidence: `README.md`)
- Infrastructure engineer → Azure Terraform stack: runs Terraform (evidence: `README.md`)
- Azure Terraform stack → Vault, VM, networking: defines resources (evidence: `README.md`)
- Azure Terraform stack → Microsoft Azure: provisions on (evidence: `README.md`)
