Project
Serverless Portfolio
Overview
Automated CI/CD using GitHub Actions and CloudFormation to deploy
a static frontend on S3 + CloudFront with OAC.
Serverless backend: API Gateway -> Lambda
-> DynamoDB powering a visitor counter.
Observability: centralised CloudWatch logs + SNS
alerts for incidents.
1. Architecture
The architecture ensures global performance, scalability, and secure delivery: CloudFront accelerates static content, Route 53 provides custom domain management, and DynamoDB + Lambda handle dynamic traffic tracking.
2. High-Level Diagram
This overview shows the core AWS services used, grouped by their role in the solution.
4. Workflow
A GitHub Actions pipeline automates deployments, reducing manual errors and ensuring production consistency which are key practices for enterprise-scale cloud operations.
5. Counter
Visitor counter:
Powered by Lambda + DynamoDB
A lightweight serverless app demonstrates event-driven design, showing how Lambda + DynamoDB integrate seamlessly for real-time features.
6. Lessons Learned
- Built CI/CD pipeline to automatically deploy and validate stacks, reducing manual deployment time from hours to minutes.
- Diagnosed complex IAM policy issues, striking the right balance between automation and security whilst reducing failures.
- Improved observability by centralising logs in CloudWatch and adding SNS alerts to reduce Mean Time To Detect.
7. Links
My Other Projects
Terraform, GitHub Actions CI/CD + DynamoDB State Locking + S3, CloudFront, Route 53 hosting & delivery.
AWS CDK + CloudFormation + GitHub Actions CI/CD = VPC, EC2, IAM, S3, Centralised CloudWatch + SNS.