awslabs / aws-saas-boost

AWS SaaS Boost is a ready-to-use toolset that removes the complexity of successfully running SaaS workloads in the AWS cloud.
Apache License 2.0
957 stars 188 forks source link

onboarding status still appears as deploying without any issues showing in codepipeline #471

Closed qwudssd closed 1 year ago

qwudssd commented 1 year ago
Screen Shot 2023-01-30 at 10 46 56 AM Screen Shot 2023-01-30 at 10 47 12 AM
PoeppingT commented 1 year ago

Hi @qwudssd , it's possible your ECS cluster has never actually successfully started, due to some startup error in the container software. If that were the case CodePipeline would show that the deployment to ECS did successfully complete (meaning the ECS cluster is now using the new version of your container), but ECS may be continually restarting the container either due to errors or due to failed health checks.

You can check the ECS cluster logs by going to CloudWatch in your AWS Console, selecting LogGroup on the left, and finding the LogGroup(s) titled /ecs/sb-${environment}-*. If there is an obvious error there, ECS will destroy those containers when they exit and continually try to create new ones.

If there is no obvious error, it is also possible you misconfigured your health check endpoint for that SaaS Boost service. To check this go to ECS in your AWS Console, click into your ECS cluster, and inspect your services to understand which might be going wrong. I would draw your attention in particular to the Logs and Deployments and Events tabs to get some more information about what might be happening.

qwudssd commented 1 year ago

okay, i see. Thank you!