Amazon interview question

Design a solution for a zero-downtime app and database deployment.