Week 10 Worklog

Week 10 Objectives:

  • Complete the initialization and deployment steps for the chatbot infrastructure.
  • Integrate necessary AWS services for the system (CDK, Lambda, DynamoDB, Cognito, CloudFront, etc.).

Tasks to be carried out this week:

DayTaskStart dateCompletion dateReference Material
2- Deploy messenger webhook on Meta Developers
- Start phase 1 of chatbot deployment using CDK
10/11/202510/11/2025
3- Test deploying local DB to sample chatbot on GitHub
- Test Vietnamese prompts and bot responses
- Some prompts OK, some time out (investigating cause)
11/11/202511/11/2025
4- Revise architecture, connect admin Lambda directly to DynamoDB in RAG
- Implement initial infrastructure and admin code
12/11/202512/11/2025
5- Finalize frontend hosting on S3 via CloudFront + Route 53
- Set up Cognito for Admin
13/11/202513/11/2025
6- Research automating frontend deployment with CDK (S3 upload module)
- Modify VPC stack
- Explore Amplify JS vs AWS Amplify service
- Issue with Glue Catalog & Lambda in VPC
- Add Lambda outside VPC to invoke Glue Catalog/Crawler via API Gateway
14/11/202514/11/2025

Week 10 Achievements:

  • Started phase 1 of the chatbot using CDK.
  • Tested deploying local DB to the sample chatbot and evaluated bot behavior with Vietnamese prompts.
  • Analyzed timeout issues and hypothesized cause as bot misinterpreting the DB.
  • Revised architecture and added direct connection from admin Lambda to DynamoDB.
  • Completed the frontend via S3 + CloudFront + Route 53 and configured Cognito.
  • Researched automating frontend deployment with CDK.
  • Adjusted the VPC stack and clarified how Amplify JS differs from the AWS Amplify service.
  • Solved the Glue Catalog issue by adding a Lambda outside the VPC to invoke it via API Gateway.
  • Added a Lambda to trigger Glue Crawler when a user sends a request.