Coupang Johnson Li Jul 14, 2022

Improving the CI/CD pipeline for mobile app development

M2 Related OWASP risk: Inadequate Supply Chain Security Learn more →

Article Summary

Johnson Li from Coupang reveals how migrating from Mac minis to AWS EC2 transformed their mobile CI/CD pipeline. Their team was drowning in 3,000+ daily builds with 1-hour wait times.

Coupang's mobile engineering team rebuilt their entire CI/CD infrastructure to support rapid feature development across global teams. The article details their migration from physical Mac mini servers to AWS, covering six major technical improvements that dramatically reduced build times and costs.

Key Takeaways

Critical Insight

Coupang saved 5% of collaboration time across 18 teams while cutting costs and scaling to support multiple product lines beyond their core e-commerce app.

The team shares specific auto-scaling formulas and monitoring metrics they use to maintain pipeline health at scale.

About This Article

Problem

Coupang's CI/CD pipeline used fixed physical Mac mini servers that couldn't keep up with demand. Hundreds of developers needed to download large codebases daily, and the system had no way to scale automatically.

Solution

The team switched to AWS EC2 macOS instances and set up Git reference repositories as local mirrors on build machines. This let engineers pull only the code they needed instead of downloading the entire repository every time they built.

Impact

New build agents now take 2 hours to set up instead of much longer. The system can support any new product in 2 man-days, and they eliminated the security risk of connecting office machines directly to production.