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 réponse
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
EXPERT
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions