This guide compares different deployment options for Aman ga?, including Alibaba Cloud.
For Testing/POC: Use Mock Mode (Free, no external services)
For Production: Use this stack (Total: ~$15-25/month):
| Service | Free Tier | Paid Start | Best For | Difficulty |
|---|---|---|---|---|
| Vercel | ✅ Yes | $20/mo | Frontend | ⭐ Easy |
| Railway | ❌ Trial | $5/mo | Backend | ⭐⭐ Medium |
| Render | ✅ Yes | $7/mo | Backend | ⭐⭐ Medium |
| Supabase | ✅ 500MB | $25/mo | Database | ⭐ Easy |
| Alibaba Cloud | ✅ Trial | Pay-as-you-go | Full Stack | ⭐⭐⭐ Hard |
| AWS | ✅ 12 months | Pay-as-you-go | Enterprise | ⭐⭐⭐ Hard |
| Google Cloud | ✅ $300 credit | Pay-as-you-go | ML/AI | ⭐⭐⭐ Hard |
Frontend - Vercel (FREE)
Backend - Railway ($5/month)
Database - Supabase (FREE)
Storage - Supabase Storage (FREE)
Setup Time: 30 minutes
Yes, but with free trial and pay-as-you-go pricing.
RDS MySQL/PostgreSQL:
Alternative: Supabase on Alibaba Cloud:
Minimal Setup:
Simple Application Server: $3.50/mo
+ OSS Storage: $2.00/mo
+ Domain (optional): $1.00/mo
─────────────────────────────────────
Total: ~$6.50/mo
Production Setup:
ECS (2 vCPU, 4GB): $10.00/mo
RDS PostgreSQL: $20.00/mo
OSS Storage: $5.00/mo
SLB (Load Balancer): $15.00/mo
─────────────────────────────────────
Total: ~$50.00/mo
✅ Good performance in Asia/Indonesia ✅ Local data centers (Jakarta) ✅ Competitive pricing ✅ Free trial ($300) ✅ Pay-as-you-go flexibility
❌ More complex setup ❌ Steeper learning curve ❌ Less documentation than AWS ❌ Overkill for small POC
Yes, you can run Aman ga? for FREE!
| Service | Free Tier | Limit |
|---|---|---|
| Vercel | ✅ Free | Unlimited |
| Render | ✅ Free | 512MB RAM, limited hours |
| Supabase | ✅ Free | 500MB DB, 50K users |
| Cloudflare | ✅ Free | CDN, DNS |
Limitations:
Good for: Testing, POC, demos, learning
Local development: $0
Mock database: $0
Testing: $0
───────────────────────
Total: $0/month
Vercel (Frontend): $0
Railway (Backend): $5
Supabase (DB): $0
Domain name: $1-5
────────────────────────────
Total: ~$6-10/month
Vercel Pro: $20
Railway/Render: $10-20
Supabase Pro: $25
SendGrid: $0-15
Fonnte (WhatsApp): $10
────────────────────────────
Total: ~$65-90/month
Load balancer: $20-50
Multiple instances: $50-200
Managed database: $50-100
CDN: $10-50
Monitoring: $20-50
────────────────────────────
Total: ~$150-450/month
Use: Mock Mode (Local)
Use: Vercel + Railway + Supabase
Use: Vercel Pro + Railway + Supabase Pro
Use: Alibaba Cloud
1. Console → Simple Application Server
2. Create Server
3. Choose:
- Image: Ubuntu 22.04
- Plan: $3.50/month
- Region: Jakarta (for Indonesia)
4. Launch
# SSH into server
ssh root@your-server-ip
# Install Python
apt update
apt install python3 python3-pip
# Install Node.js
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
apt install nodejs
# Clone your repo
git clone https://github.com/Therealratoshen/aman-ga.git
cd aman-ga
cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Create .env
cat > .env << EOF
SUPABASE_URL=your-supabase-url
SUPABASE_KEY=your-key
SECRET_KEY=$(openssl rand -hex 32)
EOF
# Run with systemd
nano /etc/systemd/system/aman-ga.service
cd frontend
npm install
npm run build
# Use PM2 for process management
npm install -g pm2
pm2 start npm --name "aman-ga-frontend" -- start
apt install nginx
nano /etc/nginx/sites-available/aman-ga
# Add reverse proxy config
systemctl restart nginx
Total Setup Time: 2-3 hours
Start with Mock Mode (what we just built)
Then Deploy to Vercel + Supabase
Consider Alibaba Cloud ONLY if:
Common Questions:
Q: Can I stay on free tier forever? A: Yes! Supabase free tier supports ~50K users. Vercel free tier is unlimited for personal projects.
Q: When should I upgrade? A: When you hit limits (500MB DB, 100K requests/month) or need custom domain.
Q: Is Alibaba Cloud better than AWS? A: For Asia/Indonesia latency, yes. For ease of use, no. AWS has better documentation.
Q: Can I migrate later? A: Yes! The code is designed to be cloud-agnostic. Easy to move between providers.
Bottom Line: Start with Mock Mode, deploy to Vercel + Supabase, consider Alibaba Cloud only when you have specific needs.