Week 4 Worklog

Objectives of Week 4

  • Initialize infrastructure using Terraform.
  • Set up core networking components on AWS.
  • Prepare the foundation for application deployment.

Tasks Completed During the Week

DayTaskStart DateEnd DateReferences
1- Initialize Terraform
  + Configure S3 bucket as remote backend
  + Set up DynamoDB for state locking
30/03/202630/03/2026Terraform Remote State, DynamoDB Lock
2- Set up Amazon VPC
  + Create Public and Private Subnets across multiple Availability Zones
  + Configure Internet Gateway for public access
31/03/202631/03/2026VPC Subnets Guide, Internet Gateways
3- Configure security
  + Create Security Groups for ALB, ECS, and RDS
  + Apply least privilege principle
01/04/202601/04/2026Security Group Best Practices, ECS Security
4- Initialize container services
  + Create repository on Amazon ECR
  + Configure basic ECS Cluster
02/04/202602/04/2026ECR Repository Guide, ECS Cluster Setup
5- Set up load balancing
  + Configure Application Load Balancer (ALB)
  + Create Target Group for backend service
03/04/202603/04/2026ALB Target Groups, ALB Listeners
6- Configure VPC Endpoints
  + Interface Endpoints for ECR and CloudWatch
  + Ensure internal traffic does not go through the Internet
04/04/202604/04/2026AWS PrivateLink (Interface Endpoints), ECR VPC Endpoints
7- Infrastructure validation
  + Verify connectivity between subnets
  + Test internal access via VPC Endpoints
05/04/202605/04/2026-

Weekly Achievements

  • Core networking infrastructure (VPC) was successfully established with clear Public/Private segmentation.
  • Terraform was fully utilized to manage infrastructure as code.
  • Foundational services such as ECR, ECS, and ALB were ready for deployment.

Challenges & Lessons Learned

  • Challenge: Designing VPC and configuring routing rules was initially complex.
  • Solution: Follow AWS best practices and validate each component step-by-step.
  • Lesson Learned: A well-designed infrastructure foundation significantly reduces future scalability and maintenance issues.

Plan for Next Week

  • Deploy backend application to ECS Fargate.
  • Integrate user authentication using Amazon Cognito.
  • Connect frontend with backend APIs.