Route a small percentage of traffic (say 5%) to the new version while the majority continues hitting the old version. Monitor error rates and latency for the canary. If everything looks good, gradually increase the percentage. If problems appear, route all traffic back to the old version.