ぶろぐ

日記です

CannotStartContainerError: Error response from daemon: failed to initialize logging driver: failed to create Cloudwatch log stream: ResourceNotFoundException: The specified log group does not exist. status code: 400, request id: xxx


  • タスクロール ecsTaskExecutionRole はCloudwatchLogsのグループを作成する権限がないっぽい
    • こういうのが出る CannotStartContainerError: Error response from daemon: failed to initialize logging driver: failed to create Cloudwatch log stream: ResourceNotFoundException: The specified log group does not exist. status code: 400, request id:
    • 初回だけ手動で作ればOK
  • 起動タイプをEC2にした場合、自分でEC2を起動してクラスタにjoinさせる手順が必要

いろいろ知らなくてハマったのでメモ