DEV Community

aitoken-hub
aitoken-hub

Posted on

Scaling My Indie SaaS to 100k Users on Cheap Alibaba and Tencent Servers

When my indie SaaS hit 100,000 active users last year, my friends expected me to be celebrating. Instead, I was staring at a projected $800/month infrastructure bill from a major Western cloud provider. I was a solo developer, not a VC-backed startup with a massive runway. I needed a way to scale my application without burning through my personal savings. That’s when I pivoted my entire backend architecture to Alibaba Cloud and Tencent Cloud. Today, I’m sharing the exact blueprint I used to support high-traffic workloads on a shoestring budget.

The Architecture Context

The secret to scaling cheaply isn't just about finding the lowest price tag; it's about matching the right server tier to the right workload. In my experience, most indie devs over-provision. They put their database, backend API, and caching layer on one massive, expensive instance.

I broke my app into decoupled components and distributed them across highly optimized, low-cost promotional tiers. By separating my static edge caching from my core database, I was able to utilize the cheapest possible compute for the heavy lifting and reserve slightly beefier (but still cheap) instances for persistent storage.

The Server Lineup: A Cost Comparison

Both Alibaba and Tencent offer incredibly aggressive pricing for developers, especially if you know which specific tiers to target. Here is a breakdown of the configurations I used and highly recommend for an indie stack:

Provider Instance Type Specs Price (CNY / USD) Key Benefit
Alibaba Cloud Lightweight Server 2C2G / 40G ESSD / 200M peak ¥38/year (~$5.3) Massive bandwidth for edge/caching
Alibaba Cloud ECS Economic-e 2C2G / 3M bandwidth ¥99/year (~$13.8) Same renewal price locked through 2029
Tencent Cloud Lightweight Server 2C2G / Base config ¥38/year (~$5.3) Buy 1 year, get 3 months free
Tencent Cloud Standard Instance 2C2G / 4M bandwidth ¥99/year (~$13.8) Same-price renewal protection
Tencent Cloud Standard Instance 2C4G / Base config ¥188/year (~$26.2) Extra RAM for database workloads
Tencent Cloud New-User Promo 4C4G / Base config ¥109/year (~$15.2) High compute for background workers

For edge nodes and caching, I heavily relied on the lightweight servers. The Alibaba Cloud Lightweight Server 2C2G/40G ESSD/200M peak is an absolute steal at ¥38/year (~$5.3/year). You just have to catch their flash sales, which happen daily at 10:00 & 15:00 Beijing time. On the Tencent side, their Tencent Cloud Lightweight Server from ¥38/year (~$5.3/year) is equally great, and they currently have a "buy 1 year get 3 months free" perk.

For the core application and database, renewal price shocks are the real killer for indie hackers. This is where the Alibaba Cloud ECS Economic-e 2C2G 3M at ¥99/year (~$13.8/year) shines, featuring the same renewal price locked through 2029. Tencent offers a similar lifeline with their Tencent Cloud 2C2G 4M at ¥99/year (~$13.8/year) with same-price renewal. If you need a bit more RAM for your database, the Tencent Cloud 2C4G starting at ¥188/year (~$26.2/year) is the sweet spot.

Finally, for staging environments or background workers, never pay full price. The Tencent Cloud new-user 4C4G from ¥109/year (~$15.2/year) is perfect for this. Just keep in mind as a matter of capacity planning that the Tencent Cloud promotion ends October 12, 2026.

Where to Get These Deals

If you want to grab these specific configurations for your own projects, you can find them directly on the official portals. For Alibaba, check out the Alibaba Cloud official deal page here: https://www.aliyun.com/minisite/goods?userCode=tzlh4rrj. For Tencent, you can browse the Tencent Cloud official deal page here: https://cloud.tencent.com/act/cps/redirect?redirect=1003&cps_key=U4Wwh5F3y1uS8pJz.

Disclaimer: Prices as shown on official activity pages may vary by region and time.

My Recommendations for Indie Devs

If you are looking to replicate this stack, here is my battle-tested blueprint:

  1. Start with Lightweight servers for edge routing: Use the 200M peak bandwidth instances purely for Nginx reverse proxying, SSL termination, and serving static assets. This keeps heavy traffic off your core app server.
  2. Lock in your renewal rates early: The biggest trap in cloud computing is the year-two price hike. Always prioritize the "same-price renewal" ECS instances for your primary database and backend API so your costs remain predictable through 2029.
  3. Use new-user deals for asynchronous workers: Don't put your main API on a new-user promo, as those accounts eventually age out. Instead, use the 4C4G new-user instances to run background job queues, cron jobs, or staging environments.
  4. Implement aggressive caching: Cheap servers have limited CPU. Use Redis or Memcached aggressively to ensure your database isn't doing unnecessary work, keeping your 2C2G instances running cool and fast.

Conclusion

Scaling an indie SaaS to 100k users shouldn't require a venture capital fund just to keep the servers online. By thinking critically about your architecture and leveraging the highly competitive promotional tiers from Alibaba Cloud and Tencent Cloud, you can build a resilient, high-traffic application for less than the cost of a few cups of coffee a month. Focus on writing great code, optimizing your queries, and let the infrastructure costs take a backseat.

Top comments (0)