
Cloud
Cloud pricing follows a "pay-as-you-go" model, but costs vary dramatically based on what you use and how you configure resources.
Example: 1 VM running 24/7 for a month
= 24 hours × 30 days × $0.10/hour = $72/monthExample: 1 TB (1,000 GB) in object storage
= 1,000 GB × $0.023/GB = $23/monthExample: 100 GB transferred out monthly
= 100 GB × $0.10 = $10/monthSmall Web Application (10,000 users):
| Component | Cost |
|---|---|
| 2 VMs (web servers) | $150 |
| Cloud SQL Database | $75 |
| Storage (10 GB) | $2 |
| Data transfer (50 GB) | $5 |
| Monitoring & other | $10 |
| Total | $242/month |
With serverless instead:
| Component | Cost |
|---|---|
| Cloud Functions | $10 |
| Cloud Database | $20 |
| Storage (10 GB) | $2 |
| Data transfer | $2 |
| Total | $34/month |
Commit to 1-3 years of usage → 30-70% discount
Pay-as-you-go: $100/month × 12 = $1,200/year
Reserved 1-year: $60/month × 12 = $720/year (40% savings)Scale up during peak hours, down during off-hours
Peak (8am-8pm): 10 servers
Off-peak (8pm-8am): 2 servers
Cost savings: 60%Use temporary instances at 70-90% discount (can be stopped anytime)
Regular instance: $0.10/hour
Spot instance: $0.03/hour (70% savings)
Perfect for batch processing, non-critical workloadsUse appropriate size (not oversized)
Oversized: 64GB RAM VM = $0.30/hour
Right-sized: 4GB RAM VM = $0.02/hour
Same performance, 15x cheaperStartup Growing from 0 to 1 Million Users:
| Users | Workload | Monthly Cost | Strategy |
|---|---|---|---|
| 0-10k | Simple app | $100-200 | Serverless, small DB |
| 10k-100k | Growing | $500-1,000 | Containers, auto-scaling |
| 100k-1M | Large scale | $3,000-10,000 | Reserved instances, optimization |
Key insight: Cost per user decreases as you scale (economies of scale).
Most cloud providers offer free tier:
Perfect for learning and development.
Want advanced cost analysis? 💰 Cost Estimation (Experienced)
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