Troubleshooting: Deployment Errors

You may see a Fargate deployment error, similar to the following:

      "type": "FARGATE_DEPLOY_ERROR",
      "message": "Service could not reach steady state; rolled back to previous version. Please check runtime logs."

Diagnosing the Problem

There are a few different places to check on the AWS side to diagnose this error. In order of what might be a clue to the problem, try these steps.

  1. Go to the Elastic Container Service (ECS) service in the AWS Console and check the list of tasks see if there are any recent stopped instances. If there are, check what caused the instance to stop in the instance's log.
  2. Next, check the events tab under the service for any errors
  3. Last, check the service's health check URL to make sure it is configured correctly and responding properly.