Pipeline deploy causing temporal 503 on services? #5482
-
Hi there, been deploying with a new pipeline my 5 services now on testing, but I have seen that while they are being deployed I got a 503 service temporarily unavailable, in particular in the 3rd stage of the pipeline (1. source, 2. build, 3. deploy). Is this intended? I thought the purpose of the pipelines was to have zero downtime? or Im wrong in this? By the way, I havent seen this if I use from command line the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hello @tyoc213 👋🏼! This is not intended nor expected. It is also peculiar that it behaves differently in pipeline and from the cli. Both he pipeline and the cli send update request to CloudFormation, which then triggers update to the ECS / App Runner service. By the time CloudFormation accepts the update request, everything should be the same whether the request originates from the pipeline or from the cli 🤔 . A few questions:
|
Beta Was this translation helpful? Give feedback.
-
@tyoc213 👋 Here are few examples mentioned in the doc below on how different percentages of minimumHealth and maximum health takes effect on time taken for deployment of the service. https://docs.aws.amazon.com/AmazonECS/latest/bestpracticesguide/service-options.html |
Beta Was this translation helpful? Give feedback.
As @Lou1415926 already asked about this whether the deployment is
default
orrecreate
in your service manifest. Can you confirm on this.Because if the deployment is
recreate
stop all the old tasks and launch new tasks.