1、 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.A R C 3 3 6-RErik KarulfFrank StoneArchitecting reliable deployments:As blue/green patternsHe/HimS
2、r.Principal EngineerAHe/HimPrincipal Solutions ArchitectAmazon Web Services 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Blue/Green AmazonLegacy systemFailureA different approachUsing AWS building blocksThe new systemAgenda 2025,Amazon Web Services,Inc.or its affiliates.All rig
3、hts reserved.Weblab is an internal Amazon system used for online experiments since 2003.-60k+users-Measures 1000s of business and behavioral metrics-Thousands of experiments world-wideOnline testing at Amazon Scale 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Weblab was extende
4、d beyond A/B testing to support full service or region testing and switch over.Advantages:-Zero downtime-Simple rollbacks-Reduced risk-Easier A/B testingBlue/Green Deployments 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Central database Distributed front-endRegional architectu
5、reAPI called to get experimentsClassic 3-Tier architecture 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Lift and shift to AWSOracle to RDS PostgreSQL backendHorizontally scaled frontendsThe application grew but so did tech debt 2025,Amazon Web Services,Inc.or its affiliates.All
6、 rights reserved.2 hours and 40 minutesCaused by a client Cache overload that led into cascading failureJune 9,2017Weblab failure 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Cache was a weak pointAssumed traffic patterns cant shiftPeriodic design reviews are neededWhat we lear