Week 5 Worklog

Week 5 Objectives:

  • Manage application secrets securely with AWS Secrets Manager and AWS KMS.
  • Define and provision AWS resources as code with AWS CloudFormation.
  • Build and test application source code with AWS CodeBuild.
  • Automate build and deployment workflows with AWS CodePipeline.
  • Build a CI/CD pipeline for the serverless application developed in Week 4.

Tasks to be carried out this week:

DayTaskStart DateCompletion DateReference Material
1Study AWS Secrets Manager and AWS KMS
- Learn how to store database credentials, API keys, and application secrets securely.
- Create and retrieve a secret using IAM permissions.
- Learn encryption at rest with AWS KMS.
- Replace hard-coded credentials with runtime secret retrieval.
18/05/202618/05/2026AWS Secrets Manager
AWS KMS
AWS Workshop 000096
AWS Workshop 000033
2Study AWS CloudFormation
- Learn Templates, Stacks, Parameters, Outputs, Resources, and Change Sets.
- Write a basic YAML template.
- Deploy and update AWS resources through a CloudFormation Stack.
- Delete the Stack and review resource cleanup.
19/05/202619/05/2026AWS CloudFormation
How CloudFormation works
AWS CloudFormation Workshop
3Study AWS CodeBuild
- Learn build projects, source configuration, environment, build phases, and artifacts.
- Create a buildspec.yml file.
- Run build and test commands.
- Review build logs and generated artifacts.
20/05/202620/05/2026AWS CodeBuild
Build commands
AWS Workshop 000023
4Study AWS CodePipeline
- Learn Source, Build, Deploy, Stage, Action, and Pipeline concepts.
- Connect a source repository to CodePipeline.
- Add CodeBuild as a build stage.
- Review pipeline execution and failure handling.
21/05/202621/05/2026AWS CodePipeline
CodeBuild with CodePipeline
AWS Workshop 000023
5Perform a CI/CD Hands-on Lab
- Build a pipeline for API Gateway → Lambda → DynamoDB.
- Use CodeBuild to validate the source code.
- Use CloudFormation to provision or update resources.
- Store sensitive configuration in Secrets Manager.
- Verify deployment through API requests and CloudWatch Logs.
- Clean up temporary resources after the lab.
22/05/202622/05/2026AWS CodePipeline
AWS Serverless Workshops

Week 5 Achievements:

  • Stored and retrieved application secrets securely using AWS Secrets Manager and understood the role of AWS KMS.
  • Created a CloudFormation template and deployed AWS resources through a Stack.
  • Configured AWS CodeBuild to run build and test commands and produce artifacts.
  • Created an AWS CodePipeline with source and build stages.
  • Completed a CI/CD Hands-on Lab for a serverless application using API Gateway, Lambda, DynamoDB, CloudFormation, CodeBuild, and CodePipeline.
  • Practiced reviewing build logs, deployment results, IAM permissions, and resource cleanup.