docker-curriculum
docker-curriculum copied to clipboard
Had to manually create log group in CloudWatch
Great tutorial, thanks for putting it together!
I was under the impression that the log group defined in the aws-ecs/docker-compose.yml file awslogs-group: foodtrucks
would be automatically created but that turned out not to be the case. I had to manually create the log group by going to:
AWS > CloudWatch > Logs > Log Groups > Create log group (I named it foodtrucks per the docker-compose.yml definition)
after which running ecs-cli compose up
succeeded without any errors. Perhaps you can make that clearer in the tutorial (unless I missed that instruction, in which case, my bad!)?
I've learnt so much about Docker and will be using it to deploy my apps for a startup that I'm getting off the ground. Thanks!
Thanks @bibliolibs I had the same issue and that solved it. I see there's a pull request to solve that #275
Thanks for pointing out pull request #275 @fernandorb8, option 3 simplifies the creation of the log group and is a much better solution.
I had this issue as well, still in the middle of trying to get it working.