
Cloud
Learning Level
# AWS EC2 - CPU optimized
aws ec2 describe-instance-types \
--filters "Name=instance-type,Values=c6i.*" \
--query 'InstanceTypes[*].[InstanceType,VCpuInfo.DefaultVCpus,MemoryInfo.SizeInMiB]'
# GCP - Machine types comparison
gcloud compute machine-types list --filter="zone:us-central1-a"
# Azure - SKU information
az vm list-skus --location eastus --query "[].name" -o tsvReserved Instances (AWS/Azure)
1-year commitment: ~40% discount
3-year commitment: ~60% discount
Ideal for: Baseline workloadsSustained Use Discounts (GCP)
Automatic discounts after 25% monthly usage
No upfront commitment
Ideal for: Variable workloadsSpot/Preemptible Instances
AWS Spot: ~70% discount, can be interrupted
GCP Preemptible: ~80% discount, 30min max lifetime
Azure Spot: ~90% discount
Use case: Batch processing, non-critical workloads Control | Management | Cost | Serverless
AWS EC2 10/10 | 1/10 | 6/10 | N/A
AWS ECS 8/10 | 5/10 | 7/10 | N/A
AWS Lambda 3/10 | 10/10 | 8/10 | 9/10
GCP CE 10/10 | 1/10 | 7/10 | N/A
GCP Cloud Run 4/10 | 10/10 | 9/10 | 10/10
GCP GKE 8/10 | 7/10 | 6/10 | N/A
Azure VMs 10/10 | 2/10 | 5/10 | N/A
Azure AKS 8/10 | 7/10 | 5/10 | N/A
Azure Functions 2/10 | 10/10 | 8/10 | 9/10
Firebase FCN 2/10 | 10/10 | 8/10 | 9/10Containerization
Infrastructure as Code
# Terraform works across all providers
resource "aws_instance" "example" {
ami = "ami-0c55b159cbfafe1f0"
instance_type = "t3.micro"
}
resource "google_compute_instance" "example" {
name = "test"
machine_type = "e2-micro"
zone = "us-central1-a"
}
resource "azurerm_virtual_machine" "example" {
name = "test-vm"
location = "East US"
resource_group_name = azurerm_resource_group.example.name
vm_size = "Standard_B1s"
}AWS:
GCP:
Azure:
AWS Graviton: ARM-based, 20% cheaper
GCP N2: Memory optimized, lower cost
Azure Ev3: Memory intensive workloadsAWS Auto Scaling Group
aws autoscaling create-auto-scaling-group \
--auto-scaling-group-name my-asg \
--launch-configuration my-lc \
--min-size 1 \
--max-size 10 \
--desired-capacity 3 \
--load-balancer-names my-lbGCP Instance Group
gcloud compute instance-groups managed create my-group \
--template=my-template \
--size=3 \
--zone=us-central1-aAzure VMSS
az vmss create \
--resource-group myResourceGroup \
--name myScaleSet \
--image UbuntuLTS \
--admin-username azureuserCompute Cost = Hourly Rate Ć Hours Ć Discount
Storage Cost = GB Ć Replication Factor Ć Region Premium
Network Cost = GB Transfer Ć Direction (In/Out)
Support Cost = Varies by tier (all offer free tier)AWS Cost Explorer
Tagging strategy ā Cost center allocation
Reserved capacity planning ā 40-60% savingsGCP Billing Export
BigQuery export ā Custom cost analysis
Anomaly detection ā Alert on unexpected chargesAzure Cost Management
Budget alerts ā Prevent overspend
Reservation optimization ā Automated recommendationsActive-Active
Active-Passive
Backups and Recovery
AWS: Snapshots ā AMI ā Deploy
GCP: Images ā Instances ā Verify
Azure: Managed Images ā VM ā TestAWS CloudWatch
GCP Cloud Monitoring
Azure Monitor
Firebase Performance Monitoring
Startup (Cost Sensitive)
ā GCP Cloud Run + Cloud Storage + Firestore
Enterprise (Control Important)
ā AWS EKS + EC2 + RDS
Microsoft Ecosystem
ā Azure App Service + SQL Database + Functions
Real-time Applications
ā Firebase Cloud Functions + Realtime Database
Complex Microservices
ā Platform-agnostic: Kubernetes (EKS/GKE/AKS)
Final Thought: The best cloud is the one that solves your specific problem at the lowest cost with minimal operational burden.
Resources
Ojasa Mirai
Master AI-powered development skills through structured learning, real projects, and verified credentials. Whether you're upskilling your team or launching your career, we deliver the skills companies actually need.
Learn Deep ⢠Build Real ⢠Verify Skills ⢠Launch Forward