Is there a way to roll back if there is a health check error after the service is normally deployed to ecs?

0

I deployed the web server through codedeploy.

The distribution process showed the result that it was normal.

However, after deployment, an error occurred in the health check of the load balancer.

The cause is that the web server is up, but the db connection is not connected, so the page does not appear, causing a health check error.

In this case, my ecs instance went down and up.

When I looked it up, it seemed that I could use a function called Deployment failure detection, but the function of the Amazon ECS deployment circuit breaker seemed useless if the service went up normally.

However, using cloudwatch alarms seemed appropriate for the situation I encountered.

I want to know if what I'm thinking is correct.

沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南