admin管理员组文章数量:1384263
I'm working on updating an old AWS Amplify application that was last updated around 4–5 years ago. The app originally had two branches with their own backends: prod and dev.
Recently, I attempted to deploy a small change to dev, but the deployment failed. This led to a rollback failure loop because it attempted to revert to unsupported versions (e.g., Lambda using Node.js 12.x). To resolve this, I created a brand-new branch and incrementally updated it to modern versions. Now, this new branch is stable and up to date.
I want to bring these updates into production without breaking the existing prod environment or causing rollback issues if something goes wrong.
Potential Approaches I'm Considering:
- (If possible) Reconfigure the new stable environment to use the existing production backend, then re-route DNS.
- Migrate production resources (S3, DynamoDB, Cognito) to the new environment and then re-route DNS.
- Merge the changes into prod and hope it does not get stuck rolling back (which I know isn't ideal). Before proceeding, I'd like to know:
What is the best practice for deploying these updates safely? Are there better approaches to avoid downtime and rollback issues? Thanks in advance for any insights!
本文标签: amazon web servicesUpgrading production environment in AWS AmplifyStack Overflow
版权声明:本文标题:amazon web services - Upgrading production environment in AWS Amplify - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744510416a2609846.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论