Blue/Green deployment on AWS ECS with RDS, and rollback

0

In theory, blue/green deployment method allows easy rollback. As usual, things are more complicated in practice, especially due to DB migrations. I reviewed the recently announced RDS blue/green deployment. And, as far as I understand, it's not exactly usable for my software deployment, it's more about DB engine upgrades, DB parameters customization, and so on. Why? Mostly because of two things:

  1. No rollback - DB replication is one-way - from the current to the new DB environment
  2. No coordination with ECS deploy - ideally I'd like my green ECS instances to use a green DB environment.

Am I right or I'm missed something - and there is a simple way to use ECS and RDS backend for testing new application versions?

Thanks, Vitaly

1回答
1

It is best to have a static point for updates that affect the database.
Then you can restore the RDS from the snapshot and test it from a green environment with different settings and different versions.
Updating the database with application updates without providing a static point is very risky.

profile picture
エキスパート
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