10 Hands-On Cloud Computing Practice Labs: Step-by-Step Production Projects

Reading cloud architecture theory is essential, but true mastery comes from rolling up your sleeves and building real systems. Below are 10 guided, production-grade practice labs designed to be executed inside AWS, Azure, or GCP Free Tier accounts. Each project reinforces core concepts covered throughout our curriculum.

Lab 1: Host a Secure Static Website on Amazon S3 with CloudFront HTTPS

Objective: Build a highly available, globally distributed static web application with custom domain routing and sub-10ms edge caching.

  1. Create a private Amazon S3 bucket (e.g., veewom-static-web-2026) and upload index.html, style.css, and image assets.
  2. Create an Amazon CloudFront distribution with the S3 bucket set as the origin.
  3. Enable Origin Access Control (OAC) to ensure the S3 bucket blocks all direct public internet access, forcing all requests to route through CloudFront.
  4. Attach an AWS Certificate Manager (ACM) free SSL/TLS certificate to enable HTTPS encryption.
  5. Configure Route 53 with an Alias Record pointing your custom domain to the CloudFront distribution domain name.

Lab 2: Architect a Production Multi-AZ Virtual Private Cloud (VPC)

Objective: Build an isolated network topology with public and private subnets across two Availability Zones.

  1. Provision a VPC with CIDR block 10.0.0.0/16 in region us-east-1.
  2. Create two Public Subnets: 10.0.1.0/24 (AZ 1a) and 10.0.2.0/24 (AZ 1b).
  3. Create two Private Subnets: 10.0.10.0/24 (AZ 1a) and 10.0.20.0/24 (AZ 1b).
  4. Attach an Internet Gateway (IGW) and configure the public route table (0.0.0.0/0 → igw).
  5. Launch a Managed NAT Gateway in Public Subnet 1a with an Elastic IP; route private outbound traffic to it.
  6. Verify that an EC2 instance launched in the private subnet can download Ubuntu updates via NAT while remaining completely invisible to inbound internet scans.

Lab 3: Build a Serverless Event-Driven Image Thumbnail Resizer

Objective: Build an automated pipeline where uploading an image triggers an AWS Lambda function to generate thumbnails.

  1. Create two S3 buckets: veewom-raw-images and veewom-thumbnails.
  2. Write a Python 3.11 AWS Lambda function utilizing the Pillow image processing library.
  3. Attach an S3 Event Notification on the raw bucket to trigger the Lambda function on s3:ObjectCreated:* events.
  4. Configure the function to download the uploaded image, resize it to 200x200 pixels, and save it to the thumbnails bucket.
  5. Upload a 5 MB photo and watch the thumbnail appear in the secondary bucket in under 800 milliseconds!

Lab 4: Deploy a Dockerized Node.js Microservice to Google Cloud Run

Objective: Containerize a Node.js REST API and deploy it as a serverless container with auto-scale to zero.

  1. Write an Express.js API with endpoints for GET /health and GET /api/users.
  2. Create a multi-stage production Dockerfile using node:20-alpine.
  3. Build and push the image to Google Artifact Registry: gcloud builds submit --tag gcr.io/PROJECT_ID/user-service.
  4. Deploy to Cloud Run with concurrency set to 80: gcloud run deploy user-service --image gcr.io/PROJECT_ID/user-service --platform managed.
  5. Simulate traffic and observe Cloud Run scaling from 0 instances to 5 instances, then scaling cleanly back to 0 when idle.

Lab 5: Automate Cloud Infrastructure Using Terraform HCL

Objective: Provision an Application Load Balancer and Auto-Scaling EC2 fleet using declarative Terraform manifests.

  1. Configure Terraform with an S3 remote backend and DynamoDB state locking table.
  2. Write declarative HCL declaring an aws_lb, aws_lb_target_group, and aws_autoscaling_group.
  3. Run terraform plan to preview the 8 resources to be created.
  4. Execute terraform apply -auto-approve and verify that the ALB DNS name serves web requests.
  5. Run terraform destroy to tear down all resources cleanly when finished.

Lab 6: Multi-AZ Relational Database with Read Replicas (Amazon RDS)

