CL·92
Cloud Projects
Eight build-it-yourself projects that move the tiffin centre onto a real cloud account safely and cheaply: a guarded landing zone, a VPC as code, the application on serverless containers, storage with protection and lifecycle, identity without static keys, a cost and observability baseline, a disaster-recovery drill, and a Well-Architected review with fixes, each with milestones, measurable definitions of done and stretch goals.
How to approach the projects
One account, built up safely
The labs in this volume used an emulator, Linux networking and published numbers. These projects use a real cloud account (AWS is assumed below; every project has an Azure and Google Cloud equivalent), so they start with guard rails and a budget. Use infrastructure as code for everything (CDK, Terraform/OpenTofu or Bicep), keep it in Git, and destroy what you aren't using.
| # | Project | Main chapters | Roughly |
|---|---|---|---|
| 1 | A guarded landing zone with a budget | 85, 89 | a weekend |
| 2 | A VPC as code, with endpoints instead of NAT | 87 | 1 week |
| 3 | The application on serverless containers | 86, 90 | 1 week |
| 4 | Storage with protection, lifecycle and encryption | 88 | 1 week |
| 5 | Identity without static keys | 89 | 1 week |
| 6 | Observability and cost baseline | 85, 86, 91 | 1 week |
| 7 | A disaster-recovery drill | 85, 88, 91 | 1–2 weeks |
| 8 | A Well-Architected review and remediation | 91 | 1 week |
New to the cloud? Do them in order. Experienced? Skim 1–2 and treat the stretch goals of 3–8 as the assignment.
The working method
- Budget first: set a budget with alerts at 50%, 80% and 100% before creating anything; prefer free-tier and small sizes; tag every resource with
projectandowner. - Everything as code, reviewed in pull requests, with policy-as-code checks in CI.
- Measure: latency, error rates, costs and recovery times are recorded, not assumed.
- Destroy and recreate: being able to rebuild an environment from Git is part of every definition of done.
- Write a README per project with decisions, costs and measurements.
The eight projects
Project 1: a guarded landing zone
Goal. A small multi-account setup that is safe to experiment in.
Milestones. An AWS Organization (or Azure management groups, GCP folders) with management, security/logging and workload accounts → SSO for your own access (no IAM users) with MFA → an organisation CloudTrail to a locked log bucket → SCPs: region restriction to your chosen regions, deny disabling CloudTrail/GuardDuty, deny leaving the organisation, deny root user actions → budgets and cost anomaly detection → GuardDuty and Security Hub (or Defender/Security Command Center).
Done when. No IAM user or access key exists anywhere; an attempt to create a resource in a non-approved region is denied by the SCP; deleting the CloudTrail trail is denied even for an account administrator; a budget alert email arrives when you deliberately exceed a $1 test budget.
Stretch. Control Tower or a Terraform-based landing zone with account vending; a break-glass procedure tested once.
Project 2: a VPC as code
Goal. A production-shaped network that's cheap to run.
Milestones. Address plan from a central range → VPC with public and isolated/private subnets in three AZs → gateway endpoints for S3 and DynamoDB, interface endpoints for ECR, CloudWatch Logs and Secrets Manager → VPC Flow Logs to the log account → a decision on NAT (none, one, or per AZ) documented with costs.
Done when. A task in an isolated subnet can pull its image and write logs without any NAT gateway; flow logs show rejected connections from an intentional test; terraform plan (or cdk diff) is clean after a destroy-and-recreate; the monthly network cost estimate is written down and matches the bill within 20%.
Stretch. IPv6 dual-stack subnets with an egress-only gateway; a second VPC connected through a Transit Gateway or VPC Lattice.
Project 3: the application on serverless containers
Goal. The tiffin service running on ECS Fargate (or Cloud Run/Container Apps) behind HTTPS.
Milestones. Image built, scanned and pushed to a private registry by CI → service with two tasks across AZs, health checks, autoscaling on CPU and on request count → HTTPS load balancer with a certificate and HTTP→HTTPS redirect → PostgreSQL (RDS Multi-AZ or Aurora Serverless) with encryption, deletion protection and IAM authentication or secret rotation → a queue with DLQ for order processing → CDN for static assets.
Done when. A load test at 200 req/s keeps p99 under 300 ms; a rolling deploy under load has 0 errors; scaling from 2 to 6 tasks happens within 3 minutes of load rising; cdk-nag/Checkov reports no unsuppressed findings.
Stretch. The same service on Lambda behind API Gateway, with a measured cost and latency comparison at three traffic levels.
Project 4: storage with protection
Goal. Buckets and volumes that survive mistakes.
Milestones. Buckets with Block Public Access, versioning, default encryption with a customer-managed KMS key, TLS-only bucket policies → lifecycle rules (transition, noncurrent expiry, abort incomplete multipart uploads) → Object Lock on the backup bucket → cross-region replication for critical data → EBS/RDS snapshot policies with AWS Backup.
Done when. A script that deletes every object in the main bucket can be fully undone; the backup bucket refuses deletion before its retention period, even for an administrator; the 12-month storage cost forecast with lifecycle is under half the no-lifecycle cost; restoring yesterday's database snapshot to a new instance takes a measured, documented time.
Stretch. S3 Event Notifications to a function that scans uploads; S3 Tables or Iceberg for analytics data.
Project 5: identity without static keys
Goal. Every person and workload uses short-lived, least-privilege credentials.
Milestones. Permission sets for developer, operator and read-only roles → task roles per service with grant-generated policies → GitHub Actions (or GitLab) OIDC roles pinned to repository and branch → permissions boundaries for roles developers can create → IAM Access Analyzer for unused access and external access findings.
Done when. The credential report shows zero access keys; a workflow from a fork or a feature branch cannot assume the deploy role; Access Analyzer has no unresolved external-access findings; every role's policy was generated or refined from observed activity.
Stretch. Attribute-based access control with tags; temporary elevated access with approvals; an incident drill rotating a "leaked" credential.
Project 6: observability and cost baseline
Goal. You can see how the system behaves and what it costs.
Milestones. Structured logs with request IDs → metrics and dashboards for the four golden signals → traces with OpenTelemetry to X-Ray (or Cloud Trace/App Insights) → SLOs with burn-rate alarms → cost allocation tags, a cost dashboard per service, and rightsizing recommendations reviewed.
Done when. A deliberately injected 5% error rate pages within 10 minutes via a burn-rate alarm and not before; any request can be followed from the load balancer log to the database query in the trace; the monthly cost is broken down by service and environment, and one rightsizing change saved a measured amount.
Stretch. Savings Plan analysis with a recommendation and payback period; carbon footprint report reviewed.
Project 7: a disaster-recovery drill
Goal. Prove you can recover from losing a zone and a region.
Milestones. Choose RTO/RPO per component → zone failure test (stop a zone's tasks, fail over the database) → pilot-light second region: replicated data, IaC ready, DNS failover with health checks → runbook → timed drill.
Done when. A zone failure under load causes under 1 minute of elevated errors; a regional failover drill completes within your stated RTO with measured RPO; the runbook was followed by someone other than its author.
Stretch. AWS Fault Injection Service experiments in CI; Application Recovery Controller readiness checks; cell-based isolation of customers.
Project 8: a Well-Architected review
Goal. A documented review of your system with remediation.
Milestones. Answer the Well-Architected Tool questions for all six pillars → collect evidence from projects 1–7 → record high and medium risks → prioritise and fix the top five → re-review.
Done when. The review report lists every risk with an owner and a decision; high risks are zero or have dated plans; the before/after comparison is in the README with costs.
Stretch. Run the same review on Azure's or Google Cloud's framework and compare what each emphasises.
Tracking your progress
Portfolio checklist
Keep one repository with IaC, CI pipelines, runbooks, review reports and a README per project. Cloud evidence combines safety, behaviour and money: "zero static keys; SCP denied non-approved regions; 0 errors across rolling deploys at 200 req/s; zone loss → 40 s of elevated errors; regional failover in 22 min with 3 s RPO; lifecycle halved storage cost; network $X/month with no NAT" is what makes a cloud portfolio credible.
Mapping to mastery levels
Completing projects 1–3 with their checks puts you at L2 across the volume. Doing their stretch goals and explaining every setting you changed is L3–L4. Designing and defending projects 4–8 (data protection, identity strategy, observability and cost, DR, reviews) is L5 work, the level cloud architect and platform interviews probe.