Week 12 Worklog

OBJECTIVES IN WEEK 12:

  • Migrate the RAG system from development to AWS infrastructure using native services (RDS PostgreSQL + pgvector, Amazon Bedrock).
  • Apply Infrastructure as Code (IaC) with Terraform to deploy RAG infrastructure automatically and consistently.
  • Master Cost and Governance skills through advanced IAM Policies (Region limits, Instance Type limits).
  • Setup comprehensive monitoring: Network layer (VPC Flow Logs), Application layer (Grafana), and AWS Service layer (CloudWatch).

TASKS OF WEEK 12:

DayTaskStart DateEnd DateReferences
Mon- Team Project Meeting: Backend Development - RAG system (combined hybrid search engine and LLM):
- Research best practices for AWS services serving RAG system
- Proceed to migrate RAG system to AWS
30/03/202630/03/2026RDS PostgreSQL
pgvector
Postgres Full Text
Claude 3.5 Haiku
Claude 3.5 Sonnet
Tue- Practice Lab 30: Cost and Resource Governance with IAM on AWS
+ Preparation
* Create IAM Group
* Create IAM user
+ Limit by Region
* Create limit policy
* Attach policy to group
* Check policy effectiveness
+ Limit by EC2 family
* Create limit policy
* Attach policy to group
* Check policy effectiveness
+ Limit by instance size
* Update limit policy
* Check policy effectiveness
+ Limit by EBS volume
* Create limit policy
* Attach policy to group
* Check policy effectiveness
+ Resource Cleanup
31/03/202631/03/2026Lab 30 Intro
Limit Region
Limit Family
Limit Size
Wed- Practice Lab 31: Monitor Network Infrastructure with VPC Flow Logs
+ Introduction
+ Preparation Steps
+ Enable VPC Flow Logs
+ Monitor Network Infrastructure
+ Resource Cleanup
- Practice Lab 32: Getting Started with Grafana on AWS
+ Introduction
+ Preparation Steps
* Create VPC and subnet
* Create Security Group
* Create EC2 Instance
* Create IAM User
* Create IAM Role
* Attach IAM Role
+ Install Grafana
+ Monitor with Grafana
+ Resource Cleanup
01/04/202601/04/2026Lab 31 Intro
VPC Flow Logs
Lab 32 Intro
Install Grafana
Thu- Team Project Meeting: Backend Development - RAG system (combined hybrid search engine and LLM):
- Complete RAG system migration to AWS with Infrastructure as Code using Terraform
02/04/202602/04/2026Terraform AWS Provider
Terraform CI/CD AWS
Terraform Tutorial
Fri- Practice Lab 33: AWS CloudWatch Workshop
+ Introduction
+ Preparation Steps
+ CloudWatch Metric
* Viewing Metrics
* Search expressions
* Math expressions
* Dynamic Labels
+ CloudWatch Logs
* CloudWatch Logs
* CloudWatch Logs Insights
* CloudWatch Metric Filter
+ CloudWatch Alarms
+ CloudWatch Dashboards
+ Resource Cleanup
03/04/202603/04/2026Lab 33 Intro
Metrics
Logs
Alarms

ACHIEVEMENTS IN WEEK 12:

  1. Successfully migrated the RAG system to AWS, utilizing RDS PostgreSQL (pgvector) as the Vector Database and Amazon Bedrock (Claude Models) as the LLM.
  2. Automated RAG Backend infrastructure deployment using Terraform, ensuring consistency and scalability.
  3. Established strict IAM policies to control resource creation, prevent budget overruns (Cost Control), and ensure security.
  4. Built a multi-layer monitoring system: Tracking network traffic with VPC Flow Logs and visualizing Application Metrics on Grafana/CloudWatch Dashboards.