A three-tier application on AWS, with infrastructure as code, Kubernetes workloads, automated releases, and operational monitoring. My work covers the architecture, implementation, security controls, and recovery validation.
Case study by Sajidul Islam · DevOps & Cloud Engineer
Role
Solo: design, build, operate
Scope
Infrastructure, delivery & operations
Core stack
AWS · Terraform · Kubernetes · GitHub Actions
Outcome
Reviewed against AWS Well-Architected
AI-generated concept illustrationThree application tiers: the web frontend connects to the backend API, which works with persistent database storage. The implementation details follow below.
Overview
Repeatable infrastructure. Controlled releases.
I designed and operated the infrastructure for a web frontend, a backend API and a database, covering networking, application delivery, persistent storage, and monitoring.
The implementation makes changes reviewable and repeatable through Terraform modules, Kubernetes manifests, CI/CD pipelines, and security gates. Recovery tests and an architecture review document how the system behaves under failure and where operational costs matter.
Engineering requirements and implemented solutions
Concern
Requirement
Implementation
Infrastructure
Repeatable provisioning
Terraform-provisioned VPC
Runtime
Scalable workloads
Kubernetes with autoscaling
Releases
Controlled releases
Pipeline with Snyk and k6 gates
Visibility
Operational visibility
Prometheus, Grafana, Zabbix, CloudWatch
Recovery
Automatic recovery
Health checks and self-healing
Secrets
Centralized secrets
HashiCorp Vault
Experience in practice
Explore theengineering.
Select an area to see my contribution, the implementation, and the result. The board highlights the tools and components used in that work.
Repeatable deployments with a rollback path and visibility into application health.
Implementation
Automated the application release workflow with GitHub Actions, configured CI secrets and rollback handling, and connected Prometheus and Grafana for CPU, memory, and request-latency monitoring.
Result
Replaced manual SSH-and-restart releases with an automated pipeline.
Reviewable infrastructure changes and automatic replacement of unhealthy instances.
Implementation
Defined the VPC, public and private subnets, load balancer, and backend Auto Scaling Group in reusable Terraform code. Configured S3 remote state, DynamoDB locking, and blue/green releases.
Result
Validated instance recovery and protected shared state against concurrent applies.
Containerized services with ingress, autoscaling, and persistent database storage.
Implementation
Packaged all three tiers with Docker and Docker Compose. Deployed the stack to Kubernetes with Ingress, Horizontal Pod Autoscaling, and a StatefulSet-backed database, and connected CI/CD to the cluster.
Result
Verified that the database retained its data through a pod restart.
Security and performance checks in the release workflow, supported by metrics and logs.
Implementation
Integrated Snyk scanning and k6 load tests into CI/CD. Moved pipeline secrets into Vault and configured Zabbix and CloudWatch alongside Prometheus and Grafana to compare operational visibility.
Result
Releases are gated by vulnerability scans and load tests; pipeline secrets use centralized storage.
An end-to-end assessment of the platform’s architecture and operating costs.
Implementation
Reviewed the Terraform infrastructure, Kubernetes application, delivery pipeline, and monitoring against the AWS Well-Architected Framework. Assessed billing, savings plans, S3 storage classes, and recovery considerations.
Result
Documented architecture findings, cost considerations, and operational fixes in the case study.
GitHub Actions builds the application, runs Snyk vulnerability scans and k6 load tests, and deploys to Kubernetes. Prometheus and Grafana provide visibility after release.
COMMIT → RELEASE → OBSERVE
01 · Commit
Git & GitHub
Branches, pull requests, forking workflow
source control
02 · Build
GitHub Actions
Workflows, runners and CI secrets
build
03 · Scan
Snyk
Every push checked for vulnerabilities
security gate
04 · Load test
k6
Performance regressions caught early
performance gate
05 · Deploy
Kubernetes
Pipeline deploys straight to the cluster
release
06 · Observe
Prometheus & Grafana
Metrics, dashboards and alerting
feedback
Operational findings
Reliability, recovery,and resolution.
Documented incidents, resilience tests, and architecture findings, with the response and operational practice behind each one.
INC-01 · AccessResolved
SSH access disrupted during hardening
What happened
SSH configuration changes interrupted access while I was tightening EC2 security groups.
Outcome
Restored access and completed the Nginx deployment with a custom domain and HTTPS via Certbot.
Practice
Harden one layer at a time, and keep a way back in while you do it.
INC-02 · TerraformResolved
Concurrent Terraform apply risk
What happened
Came close to applying the same plan from two terminals at the same time.
Fix
Added Terraform state locking with DynamoDB on top of the S3 remote state.
Practice
Use shared state locking to prevent concurrent infrastructure changes.
INC-03 · AvailabilitySelf-healed
Auto Scaling recovery validation
What happened
Terminated a backend instance to test Auto Scaling health checks and replacement behavior.
Outcome
Health checks detected the failed instance and the group restored capacity with a healthy replacement.
Practice
Self-healing only counts once you’ve actually tested it.
INC-04 · StorageNo data lost
The database pod restarted
What happened
Validated database behavior through a pod restart on Kubernetes.
Outcome
The database retained its data after the pod restarted, using the StatefulSet and its Persistent Volume.
Practice
Validate persistent storage and data retention when running stateful workloads.
INC-05 · SecretsResolved
Secrets living in CI variables
What happened
Pipeline secrets were stored as CI variables.
Fix
Moved pipeline secrets into HashiCorp Vault.
Practice
Centralize secret storage and control how deployment workflows access credentials.
INC-06 · CostReviewed
AWS architecture and cost assessment
What happened
Reviewed resource costs alongside reliability and security in the platform architecture.
Fix
Worked through billing, savings plans and S3 storage classes, then reviewed the stack against the Well-Architected Framework.
Practice
Cost is part of the architecture.
Keep exploring
Want the tooling detail?
Explore the technical capabilities behind the platform and the implementation notes that explain the key decisions.