Wix's DB Infrastructure team migrated over 1,000 MySQL servers across 160+ clusters from Intel-based EC2 instances to AWS Graviton CPUs in just one month — three times faster than the planned timeline — with zero downtime. The migration also involved moving from EOL CentOS 7 to Amazon Linux 2023. The team automated the entire process using AWX (Ansible) and Wix's Internal Developer Platform, breaking the workflow into modular building blocks that emulated DBA manual steps. A 'no rollback' policy backed by automated health checks kept momentum high. Results included a ~15% reduction in MySQL compute costs, up to ~50% reduction in CPU utilization, 500 fewer total cores used, and significant reductions in IOPS and disk throughput. Key lessons: avoid over-engineering the design phase, look for optimization opportunities within migration projects, and leverage cross-team collaboration between DBAs, DevOps, and developers.

7m read timeFrom wix.engineering
Post cover image
Table of contents
The ChallengeSo, how did we do it?The ResultsThat’s nice - but what did we learn from the project?

Sort: