diff --git a/assets/week1/aws-architecture-diagram.html b/assets/week1/aws-architecture-diagram.html new file mode 100644 index 0000000..082b653 --- /dev/null +++ b/assets/week1/aws-architecture-diagram.html @@ -0,0 +1,229 @@ + + + + + + AWS Architecture Diagram + + + +
+
🏗️ AWS Architecture Diagram
+ +
+
📍 AWS REGION (eu-west-1)
+ +
+
🔒 VPC (10.0.0.0/16)
+ +
+ +
+
🌐 Public Subnet (AZ-a)
+
+ ⚖️ + Application Load Balancer +
+
+ 🌉 + NAT Gateway +
+
+ +
↓ HTTPS (443)
+ + +
+
🔐 Private Subnet (AZ-a)
+
+ 📦 + ECS Cluster (3 EC2 nodes) +
+
+ 🐳 + Microservices (Containers) +
+
+ 🗂️ + ECR for images (central) +
+
+ +
↓ Private Network
+ + +
+
🔐 Private Subnet (AZ-b)
+
+ 💾 + Amazon RDS (MySQL, Multi-AZ) +
+
+ + Automated Backups (14 days) +
+
+ +
+ + +
+ 🪣 + Amazon S3
+ Images, logs, backups, versioning & replication +
+ +
+ + +
+ 📊 + Observability Stack
+ • Prometheus & Grafana
+ • CloudWatch / X-Ray +
+ +
+ + +
+ 🔧 + Jenkins (EC2 instance)
+ • Build & Push to ECR
+ • Deploy to ECS Cluster +
+
+
+ +
+ 🎯 Environments: STAGING / PRODUCTION
+ (Each has 3 ECS nodes, same structure) +
+
+
+ + \ No newline at end of file diff --git a/assets/week1/aws-architecture-diagram.png b/assets/week1/aws-architecture-diagram.png new file mode 100644 index 0000000..a47a7d2 Binary files /dev/null and b/assets/week1/aws-architecture-diagram.png differ diff --git a/week1.md b/week1.md index 0f5ebf5..f6b5030 100644 --- a/week1.md +++ b/week1.md @@ -69,7 +69,7 @@ This project will migrate the Spring PetClinic Microservices demo from its local |----|----|----| | **Developers** | Continuous Integration | Each merge must trigger automated build, test, and image creation. | | | Local to Cloud Parity | Development environment must mirror AWS setup. | -| **DevOps Engineers** | Automated Deployment | CI/CD pipeline must deploy microservices to Dev, Staging, and Prod environments automatically. | +| **DevOps Engineers** | Automated Deployment | CI/CD pipeline must deploy microservices to Staging and Prod environments automatically. | | | Test Automation | Integration tests must run automatically in CI/CD pipeline. | || Infrastructure as Code | All AWS resources defined through configuration files | | | Monitoring & Alerts | Centralized logging, metrics, and tracing for all microservices. Automated alerting for service downtime or threshold breaches. | @@ -128,7 +128,7 @@ This project will migrate the Spring PetClinic Microservices demo from its local |----|----| | **Cloud Architect** | Design AWS target architecture, network, and IAM structure | | **DevOps Engineer** | Build CI/CD pipelines, container orchestration, monitoring setup | -| **Dev Lead** | Containerize services, modify configs for cloud compatibility | +| **Dev Lead** | Containerize services, modify configs for cloud compatibility | | **Database Engineer** | Migrate data from local RDBMS to AWS RDS, manage schema updates | | **Security Team** | Set up access and roles for services | | **Everyone** | Validate deployments, pipeline runs, rollback testing | @@ -299,3 +299,22 @@ This project will migrate the Spring PetClinic Microservices demo from its local | | | Prioritize restoring RDS, Config Server, and API Gateway. | | **Disaster Recovery Plan** | Cold standby in alternate region | No live duplication to save cost.| | | | Periodic replication of backups and images to secondary region. | + +## Architecture Diagram +

+ Main Menu +

+ +## Solutions stack + +| **Layer** | **Technologies / Services** | +|----|----| +| **Application Layer** | Spring Boot microservices | +| **Runtime / Platform Layer** | Docker, Amazon ECS, Amazon ECR | +| **CI/CD Layer** | Jenkins, Gitea | +| **Infrastructure Layer** | Terraform, Ansible, Amazon EC2 (for Jenkins), VPC, subnets, security groups | +| **Database / Storage Layer** | Amazon RDS (MySQL), Amazon S3, Amazon EBS | +| **Observability Layer** | Prometheus, Grafana, CloudWatch | +| **Security Layer** | AWS IAM, Security Groups, HTTPS via ALB, Secrets Manager | +| **Continuity & Recovery Layer** | RDS automated snapshots, S3 versioning/replication, multi-AZ RDS, Terraform for redeploy | +| **Network & Delivery Layer** | Application Load Balancer (ALB), Route 53 (DNS), NAT Gateway, Internet Gateway |