Company
Date Published
Author
Ryan Neal
Word count
2447
Language
English
Hacker News points
4

Summary

Netlify's platform team has successfully migrated their origin services between cloud providers, Google Cloud (GCP), AWS, and Rackspace, without any service interruptions. This multi-cloud migration was planned and tested to ensure minimal latency and uptime. The team used a tool called "cloud bench" to check the performance of uploads to different cloud storages, and implemented automatic fallbacks for data replication between providers. They also built a Go service that could inspect an existing blob, figure out where it needed to push it to, actually push it, and record its progress. The system is now flexible enough to handle recovering quickly, with traffic redirected internally by updating service configurations. The team tested the full migration, sending a small trickle of production traffic to verify that nothing was being dropped or stalled. They successfully completed the cutover on a Sunday night when Netlify sees its lowest traffic levels, and are now able to swap between cloud providers without any user impact.