Objective: Configure an enterprise PostgreSQL cluster with automated failover and read scaling.

  1. Create an RDS DB Subnet Group spanning two private subnets across two AZs.
  2. Launch an Amazon RDS PostgreSQL instance with Multi-AZ Deployment enabled.
  3. Create an asynchronous Read Replica in a second Availability Zone to offload analytical queries.
  4. Trigger an artificial failover via the AWS CLI: aws rds reboot-db-instance --db-instance-identifier mydb --force-failover.
  5. Observe the standby replica automatically promote to primary in under 45 seconds with zero application code changes!

Lab 7: Microservices Decoupling with SQS and SNS Fan-Out

Objective: Decouple an order processing backend by fanning out events across multiple independent queues.

  1. Create an Amazon SNS Topic named order-events.
  2. Create two Amazon SQS queues: email-service-queue and shipping-service-queue.
  3. Subscribe both SQS queues to the SNS Topic with attached SQS access policies allowing sns.amazonaws.com sends.
  4. Publish a test JSON payload to the SNS Topic and verify that both SQS queues immediately receive identical message copies.

Lab 8: Deploy a Kubernetes Application with ArgoCD GitOps

Objective: Set up declarative continuous delivery using ArgoCD inside a local Minikube or cloud Kubernetes cluster.

  1. Install ArgoCD into the argocd namespace: kubectl create namespace argocd && kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml.
  2. Create a Git repository containing Kubernetes manifests for an NGINX Deployment and Service.
  3. Create an ArgoCD Application pointing to your Git repository with automated synchronization enabled.
  4. Update the replica count in your Git repository from 2 to 5 and commit. Watch ArgoCD detect the commit and scale the cluster automatically in seconds!

Lab 9: Cloud Cost Anomaly Alarms and Budget Governance

Objective: Implement financial guardrails to eliminate cloud bill shock.

  1. Create an AWS Monthly Cost Budget with a limit of $20.00.
  2. Configure an alert notification to email your address when actual spend exceeds 80% ($16.00) or forecasted spend exceeds 100%.
  3. Activate AWS Cost Anomaly Detection with a daily summary subscriber to catch rogue compute spikes.
  4. Activate Cost Allocation Tags (Environment, Owner) in the AWS Billing Console.

Lab 10: End-to-End CI/CD Pipeline with GitHub Actions

Objective: Build a production CI/CD workflow that tests code, builds a container, and updates infrastructure automatically.

  1. Create a GitHub repository with a Python FastAPI web backend.
  2. Write a GitHub Actions workflow in .github/workflows/deploy.yml.
  3. Configure PyTest unit test runs on every pull request.
  4. Configure OpenID Connect (OIDC) authentication to assume an AWS IAM role without storing permanent secret keys.
  5. Build and push the Docker image to Amazon ECR upon merge to main, triggering a rolling deployment.

Frequently Asked Questions (FAQ) - Student & Interview Review

Q1. Will these practice labs incur charges on my credit card?

All 10 practice labs are specifically designed to run within the free tiers of AWS, Azure, and Google Cloud. However, remember to run cleanup commands (e.g., 'terraform destroy' or deleting test EC2 instances and NAT gateways) after finishing your practice to avoid minor ongoing charges.

Q2. What is the single most expensive component in practice labs?

AWS NAT Gateways cost ~$0.045 per hour plus data transfer fees (~$32/month if left running continuously). When practicing VPC networking labs, always delete the NAT Gateway when you are finished for the day!

Explore Related Cloud Computing Tutorials & Next Steps

Broaden your enterprise cloud architecture and DevOps expertise across our curriculum:

Cloud Computing Tutorial Master Guide

Review complete syllabus, theory, architectural models, and prerequisites for practical lab drills.

120+ Cloud Computing Interview Questions

Transform hands-on project experience into winning answers during technical cloud job interviews.

BCA & University Viva Voce Exam Guide

Academic viva questions and lab examination drills designed for BCA and Computer Science students.

Cloud Master Cheat Sheet & CLI

Quick CLI syntax reference for AWS CLI, Azure CLI, gcloud, and Terraform commands.

Share Share on Facebook Share on Twitter Share on LinkedIn Pin on Pinterest Share on Reddit

You may also like this!